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 whether the solution relies on the cpr package to copy a single file into trailing-separator destinations and maps spec options to cpr flags. Focus is purely on correct cpr API usage and handling of the library's copy/verification errors for this capability.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Use cpr",
"description": "Invokes cpr (or cpr.cpr) for the copy instead of manual fs operations, passing the source and destination paths into the library call.",
"max_score": 30
},
{
"name": "Trailing separator",
"description": "Ensures a destination ending with a path separator is treated as a directory by cpr (destination string ends with sep and source basename is appended before calling cpr) so the copied file lands under that directory.",
"max_score": 25
},
{
"name": "Overwrite wiring",
"description": "Maps the spec's overwrite option directly to cpr's overwrite flag so existing destination files either block the copy (default false) or are replaced when true.",
"max_score": 15
},
{
"name": "Post-copy confirm",
"description": "When verification is requested, sets cpr's confirm option (or equivalent cpr-supported verification) to re-stat copied paths and fail if any expected destination is missing.",
"max_score": 15
},
{
"name": "Error handling",
"description": "Propagates cpr errors, including err.list aggregation, and distinguishes destination-not-directory and EEXIST cases consistent with cpr outputs.",
"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