Skip to content

feat(efficacy): a report summary with one row per arm, and short contrast cells - #95

Merged
braboj merged 3 commits into
mainfrom
feat/report-layout
Nov 1, 2026
Merged

braboj merged 3 commits into
mainfrom
feat/report-layout

Conversation

@braboj

@braboj braboj commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

The round 5c report was hard to read: the summary named its columns by file descriptions, left out none, and packed lists into cells. This redraws it.

Before:

| | Templates' hybrid file, 511 lines | Templates named only, 19 lines | ...
| Improves the code? | **Worse** | **Worse** | ...
| Primary rows that moved | readability +0.1, data protection +0.2 | security +1.1, ... |

After:

| Arm | File | Verdict vs `none` | Hidden tests passed | Security, judge 1–5 | Adherence | Cost per trial |
| `none` | no file | — | 99 % | 2.4 | 47 % | $4.29 |
| `reference` | 19 lines | Worse | 88 % ▼ (4 runs low) | 3.5 ▲ | 54 % ▲ | $7.21 ▼ |

Contrast cells, before and after:

0.143 (0.024, 0.333) — better          +0.143 [0.024, 0.333] ▲
0 (0, 0) ‡ — no improvement shown, preserved within 0.3 points          0 [0, 0] ‡ ≈
Part Change
Summary One row per arm, none first, then by cost; one marked mean per cell; low runs listed under it
Per-arm sentences Open with the arm's word, in the table's order
Contrast tables A margin column; cells as mean, interval and mark; one legend per table
Removed The summary-only helpers and their checks

Checks:

  • report 148/148, archive 19/19, progress 23/23; pyflakes clean
  • a draft of round 5c renders as above

🤖 Generated with Claude Code

https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX

…rast cells

The executive summary was one column per file, named by a description of
the file, without the bare arm, and its cells held comma lists. It is
now one row per arm, the bare arm first and the rest from the cheapest
to the dearest, with one mean per cell marked by its verdict against the
bare arm, and the low runs named under it. Each file's sentence opens
with its arm's word.

The contrast tables gain a margin column, print each cell as the mean,
its interval and a mark, and spell the marks out once in a legend under
the table instead of a verdict phrase in every cell.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX
…-sided

A neutral row, a pair across rounds and a judge disagreement withhold a
verdict on purpose; they now carry their own mark instead of reading as
no difference shown. The legend states that held and preserved bound
only the interval's worse end by the margin, which is not equality, and
the summary uses the same marks and legend as the tables.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX
@braboj

braboj commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Codex review round 1 (gpt-6-astra, effort high).

PR Problem, in plain words Sev. Outcome
benchmark#95 Rows that withhold a verdict on purpose (neutral rows, pairs across rounds, judges that disagree) looked like "no difference shown" P2 Fixed: they carry their own mark, ○
templates#2425 The legend said ≈ means the whole interval sits inside the margin; the check only bounds the worse end P2 Fixed: the legend says held and ≈ bound only the worse end, which is not equality

The summary now uses the same marks and legend as the tables. Fixes in benchmark#95 (bb584e4); report regenerated in templates#2425 (0f063abf). No figure changed.

  • report self-test 148/148; the withheld-mark check fails with the mark removed
  • the report lints clean

A mean whose contrast had too few complete pairs printed unmarked, which
the legend reads as no difference shown. It now reads not compared.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX
@braboj

braboj commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Codex review round 2 (gpt-6-astra, effort high).

PR Problem, in plain words Sev. Outcome
benchmark#95 A summary mean whose contrast had too few pairs printed unmarked, which reads as "no difference shown" P2 Fixed: it reads "(not compared)"
templates#2425 Nothing found — Clean; regenerated for the new legend line
  • report self-test 148/148; the check fails with the mark removed

@braboj

braboj commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Codex review round 3 (gpt-6-astra, effort high): no findings. Ready to merge.

@braboj
braboj merged commit e1ba3f4 into main Nov 1, 2026
2 checks passed
@braboj
braboj deleted the feat/report-layout branch November 1, 2026 07:10
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