tessl install tessl/pypi-web3@7.13.0A Python library for interacting with Ethereum blockchain
Agent Success
Agent success rate when using this tile
88%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.01x
Baseline
Agent success rate without this tile
87%
{
"context": "This criteria evaluates the engineer's ability to use web3.py's cryptographic hashing capabilities, specifically the keccak hashing functions and ENS namehash computation. The evaluation focuses exclusively on proper usage of web3.py's hashing utilities.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses Web3.keccak",
"description": "Uses Web3.keccak() or Web3.solidity_keccak() for hashing operations in both hash_text and hash_bytes functions",
"max_score": 30
},
{
"name": "Text encoding",
"description": "Properly encodes text strings to bytes before hashing in hash_text function, using appropriate encoding method (e.g., .encode() or Web3.to_bytes())",
"max_score": 15
},
{
"name": "Hex conversion",
"description": "Uses Web3.to_hex() or similar web3.py utility to convert hash results to hexadecimal strings with '0x' prefix",
"max_score": 15
},
{
"name": "Handles bytes data",
"description": "Correctly passes raw bytes data directly to Web3.keccak() in hash_bytes function without unnecessary conversions",
"max_score": 15
},
{
"name": "ENS namehash",
"description": "Uses Web3.ens.namehash() or the ens module's namehash function for computing domain name hashes in compute_namehash function",
"max_score": 25
}
]
}