Commit 3a662ec
fix: compute total from uploadable results instead of log entries
The `total` counter was incrementing during log parsing, counting raw
entries before deduplication and optimization. This caused the CI comment
to show a different query count than the site, which only displays
queries with uploadable states (improvements_available,
no_improvement_found, error).
Compute `total` from the deduplicated, optimized results filtered to
uploadable states so the CI comment and site always agree.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 00be1d0 commit 3a662ec
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | 87 | | |
90 | 88 | | |
91 | 89 | | |
| |||
134 | 132 | | |
135 | 133 | | |
136 | 134 | | |
137 | | - | |
138 | 135 | | |
139 | 136 | | |
140 | 137 | | |
| |||
155 | 152 | | |
156 | 153 | | |
157 | 154 | | |
158 | | - | |
| 155 | + | |
159 | 156 | | |
160 | 157 | | |
161 | 158 | | |
| |||
220 | 217 | | |
221 | 218 | | |
222 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
0 commit comments