Skip to content

fix(cli): stop using 'failed' for two different things in run summary - #5

Closed
n-papaioannou wants to merge 1 commit into
mainfrom
fix/cli-misleading-failure-summary
Closed

n-papaioannou wants to merge 1 commit into
mainfrom
fix/cli-misleading-failure-summary

Conversation

@n-papaioannou

@n-papaioannou n-papaioannou commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor

Bars and summary line both used "failed" for different things (below-threshold vs insufficient-evidence), producing contradictory counts. Reworded the summary line to say "insufficient evidence" explicitly.

… things

The post-run summary line said "{n} out of {total} tests have failed",
but {n} counted only tests with insufficient_evidence. The per-category
bars on the same screen marked tests as failed when they didn't pass
their score threshold. Same word, two definitions, two visibly
contradictory counts (e.g. bars: 8 ✗, line: 6 / 8 failed).

Reword to make the distinction explicit:
- success branch: "All {N} tests produced sufficient evidence to be scored."
- failure branch: "{n} out of {total} tests had insufficient evidence to
  be scored ({ids}). The remaining tests were scored but may still be
  below threshold -- see the per-category bars above."
@n-papaioannou

Copy link
Copy Markdown
Contributor Author

Superseded by #6 — the run-summary wording fix from this PR is already included in the dev→public sync (came in as dev commit 3fccdf1). Closing as redundant.

@n-papaioannou
n-papaioannou deleted the fix/cli-misleading-failure-summary branch April 30, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants