docs
evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
{
"context": "This evaluation assesses how well the engineer uses postcss-modules-extract-imports to handle existing :import() rules in CSS modules. The focus is on correctly using the PostCSS plugin to leverage its built-in capability to recognize and preserve pre-existing import declarations.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Package import",
"description": "Correctly imports the postcss-modules-extract-imports package using require() or import statement",
"max_score": 15
},
{
"name": "PostCSS setup",
"description": "Uses postcss() function from the 'postcss' package to create a processor instance",
"max_score": 20
},
{
"name": "Plugin initialization",
"description": "Passes the postcss-modules-extract-imports plugin to postcss() in the plugins array or as argument",
"max_score": 25
},
{
"name": "CSS processing",
"description": "Calls the process() method on the PostCSS processor with the CSS content string",
"max_score": 20
},
{
"name": "Result extraction",
"description": "Accesses the .css property of the PostCSS result object to get the transformed CSS string",
"max_score": 20
}
]
}