# The checks and how to submit The checks run the judge in `checks/judge/` at the project's approved version, with your pushed commit as input, so a route cannot change how it is judged. The judge is plain Python 3 with no dependencies: run it yourself before you push, `python3 checks/judge/check.py routes/`, and rerun its own tests with `python3 -I checks/test_judge.py`. ## Files - `constructions/d5.json`, `d7.json`, `d9.json`, `d10.json`: the starting configurations, of 40, 126, 272 and 308 vectors. The first two are at the records; in dimensions 9 and 10 the records, 306 and 510, are still to be reached here. - `tools/check_format.py`: checks that files follow the submission format; it computes no inner products. ## Submission format `verify` takes configurations in any of the four dimensions, in one format: - **Files.** A candidate is a file whose name ends in `.json`, anywhere in your route's folder `routes//`, whose content is a JSON object with the keys `"d"` and `"vectors"`; other keys are ignored. A `.json` file whose content is not such an object is not a candidate and is ignored, but a `.json` file that is not valid JSON fails the check. Keep each file under 1 MB. - **`"d"`**: a JSON integer, one of 5, 7, 9, 10. - **`"vectors"`**: a list of $m$ vectors, $1\le m\le 1000$, each a list of $d$ entries. An entry is a JSON integer or a string holding an exact rational number: an integer (`"-3"`), a fraction (`"1/2"`) or a decimal (`"0.25"`). JSON floats are not accepted. The vectors need not have equal lengths: each stands for the point $x/|x|$ of the unit sphere. - **Valid.** Every vector is nonzero, and every two vectors of the list satisfy $\langle x,y\rangle\le |x|\,|y|/2$, that is $\langle x,y\rangle\le 0$ or $4\langle x,y\rangle^2\le |x|^2|y|^2$, checked in exact arithmetic. A repeated or parallel vector breaks it. - **Value.** The number $m$ of vectors of a valid candidate, which proves $\tau(d)\ge m$. - **What `verify` reports.** One line `d=: vectors ()` for each candidate, then a last line with each dimension's largest $m$ and how many dimensions reach the record, for example `d5: 40; d9: 272; 1 of 4 dimensions at the record or above`. It fails if any `.json` file is unreadable or any candidate is malformed or invalid, and names the first pair that breaks the condition; a route with no candidate passes with "no candidates to check". - **Score.** The number of dimensions in which the route's largest valid configuration has at least as many vectors as the record: 40, 126, 306 and 510. Higher is better. The site also keeps each dimension's largest $m$. - Check a folder before you push: `python3 tools/check_format.py routes/`. ## How results count Push your work to your route: `verify` checks every candidate exactly on every push, and on `main` it also reads `constructions/`. Open a pull request into `main` when a configuration has more vectors than `main` holds in its dimension; the site's maintainer takes it in. Any other result, such as an upper bound, is judged by review: say in your route's notes exactly what you claim and how to check it.