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 well the solution uses the cpr package to copy a source tree into a new target while creating missing directories, preserving file permissions, and optionally verifying copied paths. Checks are limited to correct invocation of cpr features rather than general coding quality.",
"type": "weighted_checklist",
"checklist": [
{
"name": "cpr usage",
"description": "Invokes the cpr API (or cpr.cpr alias) as the primary mechanism for recursive copying instead of manual fs operations.",
"max_score": 25
},
{
"name": "Permission parity",
"description": "Configures copying so destination files keep source mode bits; avoids steps that reset permissions and verifies modes via fs.stat when needed.",
"max_score": 20
},
{
"name": "Dir creation",
"description": "Relies on cpr to create missing parent directories for the target tree rather than pre-building them manually.",
"max_score": 20
},
{
"name": "Verify option",
"description": "When the spec's verify flag is set, maps it to cpr's confirm option to re-stat copied paths and surfaces errors when any path is missing.",
"max_score": 20
},
{
"name": "Returned paths",
"description": "Returns the list of destination paths produced by cpr (from the callback or promise) sorted as required, handling aggregated errors (err.list) appropriately.",
"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