CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-cronstrue

Convert cron expressions into human readable descriptions

100

1.12x
Quality

Pending

Does it follow best practices?

Impact

100%

1.12x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-5/

{
  "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
    }
  ]
}

tile.json