Skip to content

Release polish - #14

Merged
madeline-v-brandt merged 3 commits into
mainfrom
release-polish
Nov 18, 2026
Merged

madeline-v-brandt merged 3 commits into
mainfrom
release-polish

Conversation

@kuvychko

@kuvychko kuvychko commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Prepare the public release: README orientation, traceable claims, a results figure

Pre-announcement pass over the public-facing docs. The goal is that every number a visitor sees can be traced to a committed table or a stated run, and that the README works both as a research overview and as a technical entry point.

README

  • At a glance, a new opening section covering:
    • the three solvers (rust.contact_dfs, cp_sat.placements, python.contact_dfs) and how they relate;
    • the information regimes and the edge-to-edge assumption;
    • the two commands that reproduce the committed tables.
  • Findings: each number now names its puzzle (fixture id and app name), regime, solver, assumption and metric.
  • What the numbers are, and are not, a new section:
    • results are relative to the generated candidates;
    • arithmetic is f64 with stated tolerances;
    • a whole search gives an exact count, a stopped search gives a lower bound;
    • every assembly is checked by an independent validator;
    • nodes measure search effort, not time and not human difficulty.
  • Names in the puzzle app, a new table mapping fixture ids to app names (plt1 ↔ Pleat 32a, …) and the app's Flat/Relief modes to footprint/relief.
  • Quick start:
    • says that uv sync installs Shapely, OR-Tools and matplotlib, so everything works from a fresh checkout;
    • adds one example with its real output.
  • Status: split into short bullets.

Corrected claims

  • "1 to 7 partners with roofs" does not hold for Pleat, which averages 16 to 24. The claim is now limited to the relief puzzles other than Pleat.
  • The Pleat footprint counts (26 998 to 95 344) come from searches stopped at the node limit. They are now presented as lower bounds.
  • plt1's 749 nodes are now labelled as with roofs, assuming edge to edge.
  • cor1-flat does finish under edge-to-edge (48 assemblies, 44 539 nodes). This is now stated.
  • The heading said "Three findings" over four bullets.
  • The tables take about half an hour each to reproduce, not "several minutes".

docs/experiments.md

  • The rows the suite skips are now corpus.EXPENSIVE, which includes the ten Pleat fixtures, plus rat2-flat for CP-SAT.
  • The construction families now include cor and plt.
  • The proxy table's Source rating column is marked as historical. Since tropical-puzzle-lab cfe2c8b the app's rating is computed from this repository's node counts, so correlating it with nodes would be circular.
  • The claim that CP-SAT needs no conflicts on Pleat now says where the count comes from.

Results-at-a-glance figure

  • docs/figures/at-a-glance.svg sits at the top of the README. For each construction it plots whole-search nodes of rust.contact_dfs, log scale, in four combinations:

    • flat, assuming nothing;
    • flat, assuming edge to edge;
    • relief, assuming nothing;
    • relief, assuming edge to edge.
  • Colour is the regime (red flat, blue relief). A diamond is the edge-to-edge assumption.

  • Flat points sit just below each row's line and relief points just above, so equal counts don't hide each other.

  • Searches stopped at the node limit are drawn as open arrows, meaning a lower bound.

  • Edge-to-edge points use only the runs with both of the assumption's rules on.

  • maxplus-bench figure draws it from the two committed tables (report.parse_markdown reads them back), so redrawing it needs no search.

  • The SVG has no date in its metadata, so the same input gives the same file.

    • a missing column is refused;
    • drawing twice gives the same SVG.
  • tests/corpus/test_figure.py:

    • the committed SVG names every construction and series;
    • redrawing it gives the same labels;
    • eight points match values read off the tables by hand, among them plt1 and new1 with roofs assuming edge to edge.
  • tests/architecture/test_doc_links.py:

    • checks relative links, heading anchors and quoted repository paths in the README, CLAUDE.md and docs/, and that linked files are committed;
    • a self-test shows a deliberately broken document is caught.

Other

  • LICENSE: copyright is now Igor Kuvychko and Madeline V. Brandt, matching tropical-puzzle-lab.
  • CLAUDE.md: documents the figure command and adds that it must be rerun when a table changes. It also adds a "public numbers can be traced" invariant, backed by the link test.

Verification

  • Locally passing:
    • cargo fmt --check, clippy -D warnings, cargo test;
    • ruff check and ruff format --check, pyright;
    • HYPOTHESIS_PROFILE=ci pytest. The source tests ran against tropical-puzzle-lab at the pinned commit d3153f5.
  • Both full manifests (corpus.toml, edge_to_edge.toml, --no-times) reproduce the committed tables exactly.
  • CP-SAT reports 0 conflicts on plt1 to plt5.
  • A fresh clone works:
    • uv sync builds it;
    • the README examples print what the README says;
    • maxplus-bench figure gives the committed SVG.

No solver code changed, and no counts moved.

🤖 Generated with Claude Code

kuvychko and others added 2 commits November 17, 2026 11:38
…esults figure

README: an "At a glance" section (the three solvers, the regimes, how to
reproduce the tables), the four findings with each number's puzzle, regime,
solver and metric, a section on what the numbers do and do not claim (exact
counts against lower bounds, candidates, f64), and the app's puzzle names
beside the fixture ids. Corrections: "1 to 7 partners with roofs" excluded
Pleat (16 to 24); the Pleat footprint counts are lower bounds from stopped
searches; plt1's 749 nodes are with roofs; cor1-flat finishes assuming edge
to edge.

experiments.md: the expensive rows now include Pleat; construction families
include cor and plt; the "Source rating" column predates the source's switch
to a rating computed from this repository's node counts (tropical-puzzle-lab
cfe2c8b), so it is marked as the earlier, diversity-based rating.

A figure, docs/figures/at-a-glance.svg, drawn by `maxplus-bench figure` from
the two committed tables (report.parse_markdown reads them back), and held to
them by tests/corpus/test_figure.py. tests/architecture/test_doc_links.py
checks that relative links, anchors and quoted paths in the documents exist.

LICENSE: copyright Igor Kuvychko and Madeline V. Brandt, as in
tropical-puzzle-lab.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Measured while reproducing both committed tables exactly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The figure showed the assumption only without roofs. It now draws all four
combinations: colour is the regime (red flat, blue relief), a diamond is the
edge-to-edge assumption. Flat and relief points sit just below and above each
row's line, since equal counts (new5, new3, new1 assuming edge to edge) hid
one another.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@madeline-v-brandt
madeline-v-brandt merged commit 3d13786 into main Nov 18, 2026
2 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.

2 participants