CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-web3

A Python library for interacting with Ethereum blockchain

Overall
score

88%

Evaluation88%

1.01x

Agent success when using this tile

Overview
Eval results
Files

rubric.jsonevals/scenario-10/

{
  "context": "This evaluation assesses how effectively the engineer uses web3.py's event processing capabilities, specifically focusing on the contract event API and the configurable error handling modes for processing transaction receipt logs.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Contract instantiation",
      "description": "Creates a Web3 contract instance using web3.eth.contract() with the provided ABI to access event processing capabilities",
      "max_score": 15
    },
    {
      "name": "Event processing method",
      "description": "Uses contract.events.<EventName>().process_receipt() or contract.events.<EventName>().process_log() to decode events from the transaction receipt",
      "max_score": 25
    },
    {
      "name": "Strict mode implementation",
      "description": "Correctly implements strict error handling mode by passing errors=STRICT (or equivalent) parameter, which raises exceptions on decode failures",
      "max_score": 15
    },
    {
      "name": "Warn mode implementation",
      "description": "Correctly implements warn error handling mode by passing errors=WARN (or equivalent) parameter, which logs warnings for decode failures but continues processing",
      "max_score": 15
    },
    {
      "name": "Ignore mode implementation",
      "description": "Correctly implements ignore error handling mode by passing errors=IGNORE (or equivalent) parameter, which silently skips decode failures",
      "max_score": 10
    },
    {
      "name": "Discard mode implementation",
      "description": "Correctly implements discard error handling mode by passing errors=DISCARD (or equivalent) parameter, which filters out failed events and returns only successfully decoded ones",
      "max_score": 10
    },
    {
      "name": "Event data extraction",
      "description": "Properly extracts and structures decoded event data including event names and arguments from the processed events, utilizing web3.py's decoded event format",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-web3

tile.json