Skip to content

House style for every figure, and a design-review checklist - #154

Open
syednafizreja wants to merge 1 commit into
mainfrom
visual-standard
Open

syednafizreja wants to merge 1 commit into
mainfrom
visual-standard

Conversation

@syednafizreja

Copy link
Copy Markdown
Owner

Requested by Researcher007 · project thread

What

The author's rule of 9 Nov 2026: every ShellBench output has to look and work like careful, expert work. This PR sets one house style and redraws every figure in it. No analysis or result changed.

  • src/shellbench/style.py and shellbench.mplstyle: Elsevier column widths (90/140/190 mm) and 7 pt lettering, Arial (Liberation Sans on Linux), the validated dataviz colour order, vector PDF and SVG plus a 600 dpi PNG with no date stamps, ownership footer, and review(), an automated design check (width, text size, overflow, axis labels, no title in paper copies).
  • src/shellbench/figures.py: one builder per figure, fed only from results/. python -m shellbench.figures redraws all seven; --paper writes footer-free copies to figures/paper/.
  • docs/visual_standard.md: the standard, with sources, and the checklist every figure, CLI output, README and social card must pass.
  • tests/test_style.py: 23 tests.
  • Anchor and benchmark plot functions now call figures.py.

Surrogate freeze

src/shellbench/ml/ is untouched (frozen at 5c11ce8). scripts/surrogate_figures.py calls the frozen functions in the order of conformal.main, writes the same CSVs, and adds results/surrogate_predictions.csv so the parity figure can be redrawn without re-training. Re-run in the cloud: surrogate_accuracy.csv came out byte-identical. For the 11 Nov DOI run, use this script in place of python -m shellbench.ml.conformal.

Checks

  • pytest: 227 passed, 9 skipped (no ccx in the cloud).
  • results/ unchanged apart from the new predictions file.
  • RMSE written on each parity panel equals surrogate_accuracy.csv; the waterfall's saving equals S_b in anchor_slab_vs_shell.csv.
  • Every figure viewed at full size after rendering.

Generated by Claude Code

One style for all ShellBench figures (src/shellbench/style.py,
shellbench.mplstyle): Elsevier column widths and 7 pt lettering, Arial,
validated colour order, vector PDF/SVG plus 600 dpi PNG without date
stamps, and an automated review. figures.py redraws every figure from
results/ (python -m shellbench.figures; --paper for journal copies).
docs/visual_standard.md holds the rules and the checklist.

No analysis or number changed. src/shellbench/ml/ (frozen at 5c11ce8)
is untouched; scripts/surrogate_figures.py calls it and adds
results/surrogate_predictions.csv for the parity figure.
@syednafizreja syednafizreja self-assigned this Nov 9, 2026
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