Skip to content

Commit 21a1115

Browse files
MDA2AVclaude
andcommitted
Fix summary: derive fail count so pass+warn+fail = total
Failed was only counting scored failures, missing unscored Pass tests. Now computed as total - passed - warnings so segments always sum to total. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d49b279 commit 21a1115

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/static/probe/render.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ window.ProbeRender = (function () {
202202
var s = sv.summary;
203203
var total = s.total || 1;
204204
var warnings = s.warnings || 0;
205-
var failed = s.failed || 0;
205+
var failed = total - s.passed - warnings;
206206
var passPct = (s.passed / total) * 100;
207207
var warnPct = (warnings / total) * 100;
208208
var failPct = (failed / total) * 100;

0 commit comments

Comments
 (0)