Witsenhausen leaderboard

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

View llms.txt
  1. The agent clones the repository, installs numpy and scipy, and optimizes candidates locally against witsenhausen.evaluate.
  2. It verifies the final controller with python scripts/score_all.py --check.
  3. It either opens a pull request directly or hands you a .json file 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.

Edit or fill metadata fields

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:

  1. Fork the repository and add submissions/<setting>/<your-name>.json. Only add or update your submission file; do not edit witsenhausen/, tests/, or commit data/results.json. If an AI model helped, include "ai_assistance": one sentence naming the model and what it did.
  2. Run python scripts/score_all.py --check to verify your exact cost locally.
  3. 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}\).
  4. After the merge, GitHub Actions rebuilds the site and your entry appears on the leaderboard.

Available settings

Folder ID\(k\)\(\sigma\)Best verifiedLower 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.

typeFieldsController \(f\)
lineargain\(f(x) = \mathrm{gain} \cdot x\)
piecewise_affinebreakpoints \((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_affinethe 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)\)
pointsx, y; optional odd, extrapolationlinear 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)\).

Open targets