A memory-based implementation of Node.js fs module for testing purposes
96
Pending
Does it follow best practices?
Impact
96%
1.26xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This criteria evaluates the engineer's ability to use metro-memory-fs's canonical path resolution functionality (realpathSync) to resolve symbolic links and convert paths to their absolute canonical form. The focus is on correct usage of the realpathSync method and understanding of how it resolves symlinks.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses realpathSync",
"description": "Implementation uses the realpathSync or realpathSync.native method from metro-memory-fs to resolve paths to their canonical form",
"max_score": 50
},
{
"name": "Passes filesystem instance",
"description": "Correctly passes the filesystem instance parameter to realpathSync as the first argument (since metro-memory-fs uses instance methods)",
"max_score": 20
},
{
"name": "Handles symbolic links",
"description": "The implementation correctly resolves symbolic links by using realpathSync, which follows all symlinks in the path to return the final canonical path",
"max_score": 20
},
{
"name": "Error propagation",
"description": "Allows realpathSync to throw appropriate errors (like ENOENT for non-existent paths or ELOOP for circular symlinks) without unnecessary wrapping",
"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