claude-nerf-detector
v1.0.0
Published
Community-driven performance monitoring for Claude Code
Readme
Claude NerfDetector
Community-driven performance monitoring for Claude Code. Detect capability changes ("nerfs") over time through crowdsourced testing.
🚀 Quick Start
Run performance tests directly in Claude Code:
npx claude-nerf-test📊 Live Dashboard
View global performance statistics at: https://claude-nerf.vercel.app
🎯 How It Works
- Local Testing: Users run standardized tests in Claude Code
- Anonymous Submission: Results are sent to our community database
- Global Analytics: Track performance trends across all users
- Real-time Monitoring: Detect changes in Claude's capabilities
🧪 Test Suite
Our tests are intentionally challenging (target: 40-60% pass rate):
- P1: Algorithm Implementation (kth largest with heap)
- P2: Log Parsing (structured data extraction)
- P3: Bug Fixing (multiple bug identification)
- P4: Complex Generation (CLI app with 6 subcommands)
- P5: Math Reasoning (multi-step word problem)
📈 Metrics Tracked
- Correctness Score: Test pass rate
- TTFT: Time to first token
- Generation Speed: Tokens per second
- Output Length: Response completeness
- Error Rate: Reliability metric
🔒 Privacy First
- ✅ Anonymous user IDs (hashed machine ID)
- ✅ Performance metrics only
- ❌ No prompt/response content stored
- ❌ No personal information collected
- ❌ No IP addresses logged
🛠️ Development
Prerequisites
- Node.js 18+
- npm or yarn
- Supabase account (for database)
- Vercel account (for deployment)
Setup
- Clone the repository:
git clone https://github.com/solaris-labs/claude-nerf-detector.git
cd claude-nerf-detector- Install dependencies:
npm install- Set up environment variables:
cp .env.example .env.local
# Add your Supabase credentials- Run development server:
npm run devProject Structure
├── src/
│ ├── app/ # Next.js app directory
│ │ ├── api/ # API endpoints
│ │ ├── page.tsx # Dashboard
│ │ └── run/[id]/ # Individual test results
│ ├── cli/ # NPM package source
│ │ └── test-runner.ts # Core test execution
│ └── lib/
│ └── supabase/ # Database client & schema
├── supabase/
│ └── migrations/ # Database migrations
└── vercel.json # Deployment config🤝 Contributing
We welcome contributions! Areas for improvement:
- Additional test cases
- Dashboard improvements
- Performance optimizations
- Documentation
- Bug fixes
📝 License
MIT License
🙏 Acknowledgments
Built by the Claude Code community, for the community.
🔗 Links
Note: This project is community-driven and not affiliated with Anthropic.
