or run

npx @tessl/cli init
Log in

Version

Files

tile.json

rubric.jsonevals/scenario-8/

{
  "context": "This criteria evaluates how well the engineer uses picocolors to create nested color and text formatting, specifically testing their understanding of the close sequence replacement algorithm that enables proper nesting of formatters without breaking outer formatting.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Basic color usage",
      "description": "Uses the basic color functions (green, red, yellow, cyan) from picocolors to apply foreground colors to status messages",
      "max_score": 15
    },
    {
      "name": "Bright color variants",
      "description": "Uses bright color functions (greenBright, redBright, yellowBright, cyanBright) from picocolors for the status labels",
      "max_score": 15
    },
    {
      "name": "Bold text formatting",
      "description": "Uses the bold function from picocolors to format the operation name within the colored message",
      "max_score": 15
    },
    {
      "name": "Underline text formatting",
      "description": "Uses the underline function from picocolors to format highlighted text within the details",
      "max_score": 15
    },
    {
      "name": "Nested color composition",
      "description": "Properly nests bright colors within basic colors (e.g., greenBright('SUCCESS') within green(message)) such that the outer color is maintained after the inner formatter closes",
      "max_score": 15
    },
    {
      "name": "Nested format composition",
      "description": "Properly nests bold and underline formatters within color functions such that both the formatting and color are applied correctly",
      "max_score": 15
    },
    {
      "name": "Multiple nesting levels",
      "description": "Correctly handles multiple levels of nesting (e.g., color wrapping bold wrapping text, or color wrapping text with embedded underlined portions) demonstrating understanding of the close sequence replacement algorithm",
      "max_score": 10
    }
  ]
}