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

{
  "context": "This evaluation assesses how effectively the engineer uses the cronstrue library to convert 5-part standard cron expressions into human-readable descriptions. The focus is on proper usage of the cronstrue.toString() function and its ability to handle standard cron operators.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "cronstrue.toString() usage",
      "description": "Uses the cronstrue.toString() function (or equivalent ExpressionDescriptor class method) to convert cron expressions to human-readable strings",
      "max_score": 30
    },
    {
      "name": "Asterisk operator support",
      "description": "Correctly handles asterisk (*) wildcard operator in cron expressions using cronstrue to produce descriptions for all-values scenarios (e.g., '* * * * *' or '*/5 * * * *')",
      "max_score": 15
    },
    {
      "name": "Comma operator support",
      "description": "Correctly handles comma (,) operator for multiple specific values using cronstrue (e.g., '0 6,12,18 * * *')",
      "max_score": 15
    },
    {
      "name": "Hyphen operator support",
      "description": "Correctly handles hyphen (-) operator for ranges using cronstrue (e.g., '0 9 * * MON-FRI')",
      "max_score": 15
    },
    {
      "name": "Slash operator support",
      "description": "Correctly handles slash (/) operator for step/increment values using cronstrue (e.g., '*/15 * * * *')",
      "max_score": 15
    },
    {
      "name": "Error handling",
      "description": "Properly handles invalid cron expressions by leveraging cronstrue's built-in error handling (either catching exceptions when throwExceptionOnParseError is true, or handling error messages when it's false)",
      "max_score": 10
    }
  ]
}

Version

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