Convert cron expressions into human readable descriptions
100
Pending
Does it follow best practices?
Impact
100%
1.12xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"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
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10