or run

npx @tessl/cli init
Log in

Version

Files

tile.json

rubric.jsonevals/scenario-4/

{
  "context": "This criteria evaluates how well the engineer uses picocolors package's background color functions to implement the status banner generator. The focus is on correct usage of bgRed, bgGreen, bgYellow, and bgCyan functions as specified in the requirements.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "bgRed usage",
      "description": "Uses picocolors bgRed function to apply red background for 'error' status messages",
      "max_score": 20
    },
    {
      "name": "bgGreen usage",
      "description": "Uses picocolors bgGreen function to apply green background for 'success' status messages",
      "max_score": 20
    },
    {
      "name": "bgYellow usage",
      "description": "Uses picocolors bgYellow function to apply yellow background for 'warning' status messages",
      "max_score": 20
    },
    {
      "name": "bgCyan usage",
      "description": "Uses picocolors bgCyan function to apply cyan background for 'info' status messages",
      "max_score": 20
    },
    {
      "name": "Import statement",
      "description": "Correctly imports picocolors functions (e.g., require('picocolors') or destructured import of specific background color functions)",
      "max_score": 10
    },
    {
      "name": "No background fallback",
      "description": "Returns unformatted message when status doesn't match known types (no picocolors function applied)",
      "max_score": 10
    }
  ]
}