CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-py-solc-x

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

77

1.05x

Evaluation77%

1.05x

Agent success when using this tile

Overview
Eval results
Files

rubric.jsonevals/scenario-3/

{
  "context": "Evaluation focuses on using py-solc-x to detect the active solc compiler version and to select defaults by explicit version or pragma, ensuring correct error handling when requests cannot be satisfied. Implementation quality, style, or other non-package concerns are out of scope.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Reports active",
      "description": "Uses py-solc-x's active-version query (e.g., solcx.get_solc_version() or install.get_executable() lookup) to return the currently selected compiler version rather than storing its own value.",
      "max_score": 20
    },
    {
      "name": "Sets version",
      "description": "Switches the default compiler via solcx.set_solc_version(<version>) (or equivalent) and verifies the change by re-reading the active version from the library.",
      "max_score": 25
    },
    {
      "name": "Missing version error",
      "description": "Detects unavailable versions using solcx.get_installed_solc_versions() (or the SolcNotInstalled exception) and raises/propagates an explicit error naming the requested version.",
      "max_score": 20
    },
    {
      "name": "Pragma selection",
      "description": "Selects the highest installed compiler satisfying a pragma using solcx.set_solc_version_pragma() or solcx.select_pragma_version(), and updates the default accordingly.",
      "max_score": 25
    },
    {
      "name": "Unsatisfied pragma error",
      "description": "When no installed compiler matches a pragma, surfaces the library's error (e.g., from set_solc_version_pragma/select_pragma_version) or raises an error that cites the pragma and lack of installed matches.",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-py-solc-x

tile.json