Contribute
A submission is one JSON file describing \(f\) as a piecewise-affine function. Nothing else is needed, because the reference evaluator always computes the optimal second controller \(g_f\) and the exact cost. You can point an AI agent at the problem, validate and submit a file directly from this page, open a pull request on GitHub, or send the file by email (About).
Point an AI agent
Copy a prompt below into Claude Code, Codex, Antigravity, Cursor, or any coding agent. The site publishes llms.txt, a live JSON feed (api/leaderboard.json), and a JSON Schema so agents can inspect the current records and rules in one fetch.
Prompt for an AI agent
- The agent clones the repository, installs
numpyandscipy, and optimizes candidates locally againstwitsenhausen.evaluate. - It verifies the final controller with
python scripts/score_all.py --check. - It either opens a pull request directly or hands you a
.jsonfile that you can validate and submit below.
Submit a controller from this page
Drop, upload, or paste a controller JSON file below. The page checks its schema and plots \(x_1 = f(x_0)\) against the standing record right away (no server or CDN needed), then sends it to GitHub Actions for automatic scoring by the unmodified reference evaluator.
Drop or paste a controller JSON to validate it and preview \(x_1 = f(x_0)\) against the current record.
Opens a pre-filled GitHub submission issue. Within about a minute, GitHub Actions scores your file with the unmodified evaluator on main, comments with the exact verified cost, and opens a pull request for review. No GitHub account? Download the validated file and email it (About).
What gets verified and listed
- Automatic verification for every valid submission: Any controller submitted via GitHub Issue or pull request is scored automatically by the reference evaluator and receives a public verified result (cost to 12 decimals, error estimate, first-stage cost, estimation error, and comparison against the standing record).
- Leaderboard table inclusion: The leaderboard lists new verified records or ties under the record rule, reproductions of unverified published claims, and distinct methods, parameterizations, or controller families (keeping one best entry per method and team per setting; later improvements update your entry).
- Review & merge: Valid issue submissions automatically open a pull request adding only
submissions/<setting>/<slug>.json, which is merged after a quick maintainer check and rebuilds the site.
GitHub PR & CLI workflow
If you prefer working from the terminal, or are running an autonomous agent with GitHub access, you can open a pull request directly:
- Fork the repository and add
submissions/<setting>/<your-name>.json. Only add or update your submission file; do not editwitsenhausen/,tests/, or commitdata/results.json. If an AI model helped, include"ai_assistance": one sentence naming the model and what it did. - Run
python scripts/score_all.py --checkto verify your exact cost locally. - Open a pull request. CI runs the tests, scores the submission, and checks that the claimed cost (if given) matches the verified cost within \(10^{-6}\).
- After the merge, GitHub Actions rebuilds the site and your entry appears on the leaderboard.
Available settings
| Folder ID | \(k\) | \(\sigma\) | Best verified | Lower bound |
|---|
Example submission
Table of points
"controller": {
"type": "points",
"odd": true,
"extrapolation": "constant",
"x": [0, 3.2, 3.3, 9.6, 9.7, 16.1, 16.2],
"y": [0, 0.2, 6.4, 6.7, 12.9, 13.2, 19.5]
}
Controller formats
Any controller can be submitted. Steps, sloped steps and other functions made of straight pieces are scored exactly; anything else is submitted as a table of points, and the table’s exact cost is what is verified. For a curved \(f\), place the points densely where it bends. The full specification is in the JSON Schema and the README.
type | Fields | Controller \(f\) |
|---|---|---|
linear | gain | \(f(x) = \mathrm{gain} \cdot x\) |
piecewise_affine | breakpoints \((n-1)\), intercepts \((n)\), slopes \((n)\) | \(f(x) = a_i + b_i x\) on \([t_i, t_{i+1})\); the first piece starts at \(-\infty\) and the last ends at \(+\infty\) |
odd_piecewise_affine | the same fields, for \(x \ge 0\) | pieces \([0, p_1), \dots, [p_m, \infty)\) for breakpoints \(0 < p_1 < \dots < p_m\), extended by \(f(-x) = -f(x)\) |
points | x, y; optional odd, extrapolation | linear interpolation through the table; outside it, "linear" continues the end segments and "constant" holds the end values. With "odd": true the table starts at \((0, 0)\) and \(f(-x) = -f(x)\). |