Show the predicted scoreline, not decimal expected goals

Coming-up cards and the post-match comparison now use the model's most
likely score ('2-0') instead of decimal goal expectations ('2.3-0.4');
the pre-match model card keeps just the honesty note since the bar's
chip already carries the predicted scoreline.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 13:14:08 +02:00
parent e85053aa0a
commit 3d3267d803
4 changed files with 8 additions and 10 deletions
+3 -3
View File
@@ -216,12 +216,12 @@ export function MatchPreviewPage() {
<p className="text-xs text-faint">
{finished && f.homeScore != null && f.awayScore != null
? fmt(t.match.predictedVsActual, {
ph: preview.prediction.lambdaHome.toFixed(2),
pa: preview.prediction.lambdaAway.toFixed(2),
ph: preview.prediction.topScore.home,
pa: preview.prediction.topScore.away,
ah: f.homeScore,
aa: f.awayScore,
})
: fmt(t.match.expectedGoalsLine, { home: preview.prediction.lambdaHome.toFixed(2), away: preview.prediction.lambdaAway.toFixed(2) })}
: t.match.modelHonestyNote}
</p>
</CardBody>
</Card>