Repository navigation
Phase 7: the benchmark runner, experiments and difficulty proxies - #9
Merged
Merged
Conversation
maxplus-bench runs a TOML manifest over the fixtures, writes one JSON line per run with everything needed to run it again, and prints a table. The corpus manifest runs every registered solver on every corpus puzzle; its table without times is committed as benchmarks/results/corpus.md and a test holds that the one command reproduces it. Also: tolerance and factorial manifests, difficulty proxies from the edge compatibility graph compared with the source's rating, plotting behind the analysis extra, a first notebook that a test runs, the solver option roof_tolerance_mm and the metric backtrack_depth. docs/experiments.md has the formats and what the first experiments found. The roadmap row stays "Next" until the exit test passes in CI on both platforms. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jfg9fgTR9LYn4D2rTtfifs
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jfg9fgTR9LYn4D2rTtfifs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 7 of the roadmap: the benchmark and research platform.
What it adds
maxplus-bench: runs a TOML manifest over the fixtures, writes one JSON line per run (solver version, instance hash, seed, tolerances, configuration) and prints a table.python/maxplus_solvers/experiments/: manifests, the runner, tables, difficulty proxies, plotting (behind the newanalysisextra).benchmarks/manifests/: smoke, corpus, tolerance, factorial.benchmarks/results/corpus.md: every registered solver on every corpus puzzle, counts and no times.roof_tolerance_mmand a metricbacktrack_depth, on both production solvers and the prototype.notebooks/first-look.ipynb, run from top to bottom by a test.docs/experiments.md: the formats and the findings.Exit criterion
tests/corpus/test_benchmark.py::test_one_command_reproduces_the_corpus_table:maxplus-bench run benchmarks/manifests/corpus.toml --no-timesreproduces the committed table. The roadmap row stays "Next" until this passes in CI on Linux and Windows.What the experiments found
Checks
Locally on Windows: 1457 Python tests including the slow ones, ruff, pyright, cargo fmt, clippy and the Rust tests.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Jfg9fgTR9LYn4D2rTtfifs