Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions docs/architecture/discovery-hunts.md
Original file line number Diff line number Diff line change
Expand Up @@ -1164,6 +1164,28 @@ Per the pinned-versions rule, every library below gets an exact version in `back
- **Python 3.12 floor.** `photutils` 3.x requires Python >=3.12 and `numpy>=2`, and `pyarrow` 26 requires >=3.11. Both fit a 3.12 backend; the pinned `numpy` must satisfy `photutils`.
- **Install.** All seven are on PyPI; none needs installing from source.

**Library facts, batch B: science methods (checked 25 Nov 2026, #194).** Read from each library's PyPI JSON record (`https://pypi.org/pypi/<name>/json`) and its source repository on 25 Nov 2026. "Maintained" means a stable release in the last 12 months (since 25 Nov 2025). "Wheels" means a wheel for CPython 3.12 on Windows (`win_amd64`) and Linux (`manylinux` x86-64) is on PyPI for that version. This records facts only; it adds nothing to `backend/pyproject.toml` and chooses nothing (each hunt ticket does both).

| Library (PyPI name) | Licence (SPDX) | Copyleft? | Newest stable, released | Wheels 3.12 Win / Linux | Maintained? (last release) | Source |
|---|---|---|---|---|---|---|
| `wotan` | [MIT](https://github.com/hippke/wotan/blob/master/LICENSE) | No | 2.1.1, 18 Nov 2026 | Yes / Yes (one pure-Python wheel) | Yes (18 Nov 2026) | [hippke/wotan](https://github.com/hippke/wotan) |
| `transitleastsquares` | [MIT](https://github.com/hippke/tls/blob/master/LICENSE) | No | 2.3.0, 12 Nov 2026 | Yes / Yes (one pure-Python wheel) | Yes (12 Nov 2026) | [hippke/tls](https://github.com/hippke/tls) |
| `batman-package` | [**GPL-3.0**](https://github.com/lkreidberg/batman/blob/master/LICENSE.txt) | **Yes (GPL-3.0)** | 2.5.3, 5 May 2025 | Yes / Yes (`cp312`, `win_amd64` and `manylinux_2_17_x86_64`; no sdist on PyPI) | **No** by the 12-month rule (18 months) | [lkreidberg/batman](https://github.com/lkreidberg/batman) |
| `scikit-learn` | [BSD-3-Clause](https://pypi.org/project/scikit-learn/) | No | 1.9.1, 10 Sep 2026 | Yes / Yes (`cp312`) | Yes (10 Sep 2026) | [scikit-learn/scikit-learn](https://github.com/scikit-learn/scikit-learn) |
| `galpy` | [BSD-3-Clause](https://github.com/jobovy/galpy/blob/main/LICENSE) | No | 1.12.1, 2 Nov 2026 | Yes / Yes (`cp312`, Linux x86-64 only) | Yes (2 Nov 2026) | [jobovy/galpy](https://github.com/jobovy/galpy) |
| `gaiadr3-zeropoint` | [**LGPL-3.0-or-later**](https://gitlab.com/icc-ub/public/gaiadr3_zeropoint/-/blob/master/LICENSE) | **Yes (weak copyleft, LGPL)** | 0.1.0, 10 Jan 2025 | Yes / Yes (one pure-Python wheel) | **No** (22 months) | [gitlab.com/icc-ub/public/gaiadr3_zeropoint](https://gitlab.com/icc-ub/public/gaiadr3_zeropoint) |
| `sbpy` | [BSD-3-Clause](https://github.com/NASA-Planetary-Science/sbpy/blob/main/LICENSE.rst) | No | 0.6.0, 2 Dec 2025 | **No wheel on PyPI** (source distribution only; pure Python, no compiled extension, so it installs on both without a compiler) | Yes (2 Dec 2025, just inside the 12 months: **it falls outside them after 2 Dec 2026** unless a newer release appears; the repository was pushed 14 May 2026) | [NASA-Planetary-Science/sbpy](https://github.com/NASA-Planetary-Science/sbpy) |
| `xgboost` | [Apache-2.0](https://pypi.org/project/xgboost/) | No | 3.4.1, 15 Aug 2026 | Yes / Yes (`py3-none-win_amd64` and `py3-none-manylinux_2_28_x86_64`) | Yes (15 Aug 2026) | [dmlc/xgboost](https://github.com/dmlc/xgboost) |

**Constraints and flags for the hunt tickets (batch B).**

- **Copyleft, D-41.** `batman-package` is **GPL-3.0**: under D-41 it may only be an optional plugin the user installs, never in the default install. The transit-model step that needs it (H3) must either be a plugin or use a permissive model; the H3 ticket decides. `gaiadr3-zeropoint` is **LGPL-3.0-or-later**, a weak copyleft licence: it is not GPL, but D-41 does not mention LGPL (it allows GPL only as an optional plugin), so whether LGPL in the default install is acceptable is open: the H8 ticket ([#228](https://github.com/0ffrian/SphereX/issues/228)) asks Atish and records the answer as a `Q-` entry.
- **Not maintained by the 12-month rule: `batman-package` and `gaiadr3-zeropoint`.** Their last releases are 18 and 22 months old. The H8 ticket re-checks `gaiadr3-zeropoint` before pinning, and the H3 ticket re-checks `batman-package`.
- **Dependency licences.** No dependency of `wotan`, `transitleastsquares`, `scikit-learn`, `galpy`, `sbpy` or `xgboost` is GPL or LGPL. `tqdm` (MPL-2.0 AND MIT, file-level copyleft) is pulled in by `transitleastsquares`. On Linux, `xgboost` 3.4.1 requires `nvidia-nccl-cu13`, whose licence PyPI does not declare (an NVIDIA binary, not an open licence); check it before pinning `xgboost` on a Linux server.
- **Heavy dependency.** `wotan` and `transitleastsquares` both require `numba` (BSD-2-Clause), which pins a range of `numpy` versions; the H3 ticket pins `numba` and `numpy` together.
- **Python 3.12.** `scikit-learn` 1.9 requires Python >=3.11 and `xgboost` 3.4 requires >=3.12. Both fit a 3.12 backend.
- **Install.** All eight are on PyPI and none needs a compiler. Only `sbpy` builds from source: it has only a source distribution, which `pip` builds locally.

### A22.12 Plan, tickets and owners

Owners follow D-17 and are to be confirmed. Each search hunt ticket ships its calibration and purity tables in the same ticket, and the hunt becomes **Validated** when its gate passes (R-27). **Release 1 minimum (R-27):** HN-0, HN-1, HN-2, HN-3, HN-4b, HN-5 and HN-6 (the core, the bundle, the H4 audit and H8); the other tickets follow in the order of the table. **Said plainly:** the calibration harness (HN-4) is not in this minimum, so the release 1 **minimum** ships **no Validated search hunt** (H1 and H2 become Validated only once HN-4, HN-8 and HN-9 land, still within release 1 per R-8); H4 known rocks is Characterisation and H8 stays Experimental. R-31 to R-33 (two controls, separate controls, the maximum-statistic threshold) raise the calibration cost above R-22's estimate; HN-4 re-estimates it before it starts. R-34's automatic gate re-runs need an owner and a runner, to be named in HN-4.
Expand Down
Loading