mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
fd2f37eaa0
Changes: - Fix README.md agent counts (48 QE agents = 41 main + 7 subagents) - Fix README.md skill counts (15 QE-specific skills) - Fix v3/README.md agent counts (47 → 48) - Fix init-wizard.ts hooks from 'npx @agentic-qe/v3' to 'npx agentic-qe' - Complete v2 → v2/ folder reorganization (54 items moved) - Update root package.json to point to v3 as main version Verified claims: - 48 QE agents (41 main + 7 TDD subagents) - 15 QE-specific skills - 12 DDD bounded contexts - ~5,600+ tests - HNSW, ReasoningBank, Queen Coordinator features exist Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
3.2 KiB
3.2 KiB
Pass Rate Acceleration - Quick Start Guide
TL;DR - Get to 70% Pass Rate
Current: 32.6% (143/438 tests) Target: 70%+ (307/438 tests) Time: 5-9 hours Success Rate: 87.5%
The Plan
Phase 1: Quick Wins (2-4 hours → 52.6%)
-
Agent Tests (1-2h, +7.5%)
# Fix AgentRegistry mock in tests/cli/agent.test.ts # Add: getAgentMetrics(), getAllAgents(), getAgentsByType() npm test tests/cli/agent.test.ts -
CLI Command Tests (2-3h, +9.1%)
# Mock Commander.js with async support # Mock console.log/error npm test tests/cli/*.test.ts -
Partial Coordination (1h, +3.9%)
# Add waitForEvents() helper npm test tests/unit/core/OODA*.test.ts
Phase 2: High Value (3-5 hours → 70.6%) ✅ TARGET
-
MCP Handler Tests (2-3h, +11.4%)
# Create MockMCPServer in tests/mcp/__mocks__/ npm test tests/mcp/handlers/*.test.ts -
Complete Coordination (1-2h, +3.6%)
# Full async/await event handling npm test tests/unit/learning/SwarmIntegration*.test.ts -
Remaining Agent Tests (1h, +1.4%)
# Edge cases and fine-tuning npm test tests/agents/*.test.ts
Quick Commands
# View current analysis
bash scripts/query-pass-rate-analysis.sh
# Start fixing (example: Agent Tests)
git checkout -b test-fixes/pass-rate-acceleration
# ... make fixes ...
npm test tests/cli/agent.test.ts
npm test # Full suite validation
git commit -m "fix(tests): agent tests (+7.5%)"
# Store progress (after each major fix)
npx ts-node scripts/store-pass-rate-progress.ts --phase=1
# Check overall progress
npm test 2>&1 | grep "Tests:"
Files to Fix
Phase 1
tests/cli/agent.test.ts- AgentRegistry mocktests/cli/*.test.ts- Commander mockingtests/unit/core/OODA*.test.ts- Event helpers
Phase 2
tests/mcp/handlers/*.test.ts- MCP mock infrastructuretests/unit/learning/SwarmIntegration*.test.ts- Full coordinationtests/agents/*.test.ts- Edge cases
Key Rules
✅ DO:
- Fix one file at a time
- Test after each change
- Commit working changes
- Use git revert if needed
❌ DON'T:
- Modify
tests/setup.ts - Change multiple files at once
- Alter production code for tests
- Skip full test suite validation
Success Criteria
Phase 1 Done: 52%+ pass rate (230+ tests) Phase 2 Done: 70%+ pass rate (307+ tests) ✅ GOAL
Help & Resources
Full Analysis:
/workspaces/agentic-qe-cf/docs/reports/PASS-RATE-ACCELERATION-ANALYSIS.md
Complete Report:
/workspaces/agentic-qe-cf/docs/reports/PASS-RATE-ACCELERATION-COMPLETE.md
Query Analysis:
bash scripts/query-pass-rate-analysis.sh
SwarmMemoryManager Keys:
tasks/PASS-RATE-ACCELERATION/baseline
tasks/PASS-RATE-ACCELERATION/priorities
tasks/PASS-RATE-ACCELERATION/phase-plan
tasks/PASS-RATE-ACCELERATION/root-causes
tasks/PASS-RATE-ACCELERATION/status
Next Steps
- ✅ Review this quick start
- ✅ Read full analysis (optional)
- ✅ Create feature branch
- ✅ Start with Phase 1, Task 1 (Agent Tests)
- ✅ Test incrementally
- ✅ Achieve 70% pass rate!
Let's go! 🚀