CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-workerpool

Offload tasks to a pool of workers on node.js and in the browser

95

1.23x
Quality

Pending

Does it follow best practices?

Impact

95%

1.23x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-3/

{
  "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
    }
  ]
}

tile.json