CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-ulid

tessl install tessl/npm-ulid@3.0.0

A 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%

rubric.jsonevals/scenario-5/

{
  "context": "This criteria evaluates how well the engineer uses the ulid package's isValid function to implement ULID validation, filtering, and counting functionality. The focus is on proper usage of the ulid package API for validation tasks.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Import isValid function",
      "description": "The implementation imports the isValid function from the 'ulid' package (e.g., import { isValid } from 'ulid')",
      "max_score": 20
    },
    {
      "name": "Use isValid in validateULID",
      "description": "The validateULID function directly uses the isValid function from the ulid package to validate ULID strings",
      "max_score": 25
    },
    {
      "name": "Use isValid in filterValidULIDs",
      "description": "The filterValidULIDs function uses the isValid function to filter the array (e.g., ids.filter(isValid) or ids.filter(id => isValid(id)))",
      "max_score": 25
    },
    {
      "name": "Use isValid in countValidULIDs",
      "description": "The countValidULIDs function uses the isValid function to count valid ULIDs (e.g., by filtering with isValid and checking length, or using reduce with isValid)",
      "max_score": 20
    },
    {
      "name": "No reimplementation of validation",
      "description": "The implementation does not reimplement ULID validation logic (e.g., no manual regex checks, length checks, or character validation) and relies exclusively on the ulid package's isValid function",
      "max_score": 10
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/ulid@3.0.x
tile.json