A lightning-fast frontend build tool designed to leverage JavaScript's native ESM system for unbundled development with instant browser updates.
82
{
"context": "This evaluation assesses how effectively the engineer uses Snowpack's utility functions (getUrlForFile and loadLockfile) to implement the project inspector functionality. The focus is on proper usage of these specific Snowpack APIs rather than general code quality.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses getUrlForFile",
"description": "The getFileUrl function correctly imports and calls Snowpack's getUrlForFile utility to resolve file paths to URLs",
"max_score": 40
},
{
"name": "Passes correct arguments",
"description": "The getUrlForFile call receives the proper arguments (file location and config object) as specified in Snowpack's API",
"max_score": 20
},
{
"name": "Uses loadLockfile",
"description": "The getDependencies function correctly imports and calls Snowpack's loadLockfile utility to read the lockfile",
"max_score": 30
},
{
"name": "Handles lockfile errors",
"description": "Properly handles the case when loadLockfile returns null or throws an error for missing lockfiles",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-snowpackevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10