CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-cronstrue

tessl install tessl/npm-cronstrue@3.2.0

Convert cron expressions into human readable descriptions

Agent Success

Agent success rate when using this tile

100%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.12x

Baseline

Agent success rate without this tile

89%

rubric.jsonevals/scenario-6/

{
  "context": "This criteria evaluates how well the engineer uses the cronstrue package to implement time format configuration functionality, specifically focusing on the use24HourTimeFormat option for converting cron expressions with different time display formats.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Import cronstrue",
      "description": "The implementation correctly imports or requires the cronstrue package (e.g., const cronstrue = require('cronstrue') or import cronstrue from 'cronstrue').",
      "max_score": 15
    },
    {
      "name": "Use toString function",
      "description": "The implementation uses the cronstrue.toString() function or cronstrue default export to convert cron expressions to human-readable text.",
      "max_score": 25
    },
    {
      "name": "Pass use24HourTimeFormat option",
      "description": "The implementation correctly passes the use24HourTimeFormat option to cronstrue.toString() as part of the options object (e.g., { use24HourTimeFormat: true } or { use24HourTimeFormat: false }).",
      "max_score": 35
    },
    {
      "name": "Handle options parameter",
      "description": "The implementation correctly receives and uses the options parameter from the function signature, extracting the use24HourTimeFormat value and passing it to cronstrue.",
      "max_score": 15
    },
    {
      "name": "Return formatted string",
      "description": "The implementation returns the result from cronstrue.toString() as the output of the formatSchedule function.",
      "max_score": 10
    }
  ]
}

Version

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