Offload tasks to a pool of workers on node.js and in the browser
95
Pending
Does it follow best practices?
Impact
95%
1.23xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This criteria evaluates how well the engineer uses the workerpool package to implement task timeout functionality. The focus is on correct usage of workerpool's pool creation, task execution, timeout methods, and error handling.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Worker Pool Creation",
"description": "Uses workerpool.pool() to create a worker pool for executing tasks in parallel",
"max_score": 20
},
{
"name": "Task Execution",
"description": "Uses pool.exec() method to execute tasks on the worker pool",
"max_score": 20
},
{
"name": "Timeout Configuration",
"description": "Uses the .timeout() method on the promise returned by pool.exec() to set task timeout limits",
"max_score": 30
},
{
"name": "Timeout Error Handling",
"description": "Properly catches and handles TimeoutError exceptions when tasks exceed their timeout limit",
"max_score": 20
},
{
"name": "Pool Termination",
"description": "Uses pool.terminate() to properly clean up and release worker pool resources",
"max_score": 10
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10