Cross-platform recursive file copying library that replicates Unix 'cp -R' command functionality
Agent Success
Agent success rate when using this tile
66%
Improvement
Agent success rate improvement when using this tile compared to baseline
1x
Baseline
Agent success rate without this tile
66%
{
"context": "Evaluates how the solution uses the cpr package to copy directories while re-statting copied paths to confirm they exist, returning the confirmed path list and surfacing verification failures. Checks focus solely on invoking cpr with the correct options and handling its confirm-driven outputs.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Confirm enabled",
"description": "Invokes `cpr` (or `cpr.cpr`) with `confirm: true` so the library re-stats every copied path instead of relying on manual checks or omitting confirmation.",
"max_score": 30
},
{
"name": "Use confirmed paths",
"description": "Uses the array of destination paths returned in the confirm callback result (sorted by cpr) as the authoritative output rather than reconstructing paths independently.",
"max_score": 20
},
{
"name": "Bubble confirm errors",
"description": "Propagates errors from confirm re-stats (including missing path entries in `err.list`) so a deleted destination causes rejection with the reported path information.",
"max_score": 20
},
{
"name": "Respect filter",
"description": "Passes through the provided `filter` option to `cpr` so excluded files are neither copied nor included in the confirmation set, matching the spec’s filtered scenarios.",
"max_score": 15
},
{
"name": "Overwrite option",
"description": "Forwards the `overwrite` flag directly to `cpr` to control destination handling without reimplementing overwrite logic outside the package.",
"max_score": 15
}
]
}tessl i tessl/npm-cpr@3.0.0docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10