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-9/

{
  "context": "Evaluates how well the solution uses the cpr package to implement the workspace sync utility. Checks correct invocation of the recursive copy API, option mapping for cleaning, filtering, verification, overwrite control, and proper handling of the destination path list.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "cpr usage",
      "description": "Invokes the cpr function (or cpr.cpr alias) for each manifest entry instead of reimplementing recursive copying or shelling out, correctly passing source, destination, and options with callback/promise handling.",
      "max_score": 25
    },
    {
      "name": "deleteFirst clean",
      "description": "Sets cpr's deleteFirst option whenever the spec's clean flag is true so destination trees are removed before copying.",
      "max_score": 15
    },
    {
      "name": "filter mapping",
      "description": "Maps the spec's ignorePattern to cpr's filter option (RegExp or predicate) so matching absolute paths are excluded while allowing directories to continue traversal.",
      "max_score": 15
    },
    {
      "name": "confirm verify",
      "description": "Uses cpr's confirm option to re-stat copied paths when verify is requested and surfaces any missing paths as errors rather than silently succeeding.",
      "max_score": 20
    },
    {
      "name": "overwrite passthrough",
      "description": "Passes the spec's overwrite flag through to cpr's overwrite option to control whether existing files are replaced.",
      "max_score": 10
    },
    {
      "name": "destination list",
      "description": "Collects the list of destination paths from cpr callbacks across manifest entries, merges and sorts them before resolving the final result.",
      "max_score": 15
    }
  ]
}
tessl i tessl/npm-cpr@3.0.0

tile.json