or run

npx @tessl/cli init
Log in

Version

Files

docs

advanced-colors.mdbackground-colors.mdbasic-colors.mdcolor-support.mdconfiguration.mdindex.mdtext-styling.md
tile.json

rubric.jsonevals/scenario-10/

{
  "context": "Evaluates whether the solution relies on Chalk's published style metadata arrays to validate and report supported terminal styles for modifiers and colors. Checks emphasize correct use of Chalk's modifier and color name lists, case handling, and faithful exposure of supported style data rather than hardcoded values.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Metadata sources",
      "description": "Validation pulls allowable modifier names from chalk.modifierNames and color names from chalk.foregroundColorNames / chalk.backgroundColorNames (or chalk.colorNames) instead of hardcoded lists, using the library ordering as the source of truth.",
      "max_score": 25
    },
    {
      "name": "Case handling",
      "description": "Compares inputs against chalk metadata in a case-insensitive way and normalizes accepted tokens back to the exact casing provided by chalk.modifierNames and color name arrays.",
      "max_score": 20
    },
    {
      "name": "Category separation",
      "description": "Uses the appropriate Chalk arrays per category (modifiers vs foreground vs background) when validating profiles, avoiding mixing categories or relying solely on chalk.colorNames for all checks.",
      "max_score": 20
    },
    {
      "name": "Unsupported reporting",
      "description": "Detects and reports unsupported tokens per category by contrasting inputs with chalk metadata arrays, producing sorted unsupported lists derived from those comparisons.",
      "max_score": 15
    },
    {
      "name": "Supported listing",
      "description": "listSupportedStyles returns data built directly from Chalk's modifierNames, foregroundColorNames, and backgroundColorNames (or mapped from colorNames) without alteration beyond copying and preserves their order.",
      "max_score": 20
    }
  ]
}