Convert cron expressions into human readable descriptions
Overall
score
100%
{
"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
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-cronstruedocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10