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-3/

{
  "context": "This criteria evaluates the engineer's ability to use cronstrue's monthStartIndexZero configuration option to correctly interpret cron expressions with JavaScript Date-style month indexing (0-11) and convert them into accurate human-readable descriptions.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses cronstrue package",
      "description": "Solution imports and uses the cronstrue package (either via require or import)",
      "max_score": 15
    },
    {
      "name": "Calls toString function",
      "description": "Solution calls cronstrue.toString() or equivalent function to convert cron expressions to human-readable text",
      "max_score": 20
    },
    {
      "name": "Sets monthStartIndexZero option",
      "description": "Solution passes an options object with monthStartIndexZero set to true when calling cronstrue.toString()",
      "max_score": 40
    },
    {
      "name": "Correct January handling",
      "description": "Solution correctly interprets month 0 as January (passes test case for \"0 9 * 0 *\")",
      "max_score": 10
    },
    {
      "name": "Correct month ranges",
      "description": "Solution correctly interprets month ranges with zero-indexing (passes test case for \"0 14 * 5-7 *\" as June-August)",
      "max_score": 10
    },
    {
      "name": "Correct December handling",
      "description": "Solution correctly interprets month 11 as December (passes test case for \"*/15 * * 11 *\")",
      "max_score": 5
    }
  ]
}

Version

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