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-3/

{
  "context": "This criteria evaluates how well the engineer uses the xxhash package to implement file deduplication, specifically focusing on their ability to correctly select and use different hash algorithm variants (xxh32, xxh64, xxh3_128) based on the specified algorithm parameter.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "xxh32 usage",
      "description": "Uses xxhash.xxh32() or xxhash.xxh32_hexdigest() when algorithm is '32' to compute 32-bit hashes",
      "max_score": 25
    },
    {
      "name": "xxh64/xxh3_64 usage",
      "description": "Uses xxhash.xxh64() or xxhash.xxh64_hexdigest() (or xxh3_64 variants) when algorithm is '64' to compute 64-bit hashes",
      "max_score": 25
    },
    {
      "name": "xxh3_128/xxh128 usage",
      "description": "Uses xxhash.xxh3_128() or xxhash.xxh128() or their corresponding oneshot functions (xxh3_128_hexdigest/xxh128_hexdigest) when algorithm is '128' to compute 128-bit hashes",
      "max_score": 25
    },
    {
      "name": "Hexdigest method usage",
      "description": "Uses hexdigest() method or _hexdigest() oneshot functions to get hexadecimal string representation of hashes for comparison and output",
      "max_score": 15
    },
    {
      "name": "Appropriate interface selection",
      "description": "Uses either streaming interface (xxh*.update() method) for incremental file reading or oneshot functions for complete file hashing - either approach is acceptable",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-xxhash

tile.json