Python wrapper and version management tool for the solc Solidity compiler.
77
Evaluation — 77%
↑ 1.05xAgent success when using this tile
{
"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-xevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10