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

{
  "context": "This criteria evaluates the engineer's ability to use the xxhash package's digest() method to obtain binary hash representations and their understanding of big-endian byte ordering. The focus is on correctly extracting raw bytes from hash objects and properly handling byte order conversions.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Hash object creation",
      "description": "Uses xxhash.xxh64() or xxhash.xxh3_64() to create a hash object for computing 64-bit hashes",
      "max_score": 15
    },
    {
      "name": "digest() method usage",
      "description": "Correctly calls the digest() method on the hash object to retrieve the raw binary bytes (not hexdigest() or intdigest())",
      "max_score": 25
    },
    {
      "name": "Big-endian understanding",
      "description": "Demonstrates understanding that digest() returns bytes in big-endian format (either through comments, correct conversion logic, or proper byte order handling)",
      "max_score": 20
    },
    {
      "name": "Byte order conversion",
      "description": "Implements correct byte reversal to convert between big-endian and little-endian representations (e.g., using [::-1] slice notation or bytes reversal)",
      "max_score": 25
    },
    {
      "name": "Binary comparison",
      "description": "Correctly compares binary digests after appropriate byte order conversions, handling bytes-to-hex or hex-to-bytes conversions as needed",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-xxhash

tile.json