or run

npx @tessl/cli init
Log in

Version

Files

docs

cli.mdindex.mdprogrammatic-api.md
tile.json

rubric.jsonevals/scenario-9/

{
  "context": "This criteria evaluates how well the engineer uses jsdoc-to-markdown's raw template data injection capability to generate markdown documentation without parsing source files. The focus is on proper usage of the render() method with pre-processed data and configuration options.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Import jsdoc-to-markdown",
      "description": "Correctly imports or requires the jsdoc-to-markdown package (e.g., const jsdoc2md = require('jsdoc-to-markdown'))",
      "max_score": 15
    },
    {
      "name": "Use render method",
      "description": "Uses the render() method from jsdoc-to-markdown to generate markdown output",
      "max_score": 25
    },
    {
      "name": "Pass data parameter",
      "description": "Passes template data using the 'data' option to render() method (e.g., render({ data: templateData }))",
      "max_score": 30
    },
    {
      "name": "Handle options parameter",
      "description": "Correctly passes the options parameter (like headingDepth) to the render() method configuration",
      "max_score": 15
    },
    {
      "name": "Return Promise",
      "description": "Properly handles the async nature of render() by returning the Promise or using async/await",
      "max_score": 15
    }
  ]
}