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 lodash's string padding functions (_.pad, _.padStart, _.padEnd) to implement a text formatting module with center, left, and right alignment capabilities.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses _.pad",
"description": "The formatCenter function uses lodash's _.pad function to center text with padding on both sides",
"max_score": 30
},
{
"name": "Uses _.padStart",
"description": "The formatLeft function uses lodash's _.padStart function to add padding to the left side of text",
"max_score": 30
},
{
"name": "Uses _.padEnd",
"description": "The formatRight function uses lodash's _.padEnd function to add padding to the right side of text",
"max_score": 30
},
{
"name": "Custom padding characters",
"description": "All three functions correctly pass the custom padding character parameter to the lodash functions when provided",
"max_score": 10
}
]
}