CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-cpr

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%

Overview
Eval results
Files

rubric.jsonevals/scenario-5/

{
  "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.0

tile.json