A universally-unique, lexicographically-sortable, identifier generator
78
{
"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-ulidevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10