or run

npx @tessl/cli init
Log in

Version

Files

docs

index.md
tile.json

rubric.jsonevals/scenario-1/

{
  "context": "This evaluation assesses how well the engineer uses the postcss-modules-extract-imports package to handle global composition transformations in CSS Modules. The focus is on proper usage of PostCSS plugin integration and understanding the global composition feature.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "PostCSS integration",
      "description": "Uses postcss.process() or similar PostCSS API to process CSS content",
      "max_score": 20
    },
    {
      "name": "Plugin usage",
      "description": "Correctly imports and uses the postcss-modules-extract-imports plugin (e.g., require('postcss-modules-extract-imports'))",
      "max_score": 30
    },
    {
      "name": "Plugin configuration",
      "description": "Properly configures the PostCSS processor with the extract-imports plugin (e.g., postcss([extractImports()]))",
      "max_score": 25
    },
    {
      "name": "Global transformation",
      "description": "Successfully transforms 'composes: ... from global' declarations into global() wrapped format",
      "max_score": 20
    },
    {
      "name": "Result extraction",
      "description": "Correctly extracts and returns the transformed CSS from the PostCSS result object (e.g., result.css)",
      "max_score": 5
    }
  ]
}