CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-py-solc-x

Python wrapper and version management tool for the solc Solidity compiler.

77

1.06x
Quality

Pending

Does it follow best practices?

Impact

77%

1.06x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-8/

{
  "context": "Evaluates how well the solution uses py-solc-x to install and manage a specific solc binary. Emphasis is on directing installs to custom roots, wiring progress reporting, and avoiding redundant downloads while returning validated paths.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Version install",
      "description": "Calls py-solc-x’s install function (e.g., solcx.install_solc) with the requested version when it is missing and surfaces the returned compiler path.",
      "max_score": 30
    },
    {
      "name": "Custom root",
      "description": "Routes installation through py-solc-x using the solcx_binary_path/SOLCX_BINARY_PATH override so the binary is placed under the caller-provided install_root and returns the resolved path from solcx.install.get_executable.",
      "max_score": 20
    },
    {
      "name": "Reuse existing",
      "description": "Checks existing installations via solcx.get_installed_solc_versions or solcx.install.get_executable before downloading and skips install_solc when the version is already present.",
      "max_score": 20
    },
    {
      "name": "Progress hook",
      "description": "Enables py-solc-x progress output (show_progress=True) or a progress callback during downloads and forwards byte-count updates to the provided handler.",
      "max_score": 15
    },
    {
      "name": "Path validation",
      "description": "After installation, uses py-solc-x helpers (e.g., solcx.install.validate_installation or solcx.install.get_executable) to confirm the binary exists and matches the requested version.",
      "max_score": 15
    }
  ]
}

tile.json