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

{
  "context": "Assesses how the solution uses py-solc-x to compile provided Solidity sources with configurable optimization, metadata hashing, revert-string handling, output selection, and optional disk output. Focus is entirely on correct use of the library's compilation flags and wiring caller options into solcx APIs.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Optimizer flags",
      "description": "Enables or disables optimization through py-solc-x (`compile_standard` settings.optimizer.enabled/runs or `compile_source` optimize/optimize_runs) using the caller-provided boolean and run count before compiling.",
      "max_score": 25
    },
    {
      "name": "Metadata hash",
      "description": "Maps the caller's metadata hash mode into the compiler (`compile_standard` settings.metadata.bytecodeHash or `compile_source` metadata_hash) so that 'ipfs'/'bzzr1'/'none' options influence the emitted bytecode.",
      "max_score": 20
    },
    {
      "name": "Revert strings",
      "description": "Propagates the requested revert-string strategy ('default'/'strip'/'debug') into the compiler call using py-solc-x (`compile_standard` settings.revertStrings or `compile_source` revert_strings) instead of custom manual stripping.",
      "max_score": 20
    },
    {
      "name": "Output selection",
      "description": "Restricts outputs via py-solc-x output selection (`compile_standard` settings.outputSelection or `compile_source` output_values) so returned artifacts include only requested ABI/bytecode entries, without extra AST/IR data.",
      "max_score": 20
    },
    {
      "name": "Output directory",
      "description": "Uses py-solc-x file emission controls (`compile_standard` or `compile_source/compile_files` output_dir plus overwrite) to write the combined JSON to the requested directory and overwrite existing files when permitted.",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

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

tile.json