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

{
  "context": "This criteria evaluates how well the engineer understands and uses the ulid package's detectPRNG function to automatically detect and utilize the appropriate random number generator for the environment. The focus is on proper usage of the detectPRNG API and integration of the returned PRNG function.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses detectPRNG",
      "description": "Code imports and calls the detectPRNG function from the ulid package",
      "max_score": 40
    },
    {
      "name": "Stores PRNG result",
      "description": "Code captures the PRNG function returned by detectPRNG and stores it in a variable for use",
      "max_score": 20
    },
    {
      "name": "Calls PRNG function",
      "description": "Code invokes the PRNG function (returned from detectPRNG) to generate random values",
      "max_score": 25
    },
    {
      "name": "Generates multiple samples",
      "description": "Code uses the PRNG function in a loop or repeated manner to generate the requested number of samples",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-ulid

tile.json