Skip to content

Commit 19da11f

Browse files
MDA2AVclaude
andcommitted
Show unscored count in website summary bars
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bac1f7a commit 19da11f

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

docs/static/probe/render.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,15 +253,19 @@ window.ProbeRender = (function () {
253253
html += '<div style="height:100%;width:' + failPct + '%;background:' + FAIL_BG + ';transition:width 0.3s;"></div>';
254254
}
255255
html += '</div>';
256-
// Score: pass + warn / total
257-
html += '<div style="min-width:160px;text-align:right;font-size:13px;">';
256+
// Score: pass + warn [fail] [unscored] / total
257+
var unscored = total - s.passed - failed - warnings;
258+
html += '<div style="min-width:200px;text-align:right;font-size:13px;">';
258259
html += '<span style="font-weight:700;color:' + PASS_BG + ';">' + s.passed + '</span>';
259260
if (warnings > 0) {
260261
html += ' + <span style="font-weight:700;color:' + WARN_BG + ';">' + warnings + '</span>';
261262
}
262263
if (failed > 0) {
263264
html += ' <span style="color:' + FAIL_BG + ';">' + failed + ' fail</span>';
264265
}
266+
if (unscored > 0) {
267+
html += ' <span style="color:#656d76;font-size:11px;">' + unscored + ' unscored</span>';
268+
}
265269
html += ' <span style="color:#656d76;font-size:12px;">/ ' + total + '</span>';
266270
html += '</div>';
267271
html += '</div>';

0 commit comments

Comments
 (0)