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's internationalization capabilities to implement multi-language schedule translation functionality. The focus is on proper usage of locale options and the i18n API.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses cronstrue.toString",
"description": "Uses the cronstrue.toString() function to convert cron expressions to human-readable descriptions",
"max_score": 15
},
{
"name": "Locale option usage",
"description": "Correctly passes the locale option to cronstrue.toString() to specify the target language (e.g., { locale: 'fr' }, { locale: 'es' })",
"max_score": 25
},
{
"name": "Multiple locale support",
"description": "Implements support for multiple languages (English, French, Spanish, German, etc.) by dynamically passing different locale codes",
"max_score": 20
},
{
"name": "Batch translation implementation",
"description": "Implements batch translation by iterating over cron expressions and calling cronstrue.toString() with the appropriate locale for each",
"max_score": 15
},
{
"name": "Locale validation",
"description": "Implements language availability check by verifying against cronstrue's supported locales (e.g., checking ExpressionDescriptor.locales or using a predefined list of supported locale codes)",
"max_score": 15
},
{
"name": "Proper i18n loading",
"description": "Uses appropriate import strategy for internationalization (e.g., 'cronstrue/i18n' for full locale support or individual locale imports like 'cronstrue/locales/fr')",
"max_score": 10
}
]
}