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

{
  "context": "This criteria evaluates how well the engineer uses the ulid package's incrementBase32 function to implement a sequential Base32 identifier generator. The focus is on proper usage of the Base32 increment functionality provided by the package.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses incrementBase32",
      "description": "The implementation imports and uses the incrementBase32 function from the ulid package",
      "max_score": 50
    },
    {
      "name": "Correct generator pattern",
      "description": "The createSequentialGenerator function returns a closure that maintains state and calls incrementBase32 to produce the next identifier in sequence",
      "max_score": 30
    },
    {
      "name": "Proper state management",
      "description": "The implementation correctly maintains the current Base32 string state between calls and updates it using incrementBase32",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-ulid

tile.json