Source maps support for Istanbul code coverage toolkit, enabling accurate coverage reporting for transpiled JavaScript code
98
Pending
Does it follow best practices?
Impact
98%
1.75xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This criteria evaluates how well the engineer uses the istanbul-lib-source-maps package to enrich coverage data with source map information. The focus is on correct usage of the MapStore API, proper source map registration, and effective use of the addInputSourceMapsSync method.",
"type": "weighted_checklist",
"checklist": [
{
"name": "MapStore Creation",
"description": "Uses createSourceMapStore() to create a MapStore instance for managing source maps",
"max_score": 15
},
{
"name": "Source Map Discovery",
"description": "Correctly discovers and reads .map files from the provided directory path",
"max_score": 20
},
{
"name": "Source Map Registration",
"description": "Uses mapStore.registerMap() or mapStore.registerURL() to register each discovered source map with the correct file path",
"max_score": 25
},
{
"name": "Coverage Data Enrichment",
"description": "Uses mapStore.addInputSourceMapsSync() to add source map references to the coverage data object in place",
"max_score": 30
},
{
"name": "Correct Return Value",
"description": "Returns the enriched coverage data object (which was modified in place by addInputSourceMapsSync)",
"max_score": 10
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10