docs
evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
{
"context": "This criteria evaluates how well the engineer uses rc-progress package APIs to implement stroke width and color configuration features. It focuses on proper usage of strokeWidth, strokeColor, trailColor (or railColor), and strokeLinecap properties for both Line and Circle components.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Line component import",
"description": "Correctly imports the Line component from 'rc-progress' package",
"max_score": 5
},
{
"name": "Circle component import",
"description": "Correctly imports the Circle component from 'rc-progress' package",
"max_score": 5
},
{
"name": "Line strokeWidth usage",
"description": "Uses the strokeWidth prop on Line component to control progress bar thickness according to the width option",
"max_score": 10
},
{
"name": "Line strokeColor usage",
"description": "Uses the strokeColor prop on Line component to set the progress color, handling both single string values and arrays of strings for multi-segment progress",
"max_score": 15
},
{
"name": "Line trailColor usage",
"description": "Uses the trailColor prop (or railColor if using older API) on Line component to set the background track color",
"max_score": 8
},
{
"name": "Line strokeLinecap usage",
"description": "Uses the strokeLinecap prop on Line component to control line ending style, correctly mapping 'rounded' to 'round', 'flat' to 'butt', and 'extended' to 'square'",
"max_score": 10
},
{
"name": "Circle strokeWidth usage",
"description": "Uses the strokeWidth prop on Circle component to control progress stroke thickness according to the width option",
"max_score": 10
},
{
"name": "Circle strokeColor usage",
"description": "Uses the strokeColor prop on Circle component to set the progress color, handling both single string values and gradient objects with percentage-based color stops",
"max_score": 15
},
{
"name": "Circle trailColor usage",
"description": "Uses the trailColor prop (or railColor if using older API) on Circle component to set the background track color",
"max_score": 7
},
{
"name": "Multi-segment handling",
"description": "Correctly passes arrays to both percent and strokeColor props when rendering multi-segment Line progress, ensuring they work together properly",
"max_score": 15
}
]
}