tessl install tessl/npm-cronstrue@3.2.0Convert 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%
{
"context": "This criteria evaluates how effectively the engineer uses the cronstrue package to convert cron expressions with Quartz Nth occurrence (#) syntax into human-readable descriptions. The focus is on proper use of cronstrue's toString function and understanding of the Nth occurrence weekday syntax.",
"type": "weighted_checklist",
"checklist": [
{
"name": "cronstrue import",
"description": "Correctly imports the cronstrue package using require() or import statement",
"max_score": 10
},
{
"name": "toString function usage",
"description": "Uses cronstrue.toString() function to convert cron expressions to human-readable text",
"max_score": 30
},
{
"name": "Nth occurrence handling",
"description": "Successfully processes expressions with the # syntax (e.g., 1#3, 0#2, 5#1) representing Nth occurrence of a weekday",
"max_score": 30
},
{
"name": "Expression format support",
"description": "Correctly handles 5-part cron expressions (minute hour day-of-month month day-of-week) with the Nth occurrence syntax in the day-of-week field",
"max_score": 20
},
{
"name": "Return value handling",
"description": "Returns the human-readable string output from cronstrue.toString() without unnecessary modifications",
"max_score": 10
}
]
}