CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-libnpmorg

tessl install tessl/npm-libnpmorg@8.0.0

Programmatic API for managing npm organization memberships and roles

Agent Success

Agent success rate when using this tile

74%

Improvement

Agent success rate improvement when using this tile compared to baseline

0.97x

Baseline

Agent success rate without this tile

76%

rubric.jsonevals/scenario-5/

{
  "context": "Evaluates whether the cache maintenance helper relies on npm CLI tooling to locate, inspect, and purge npm and npx caches. Scoring checks for correct use of npm config to resolve cache paths, npm cache verification for inspection, and cache cleaning commands (including dry-run handling) instead of manual filesystem logic. The focus is exclusively on how npm/npx cache commands are invoked to satisfy the spec.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Resolve paths",
      "description": "Derives the default npm cache path via `npm config get cache` (or passing `--cache` when provided) and constructs the npx cache path from that root instead of hardcoding directories; honors a supplied cacheRoot by forwarding it to npm CLI calls.",
      "max_score": 20
    },
    {
      "name": "Inspect via verify",
      "description": "Uses `npm cache verify` (with `--cache` when overridden) to gather integrity status and size information for npm cache contents rather than manually walking files; includes the npx cache when requested by running the same verification against the command-runner cache path.",
      "max_score": 25
    },
    {
      "name": "Purge npm cache",
      "description": "Clears npm cache through the CLI (e.g., `npm cache clean --force` with an optional `--cache` override) and bases removal metrics on npm-driven state (such as `npm cache verify` before/after) rather than deleting files directly.",
      "max_score": 25
    },
    {
      "name": "Purge npx cache",
      "description": "Targets the command-runner cache specifically—either by invoking npm cache cleaning against the derived npx cache path or an equivalent npm-supported flag—and demonstrates that npm cache remains untouched when only npx cleanup is requested (verified via npm cache checks).",
      "max_score": 15
    },
    {
      "name": "Dry-run handling",
      "description": "Implements dry-run by skipping destructive npm cache clean calls while still using `npm cache verify` or similar npm output to compute the would-be removals, ensuring no cache content is modified during preview.",
      "max_score": 15
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/libnpmorg@8.0.x
tile.json