CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-xxhash

Python binding for xxHash library providing fast non-cryptographic hash algorithms

Overall
score

80%

Evaluation80%

1.03x

Agent success when using this tile

Overview
Eval results
Files

rubric.jsonevals/scenario-10/

{
  "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-xxhash

tile.json