Python binding for xxHash library providing fast non-cryptographic hash algorithms
Overall
score
80%
Evaluation — 80%
↑ 1.03xAgent success when using this tile
{
"context": "This criteria evaluates how well the engineer uses the xxhash package to handle different buffer-like input types (bytes, bytearray, array.array, memoryview) when computing hash digests.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses xxhash",
"description": "Uses xxhash package to compute hashes rather than implementing a custom hash function or using other hash libraries",
"max_score": 20
},
{
"name": "Hash algorithm selection",
"description": "Uses an appropriate xxhash algorithm (xxh32, xxh64, xxh3_64, or xxh3_128) to compute 64-bit or larger hashes",
"max_score": 15
},
{
"name": "Hexdigest output",
"description": "Uses the hexdigest() method or xxh*_hexdigest() function to return hexadecimal string representation",
"max_score": 15
},
{
"name": "Handles bytes",
"description": "Correctly processes bytes objects by passing them directly to xxhash functions without unnecessary conversion",
"max_score": 10
},
{
"name": "Handles bytearray",
"description": "Correctly processes bytearray objects by passing them directly to xxhash functions without unnecessary conversion",
"max_score": 10
},
{
"name": "Handles array.array",
"description": "Correctly processes array.array objects by passing them directly to xxhash functions, potentially using conversion if needed",
"max_score": 10
},
{
"name": "Handles memoryview",
"description": "Correctly processes memoryview objects by passing them directly to xxhash functions without unnecessary conversion",
"max_score": 10
},
{
"name": "Type validation",
"description": "Validates input types and raises TypeError for unsupported input types (e.g., strings, None, numbers)",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-xxhashdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10