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's multiple digest output format capabilities (digest(), hexdigest(), and intdigest()) to solve a file hashing problem that requires returning hash values in three different formats.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses xxhash package",
"description": "Solution imports and uses the xxhash package (e.g., xxh64, xxh3_64, or similar) for hash computation",
"max_score": 15
},
{
"name": "digest() for bytes",
"description": "Uses the digest() method to obtain the raw binary bytes representation of the hash",
"max_score": 25
},
{
"name": "hexdigest() for hex",
"description": "Uses the hexdigest() method to obtain the hexadecimal string representation of the hash",
"max_score": 25
},
{
"name": "intdigest() for integer",
"description": "Uses the intdigest() method to obtain the integer representation of the hash",
"max_score": 25
},
{
"name": "Correct return format",
"description": "Returns a dictionary with keys 'bytes', 'hex', and 'int' containing the respective hash formats as specified in the API",
"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