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

{
  "context": "This criteria evaluates how well the engineer uses the cronstrue library to parse and describe 7-part cron expressions (with seconds and year fields). The focus is on correctly utilizing cronstrue's toString function with 7-part expressions and handling the output appropriately.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Imports cronstrue",
      "description": "Correctly imports or requires the cronstrue library (e.g., const cronstrue = require('cronstrue') or import cronstrue from 'cronstrue')",
      "max_score": 10
    },
    {
      "name": "Uses toString function",
      "description": "Uses cronstrue.toString() to convert cron expressions to human-readable descriptions",
      "max_score": 20
    },
    {
      "name": "Handles 7-part expressions",
      "description": "Correctly passes 7-part cron expressions (with seconds as first field and year as last field) to cronstrue.toString()",
      "max_score": 25
    },
    {
      "name": "Extracts descriptions",
      "description": "Captures and returns the human-readable description output from cronstrue.toString() in the result object",
      "max_score": 15
    },
    {
      "name": "Error handling",
      "description": "Uses try-catch or the throwExceptionOnParseError option to handle invalid cron expressions gracefully without crashing",
      "max_score": 20
    },
    {
      "name": "Processes multiple expressions",
      "description": "Iterates through an array of cron expressions and applies cronstrue.toString() to each one",
      "max_score": 10
    }
  ]
}

Version

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