tessl install tessl/npm-ulid@3.0.0A universally-unique, lexicographically-sortable, identifier generator
Agent Success
Agent success rate when using this tile
78%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.34x
Baseline
Agent success rate without this tile
58%
{
"context": "This criteria evaluates how effectively the engineer uses the ulid package to implement an event ID generation system. The focus is on proper usage of the ulid() function for basic and timestamp-based generation, and the isValid() function for validation.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses ulid function",
"description": "Uses the ulid() function from the ulid package to generate unique identifiers in the generateEventId() implementation",
"max_score": 25
},
{
"name": "Uses ulid with timestamp",
"description": "Uses the ulid(seedTime) function with the timestamp parameter to generate identifiers with custom timestamps in the generateEventIdWithTimestamp() implementation",
"max_score": 30
},
{
"name": "Uses isValid function",
"description": "Uses the isValid() function from the ulid package to validate event identifiers in the isValidEventId() implementation",
"max_score": 25
},
{
"name": "Correct function imports",
"description": "Correctly imports the necessary functions (ulid and isValid) from the 'ulid' package using proper TypeScript/JavaScript import syntax",
"max_score": 10
},
{
"name": "Returns ULID directly",
"description": "Returns the result of ulid() and ulid(seedTime) function calls directly without unnecessary transformations or modifications",
"max_score": 10
}
]
}