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 effectively the engineer uses istanbul-lib-source-maps path resolution utilities to implement the PathNormalizer class. The focus is on proper usage of asAbsolute, isAbsolute, relativeTo, and getUniqueKey functions from the package.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses asAbsolute",
"description": "The toAbsolute method uses asAbsolute function from istanbul-lib-source-maps to convert relative paths to absolute paths, passing the file and the configured baseDir",
"max_score": 25
},
{
"name": "Uses isAbsolute",
"description": "The isAbsolute method uses isAbsolute function from istanbul-lib-source-maps to determine if a path is absolute, supporting both Windows and Unix path conventions",
"max_score": 25
},
{
"name": "Uses relativeTo",
"description": "The resolveRelativeTo method uses relativeTo function from istanbul-lib-source-maps to resolve a file path relative to another file's directory",
"max_score": 25
},
{
"name": "Uses getUniqueKey",
"description": "The getUniqueKey method uses getUniqueKey function from istanbul-lib-source-maps to generate normalized, platform-independent keys for file paths",
"max_score": 25
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10