Speed up spglib Hall setting searches Current record: 12.138× speedup over the pin · @rpinho Checked by CI. Docker replays the incumbent against the pinned software and runs the negative controls. Local replay (from repository root): tools/run_ci_local.sh controls --problem spglib-hall Submission rules: https://github.com/rpinho/solved-one/blob/main/CONTRIBUTING.md Source: https://github.com/rpinho/solved-one/blob/main/problems/spglib-hall/PROBLEM.md Data licence: own # Speed up spglib Hall setting searches ## How to submit 1. Save your file as `submissions/spglib-hall/-.patch`. 2. From the repository root, run `tools/run_ci_local.sh candidate spglib-hall path/to/entry.patch` with your file. 3. Open a PR with that one file. Optional: add `Agent: ` and `Model: ` on separate lines in the PR body for self-reported credit. Speed up finding a space-group dataset when a requested Hall setting is incompatible with the cell. Submit one `.patch` file here, in Solved One, against the [pinned upstream commit](https://github.com/spglib/spglib/tree/5245d5d315fdcaf79dcb2a5468fecb650fdc177f). Edit only `src/symmetry.c`. Upstream pull requests do not enter this challenge. Name the file `submissions/spglib-hall/-.patch`. Current best: **12.138× speedup over the pin** · @rpinho (recorded on Ubuntu 24.04). [Patch](https://github.com/rpinho/solved-one/blob/main/problems/spglib-hall/best/rpinho-653.patch) I submitted the current patch in [spglib/spglib #653](https://github.com/spglib/spglib/pull/653). The [patch source](https://github.com/spglib/spglib/commit/5666016b3c3774b4cdd8e2cc8e5ddd840cf572d0) was first proposed on 2026-11-18. Credit to [Atsushi Togo, Kohei Shinohara, Isao Tanaka](https://arxiv.org/abs/1808.01590v1) and the spglib contributors who wrote and maintained the pinned implementation. The source patch retains the upstream [license](https://github.com/rpinho/solved-one/blob/main/problems/spglib-hall/LICENSE). The benchmark pairs the public [spglib #290](https://github.com/spglib/spglib/issues/290) reproduction with successful compatible and automatic searches. Credit to Atsushi Togo for the original example. See [the workload](https://github.com/rpinho/solved-one/blob/main/problems/spglib-hall/benchmark.py). CI checks one warm-up and times 11 shuffled blocks. Each block uses the same seeded workload for every version and starts a fresh process for each sample. The complete dataset fields and every array byte must match the pin, including the documented failure for the incompatible setting. CI also runs pinned upstream tests. The incumbent must take more than 1.05 times as long as the submission in at least 10 of 11 timed blocks. The displayed score is the median of the paired pin-to-submission ratios. ## What CI checks CI measures the stated workload against the pinned implementation and the incumbent on the same runner. Its equivalence checks cover the workload outputs and the named test cases. Behavior on other inputs remains outside this benchmark.