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-6/

{
  "context": "Evaluates how well the solution uses py-solc-x to bring an existing system solc binary under management while meeting the spec requirements for imports, reuse, validation, and custom install roots. Scoring focuses solely on correct invocation of py-solc-x APIs and respecting their semantics for discovery, version checks, and install folder handling.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Imports via solcx",
      "description": "Calls solcx.import_installed_solc with the provided binary path or PATH discovery and uses its returned managed binary location instead of manually copying files.",
      "max_score": 30
    },
    {
      "name": "Managed path resolution",
      "description": "Derives the returned Path from solcx.get_solcx_install_folder or the import_installed_solc results so the managed path reflects py-solc-x's install structure rather than a hardcoded directory.",
      "max_score": 20
    },
    {
      "name": "Version validation",
      "description": "Uses solcx.get_version_str_from_solc_binary or solcx.get_solc_version(solc_binary=...) to parse the system binary version and raises when the version is below 0.4.11 or unparsable before importing.",
      "max_score": 20
    },
    {
      "name": "Duplicate detection",
      "description": "Checks solcx.get_installed_solc_versions (optionally with solcx_binary_path) to detect already managed versions and reuses the existing managed binary instead of importing duplicates.",
      "max_score": 15
    },
    {
      "name": "Custom install root",
      "description": "Honors SOLCX_BINARY_PATH or a passed solcx_binary_path/solcx install_root argument when calling py-solc-x helpers so imports target the requested root without modifying the default folder.",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

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

tile.json