Skip to content

Show the headline metric in the program heatmap by default - #169

Merged
MaxGhenis merged 2 commits into
mainfrom
heatmap-exact-default
Sep 6, 2026
Merged

Show the headline metric in the program heatmap by default#169
MaxGhenis merged 2 commits into
mainfrom
heatmap-exact-default

Conversation

@MaxGhenis

Copy link
Copy Markdown
Contributor

Summary

The homepage "Program breakdown" heatmap rendered the bounded score (partial credit for close dollar answers) beneath a leaderboard whose headline is exact match, with only a paragraph naming the difference. Reading the two together, Claude Fable 5.1 showed 93% on federal income tax and 92% on state income tax where its exact-match rates are 69% and 63%, while its headline says 86.9%.

  • The heatmap now defaults to exact match, the headline metric, and offers within-1% and the bounded score as a labeled switch (aria-pressed buttons).
  • The paragraph states the selected metric and its definition, and says the cells are unweighted per-program rates that do not average to the headline, which weights programs by their share of household dollars.
  • Sorting and the row averages follow the selected metric.

No data or score change.

Tests

app/tests/heatmapMetric.test.ts: the default is exact; the metric selector returns exact and bounded values that differ where partial credit is large (federal tax 69 vs 93); the rendered federal-tax row carries every model's exact rate, not the bounded scores, and the copy names the metric. bun run lint && bun run test && bun run build pass.

🤖 Generated with Claude Code

The homepage heatmap rendered the bounded score (partial credit for close
dollar answers) under a leaderboard whose headline is exact match, with
only a paragraph naming the difference: Claude Fable 5.1 read 93% on
federal income tax where its exact rate is 69%. The heatmap now defaults
to exact match, offers within-1% and the bounded score as a labeled
switch, states the selected metric and its definition, and says that
cells are unweighted rates that do not average to the headline. Test
renders the frozen data and checks the federal-tax row carries every
model's exact rate, not the bounded scores.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
policybench-site Ready Ready Preview Sep 6, 2026 12:25pm UTC

Request Review

Within 1% also accepts an answer within $1 when the reference is $0; the
bounded score gives a nonzero answer to a $0 reference no credit. Test pins
both against a frozen row (scenario_102 self-employment tax, Claude Haiku
4.5: $0.14 against $0 scores 100 exact and within-1%, 0 bounded).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@MaxGhenis
MaxGhenis merged commit cb33962 into main Sep 6, 2026
5 checks passed
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.

1 participant