Package Exports
- claude-nerf-test
- claude-nerf-test/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (claude-nerf-test) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Claude NerfDetector Test Suite
How it Works
This test suite is designed to run inside Claude Code to evaluate Claude's performance on standardized tasks.
Step 1: Run the Test in Claude Code
In Claude Code, run:
npx claude-nerf-testThis will:
- Display 5 test prompts one by one
- Claude will automatically respond to each prompt
- After all prompts, you'll manually score Claude's responses
Step 2: Score the Results
After Claude completes all 5 tests, evaluate the responses and submit scores:
npx claude-nerf-test score --p1 [0/1] --p2 [0/1] --p3 [0/1] --p4 [0/1] --p5 [0/1]Scoring Guide:
- P1 (Algorithm): Did Claude implement a heap-based solution with edge cases? (1=yes, 0=no)
- P2 (Log Parsing): Did Claude parse the log into valid JSON with all fields? (1=yes, 0=no)
- P3 (Bug Fixing): Did Claude fix both bugs (= vs == and missing n-1)? (1=yes, 0=no)
- P4 (CLI Generation): Did Claude create a CLI with 5+ commands and error handling? (1=yes, 0=no)
- P5 (Math): Did Claude calculate ~54.5 mph? (1=yes, 0=no)
Example:
npx claude-nerf-test score --p1 1 --p2 1 --p3 0 --p4 1 --p5 1Important Notes
⚠️ This tool MUST be run inside Claude Code - it won't work in a regular terminal as it relies on Claude processing the prompts.
The test prompts are intentionally challenging to detect capability changes over time. A typical score is 2-3 out of 5.
Privacy
- Only performance metrics are collected (score, timing)
- No prompt/response content is stored
- Anonymous user IDs (hashed machine ID)
- Run with
--localflag to skip submission
Commands
# Run tests (default submits to community)
npx claude-nerf-test
# Run tests locally (no submission)
npx claude-nerf-test run --local
# Submit scores after test
npx claude-nerf-test score --p1 1 --p2 1 --p3 0 --p4 1 --p5 1
# View configuration
npx claude-nerf-test config --show
# Reset anonymous ID
npx claude-nerf-test config --resetDashboard
View global statistics: https://claude-nerf-detector.vercel.app