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-component/progress to implement a single percentage progress display. The focus is on proper usage of the Line component and its props for displaying progress from 0-100.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Import Line component",
"description": "Correctly imports the Line component from '@rc-component/progress' package",
"max_score": 15
},
{
"name": "Use Line component",
"description": "Uses the Line component (not Circle or custom implementation) to render the progress bar",
"max_score": 30
},
{
"name": "Pass percent prop",
"description": "Correctly passes the progress value to the Line component using the 'percent' prop",
"max_score": 25
},
{
"name": "Set strokeWidth",
"description": "Sets the strokeWidth prop to 6 as specified in the requirements",
"max_score": 10
},
{
"name": "Set strokeColor",
"description": "Sets the strokeColor prop to '#1890ff' as specified in the requirements",
"max_score": 10
},
{
"name": "Display percentage text",
"description": "Displays the current percentage as text (e.g., '45%') below or near the progress bar using the progress prop value",
"max_score": 10
}
]
}