CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-ulid

A universally-unique, lexicographically-sortable, identifier generator

78

1.34x
Overview
Eval results
Files

rubric.jsonevals/scenario-4/

{
  "context": "This criteria evaluates how well the engineer uses the ulid package's crockfordDecode function to decode Base32-encoded strings into binary data. The focus is on correct usage of the package's decoding API rather than reimplementing Base32 decoding logic.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "crockfordDecode import",
      "description": "The solution imports the crockfordDecode function from the ulid package",
      "max_score": 20
    },
    {
      "name": "crockfordDecode usage",
      "description": "The decodeBase32 function uses crockfordDecode to decode the Base32 string instead of implementing custom decoding logic",
      "max_score": 40
    },
    {
      "name": "Correct return type",
      "description": "The decodeBase32 function correctly returns the Uint8Array produced by crockfordDecode without unnecessary conversion",
      "max_score": 20
    },
    {
      "name": "No reimplementation",
      "description": "The solution does not reimplement Base32 decoding logic (e.g., manual alphabet mapping, bit shifting) that is already provided by crockfordDecode",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-ulid

tile.json