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

{
  "context": "This criteria evaluates how well the engineer uses the ULID package's decodeTime function and related validation functions to implement a time-based ULID filter. The focus is on proper usage of decodeTime to extract timestamps and isValid to handle invalid ULIDs.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses decodeTime",
      "description": "Uses the decodeTime function from the ulid package to extract timestamps from ULID strings",
      "max_score": 40
    },
    {
      "name": "Uses isValid",
      "description": "Uses the isValid function from the ulid package to validate ULIDs before processing or uses try-catch to handle invalid ULIDs when calling decodeTime",
      "max_score": 25
    },
    {
      "name": "Proper filtering logic",
      "description": "Correctly filters ULIDs by comparing decoded timestamps against the provided time range (inclusive on both boundaries)",
      "max_score": 20
    },
    {
      "name": "Handles invalid ULIDs",
      "description": "Implementation gracefully handles invalid ULID strings by skipping them rather than throwing errors that halt execution",
      "max_score": 15
    }
  ]
}

Version

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