Skip to content

fix: drop the agreement badge beside the maximum error - #524

Merged
caitlon merged 4 commits into
devfrom
fix/results-agreement-badge
Oct 3, 2026
Merged

caitlon merged 4 commits into
devfrom
fix/results-agreement-badge

Conversation

@caitlon

@caitlon caitlon commented Oct 3, 2026

Copy link
Copy Markdown
Owner

Problem

The results screen showed two coloured labels derived from the same level: "High Confidence" on the Best Compromise card and "High agreement" beside the maximum error. The second one named the closeness of the mean and the median as agreement, which the user guides already say it is not.

Change

The label beside the maximum error is gone. ResultsSection.tsx keeps the number, the bar and the hint. The detail.agreement keys leave both locales, and the hint now reads "How close the mean and the median are. The closer they are, the more precise the compromise." The agreement_level values in the API are unchanged.

The guides name the label the screen shows. docs/user/reading-the-result.md and docs/user/worked-example.md say High, Moderate or Low Confidence and state what the label measures.

Verification

  • ./scripts/ci/ci-local.sh fast: 3266 backend and 1235 frontend tests passed.
  • npm run test:coverage: statements 98.8, branches 95.65, functions 98.21, lines 99.02.
  • The four project-results-* visual baselines change with the layout and are refreshed from this PR's CI run. Not run locally: the E2E tier.

Migrations

None.

Screenshots

The refreshed visual baselines in this PR show the new card.

@caitlon caitlon added this to the v1.1-polish milestone Oct 3, 2026
@caitlon caitlon added type:bug Something is broken area:frontend React frontend area:i18n Internationalization labels Oct 3, 2026
@caitlon caitlon self-assigned this Oct 3, 2026
@greptile-apps

greptile-apps Bot commented Oct 3, 2026

Copy link
Copy Markdown

Automatic reviews are disabled for this repository.

@github-actions github-actions Bot added the size:S Under 300 changed lines. label Oct 3, 2026
@sonarqubecloud

sonarqubecloud Bot commented Oct 3, 2026

Copy link
Copy Markdown

@caitlon
caitlon merged commit 14d0f76 into dev Oct 3, 2026
20 checks passed
@caitlon
caitlon deleted the fix/results-agreement-badge branch October 3, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:frontend React frontend area:i18n Internationalization size:S Under 300 changed lines. type:bug Something is broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant