CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-cronstrue

tessl install tessl/npm-cronstrue@3.2.0

Convert 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%

rubric.jsonevals/scenario-7/

{
  "context": "This criteria evaluates how well the engineer understands and utilizes cronstrue's internationalization loading strategies, specifically the ability to load individual locales rather than the full i18n bundle to optimize bundle size.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses toString function",
      "description": "Code imports cronstrue and correctly uses the toString() function (or cronstrue.toString()) to convert cron expressions to human-readable descriptions",
      "max_score": 20
    },
    {
      "name": "Individual locale imports",
      "description": "Code imports individual locale files (e.g., require('cronstrue/locales/fr'), require('cronstrue/locales/es')) rather than the full i18n bundle (cronstrue/i18n), demonstrating understanding of bundle size optimization",
      "max_score": 35
    },
    {
      "name": "Locale option usage",
      "description": "Code passes the locale parameter correctly in the options object to toString() (e.g., toString(expression, { locale: 'fr' }))",
      "max_score": 25
    },
    {
      "name": "Fallback handling",
      "description": "Code implements appropriate fallback behavior for unsupported locales by either calling toString() with 'en' locale when an unsupported locale is requested, or by handling the case where a locale is not available",
      "max_score": 20
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/cronstrue@3.2.x
tile.json