Commit 095b238
fix(report): Fix 4 critical report quality bugs with proper nuance
Fixed 4 critical bugs identified in v9-lite-netflix-conductor report:
BUG #1: CheckStyle severity classification (ai-severity-classifier.ts)
- Enhanced AI prompt to DEFAULT TO LOW (99.9% of cases) for CheckStyle
- Kept AI judgment capability for rare exceptions (security-sensitive patterns)
- Added 15+ common CheckStyle rules explicitly documented as LOW
- Removed programmatic forcing - maintains nuance while providing strong guidance
- Example: DesignForExtensionCheck (627 files) will now correctly be LOW
BUG #2: Financial impact calculation (business-impact.ts)
- Changed messaging to separate "Auto-Fix Time" vs "Review Time"
- Clarified that auto-fix takes minutes (run formatters)
- Review time cost is for code review, NOT manual coding
- Resolves "$242k for 100% auto-fixable" contradiction
- After BUG #1 fix: Cost will drop from $242k to ~$15-30k
BUG #3: Agent Performance missing model names (metadata-footer.ts)
- Added "Model" column to Agent Performance table
- Extracts model from agent.modelUsed.model (primary)
- Fallback to agent.model or agent.modelName
- Now shows: "minimax/minimax-m2" instead of "N/A"
BUG #4: Duplicate commit fingerprints in trend (v9-skill-score-manager.ts)
- Added commitHash to SkillScoreData interface
- Updated getScoreTrend() to filter duplicate commits
- Database insert now stores commit_hash
- Resolves "60→30→30→30" duplicate trend issue
- Example: Now shows "60→30" (unique commits only)
Technical details:
- Enhanced CheckStyle prompt from 87-124 lines with strict guidance
- Auto-fix messaging updated with clear time breakdowns
- Model extraction handles object format: {provider, model, temperature}
- Commit filtering uses Set<string> for O(1) lookup performance
All fixes preserve nuance and follow proper CI/CD workflow (feature branch).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent bfef26b commit 095b238
4 files changed
Lines changed: 72 additions & 15 deletions
File tree
- packages/agents/src/two-branch
- analyzers
- report
- services
Lines changed: 23 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
87 | 91 | | |
88 | 92 | | |
89 | 93 | | |
90 | 94 | | |
91 | 95 | | |
92 | 96 | | |
93 | 97 | | |
| 98 | + | |
94 | 99 | | |
95 | 100 | | |
96 | | - | |
| 101 | + | |
97 | 102 | | |
98 | 103 | | |
99 | 104 | | |
100 | | - | |
| 105 | + | |
101 | 106 | | |
102 | 107 | | |
103 | 108 | | |
| |||
108 | 113 | | |
109 | 114 | | |
110 | 115 | | |
111 | | - | |
112 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
113 | 131 | | |
114 | 132 | | |
115 | 133 | | |
| |||
131 | 149 | | |
132 | 150 | | |
133 | 151 | | |
| 152 | + | |
134 | 153 | | |
135 | 154 | | |
136 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
| 223 | + | |
223 | 224 | | |
224 | | - | |
| 225 | + | |
225 | 226 | | |
226 | | - | |
| 227 | + | |
227 | 228 | | |
228 | 229 | | |
229 | 230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
| 84 | + | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
92 | 102 | | |
93 | 103 | | |
94 | 104 | | |
| |||
Lines changed: 32 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
88 | 105 | | |
89 | | - | |
90 | | - | |
91 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
92 | 110 | | |
93 | 111 | | |
94 | 112 | | |
95 | 113 | | |
96 | 114 | | |
97 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
98 | 125 | | |
99 | 126 | | |
100 | 127 | | |
| |||
0 commit comments