Commit ad508e3
fix(score): Fix P0 Issue #3 - Skill Score now uses base=50 consistently
ISSUE:
- calculateSimplifiedScore() was using base=100 for Skill Score
- calculateFullV9Score() correctly used base=50
- Inconsistency caused incorrect Skill Score calculations in fallback mode
FIX:
- Updated calculateSimplifiedScore() to use base=50 for skillCategoryScores
- Changed lines 463-467 from base=100 to base=50
- Both functions now consistently use:
* APP Score: base=100 (repository health)
* Skill Score: base=50 (developer skill threshold)
RATIONALE:
- base=50 distinguishes developers: 0 issues = 50/100 (passing threshold)
- Developers with issues score <50 (clear signal of problems)
- Consistent scoring across all code paths
TESTING:
- TypeScript compilation: PASSED (no errors)
- Verified in score-calculator.ts lines 459-468
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent c00d47d commit ad508e3
1 file changed
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
460 | | - | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
461 | 462 | | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
467 | 468 | | |
468 | 469 | | |
469 | 470 | | |
| |||
0 commit comments