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 chaining API and iterator support to implement a data pipeline processor. The focus is on proper use of lodash chain methods, understanding of lazy evaluation, and correct implementation of iterator protocols through lodash wrappers.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Chain initialization",
"description": "Uses lodash chain() or _(data) to create a lodash wrapper that supports chaining",
"max_score": 15
},
{
"name": "Filter implementation",
"description": "Uses lodash filter method within the chain to implement age-based filtering",
"max_score": 15
},
{
"name": "Map implementation",
"description": "Uses lodash map or pick/omit methods within the chain to select specific fields from records",
"max_score": 15
},
{
"name": "Sort implementation",
"description": "Uses lodash sortBy or orderBy method within the chain to sort results by specified field",
"max_score": 15
},
{
"name": "Iterator protocol support",
"description": "Returns a lodash wrapper that implements Symbol.iterator, allowing for...of loops, spread operator, and Array.from() to work correctly",
"max_score": 25
},
{
"name": "Value extraction handling",
"description": "Properly uses .value() method or relies on iterator protocol to extract final results when needed, demonstrating understanding of lazy evaluation",
"max_score": 15
}
]
}