Skip to content
Open
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
26 changes: 23 additions & 3 deletions docs/architecture/discovery-hunts.md
Original file line number Diff line number Diff line change
Expand Up @@ -1164,6 +1164,26 @@ 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 C: GPU, linking, crates and SPIFF (checked 26 Nov 2026, #195).** Same method and 12-month rule as batch A (a release since 26 Nov 2025). Read from PyPI JSON records and the source repositories; the hosts `pytorch.org`, `download.pytorch.org`, `zenodo.org`, `doi.org` and `arxiv.org` could not be reached from the session, so the rows marked **open** need a second pass. Nothing is added to `backend/pyproject.toml`.

| Library (PyPI name) | Licence (SPDX) | Copyleft? | Newest stable, released | Wheels 3.12 Win / Linux | Maintained? (last release) | Source |
|---|---|---|---|---|---|---|
| `cupy` | [MIT](https://pypi.org/pypi/cupy/json) (LICENSE file not read) | No | 14.2.0, 20 Aug 2026 | **No / No**: PyPI holds only a source archive that needs the CUDA toolkit and a compiler | Yes (20 Aug 2026) | [cupy/cupy](https://github.com/cupy/cupy) |
| `cupy-cuda12x` and `cupy-cuda13x` (the prebuilt CuPy) | [MIT](https://pypi.org/pypi/cupy-cuda12x/json) | No | 14.2.0, 20 Aug 2026 | Yes / Yes (`cp312-win_amd64`, `cp312-manylinux2014_x86_64`) | Yes (20 Aug 2026) | same repository |
| `torch` | PyPI lists a combined expression (Apache-2.0, BSD-2-Clause, BSD-3-Clause, BSL-1.0, ISC, MIT, Zlib); the [repository LICENSE](https://raw.githubusercontent.com/pytorch/pytorch/main/LICENSE) is BSD-style | No for torch; the NVIDIA wheels it pulls on Linux are proprietary | 2.15.0, 28 Oct 2026 (Python >=3.11) | Yes / Yes on PyPI (`cp312` `win_amd64` and `manylinux_2_28_x86_64`); **CPU-only and per-CUDA builds: open** | Yes (28 Oct 2026) | [pytorch/pytorch](https://github.com/pytorch/pytorch) |
| `heliolinx` | [BSD-3-Clause](https://pypi.org/pypi/heliolinx/0.0.2/json) (PyPI licence text) | No | 0.0.2, 25 Mar 2024 (the only release) | **Linux only** (`cp312-manylinux_2_24_x86_64`); no Windows wheel, so Windows builds the sdist with a C++14 compiler and pybind11 | **No by the 12-month rule** | PyPI has no repository link; [lsst-dm/heliolinc2](https://github.com/lsst-dm/heliolinc2) looks like the same code (not confirmed) |
| `rocrate` | [Apache-2.0](https://pypi.org/pypi/rocrate/json) | No | 0.16.0, 6 Oct 2026 | Yes / Yes (one pure-Python wheel) | Yes (6 Oct 2026) | [ResearchObject/ro-crate-py](https://github.com/ResearchObject/ro-crate-py) |
| SPIFF | [MIT](https://github.com/jgagneastro/SPIFF) per the repository page (LICENSE text not read) | No | No tag or release | **Not on PyPI**: `pip install "spiff @ git+https://github.com/jgagneastro/SPIFF.git"` or a clone with `pip install -e .` | **Open** (commit dates not visible) | [jgagneastro/SPIFF](https://github.com/jgagneastro/SPIFF) |

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

- **Name traps.** PyPI `spiff` (0.1.5, 2014, licence "UNKNOWN") is an unrelated project; never pin it. PyPI `thor` is an HTTP library, not the asteroid THOR.
- **CuPy.** `pip install cupy` builds from source. The wheel route is `cupy-cuda12x` or `cupy-cuda13x`; the H-ticket names the one it needs and keeps the NumPy path as the reference (PD-16).
- **heliolinx fails the maintained rule and has no Windows wheel.** The linking route of R-37 therefore needs a decision in HN-12 (build it, or choose another linker). Its BSD-3-Clause claim rests on PyPI metadata; the repository's own LICENSE file was not seen.
- **torch on Linux** pulls `nvidia-cudnn-cu13`, `nvidia-nccl-cu13`, `nvidia-nvshmem-cu13`, `nvidia-cusparselt-cu13` and `cuda-toolkit` (proprietary NVIDIA terms, not read). No GPL or LGPL was found in the dependencies read; the licences of `sympy`, `networkx`, `jinja2`, `fsspec`, `filelock` and `setuptools` were not checked.
- **rocrate** depends on `requests`, `arcp` (Apache-2.0), `jinja2`, `python-dateutil` and `click`; no copyleft in what was read.
- **SPIFF** bundles `spherex_templates.joblib` and `spherex_bins.csv` and states no separate licence for them; `spiff-lv2` needs live IRSA and S3 access. Its templates' own licence is the Zenodo record's (V26, open).

### 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 Expand Up @@ -1240,7 +1260,7 @@ The first draft's research (17 Nov 2026) was at the level of search results and
| V15 | VSX | Resolved: account, moderated one by one, no bulk channel |
| V16 | TNS | Resolved: Galactic novae to CBAT; H7 is context only |
| V29 | ExoFOP | Resolved: published candidates only since 19 Aug 2026 |
| V30 | RNAAS terms and the AAS template licence | Partly resolved: free, editor-reviewed, about 72 h; template licence open |
| V30 | RNAAS terms and the AAS template licence | Partly resolved: free, editor-reviewed, about 72 h; the AASTeX 7 template is under LPPL-1.3c ([AASJournals/AASTeX7](https://github.com/AASJournals/AASTeX7), LICENSE file read, 26 Nov 2026); whether a BSD-3-Clause tool may bundle or adapt it is **open** (LPPL clause 6 not read; list it as a third-party licence under D-41 if bundled) |

**Methods and figures**

Expand All @@ -1255,12 +1275,12 @@ The first draft's research (17 Nov 2026) was at the level of search results and
| V23 | Runaway thresholds, cluster catalogue, the 2025 search | Resolved: 25 km/s 2D or 30 to 40 km/s 3D; Hunt & Reffert 2023; Carballo-Bello et al. 2025 |
| V24 | Gaia BH citations | Resolved: El-Badry et al. 2023; Andrews et al. 2022 |
| V25 | ParSNIP figures | Resolved: 89% in five classes (Boone 2021); 82% is Aleo et al. 2023 (H7 no longer quotes either) |
| V26 | Redistribution licences: Chen 2020, footprints, model grids, SPIFF and templates, network weights | Open (R-12) |
| V26 | Redistribution licences: Chen 2020, footprints, model grids, SPIFF and templates, network weights | Partly resolved (26 Nov 2026): SPIFF code is MIT (repository page); the XGBoost weights of Kota et al. 2022 (R-44) have no published release that was found. **Open (R-12):** Chen 2020 (Zenodo 10.5281/zenodo.3886372, licence field not read), the SPIFF Spectrophotometry Library (Zenodo 19051216), coverage footprints, model grids |
| V31 | The rate grid for H11 and the TESS shift-and-stack precedents | Partly resolved: precedents corrected (R-48); the rate grid is open |
| V32 | The orbit-fit library for H4 and the VOTable validator | Open: R-37 found no permissive orbit-fit route (the choice waits for the licence decision, V35); the FIELD rule is checked against the VOTable schemas, the validator run is open |
| V33 | THOR, ZTF, Pan-STARRS and NEOWISE linking criteria, read in full | Open: blocks HN-12 |
| V34 | SPHEREx end-to-end astrometric accuracy: IRSA Explanatory Supplement section 4.2.2 and arXiv:2511.15823 in full | Open: blocks HN-5's error model |
| V35 | The licences of the chosen orbit tools and their dependencies (checked 19 Nov: see R-37); the project licence is D-41 | Open: blocks any pin in HN-12 |
| V35 | The licences of the chosen orbit tools and their dependencies (checked 19 Nov: see R-37); the project licence is D-41 | Partly resolved (26 Nov 2026, PyPI records and repositories). MIT or BSD themselves: `adam-core` 0.8.0 (MIT), `layup` 1.1.0 (MIT), THOR (BSD-3-Clause), `heliolinx` (BSD-3-Clause). **GPL, so optional plugin only under D-41:** `adam-assist` 0.7.0 (GPLv3), `assist` 1.2.3 (GPL), `rebound` 5.2.3 (GPL-3.0-only), `sorcha` 1.2.1 (GPLv3 for five files, otherwise dual GPLv3 and BSD), Find_Orb (GPL-2.0), OpenOrb `pyoorb` 1.3.0 (GPL). THOR and `layup` pull GPL through `adam-assist`, `assist` and `rebound`, so a default install of either is not D-41-clean. Open: licences of `jpl_eph`, `sat_code`, `lunar` and the `naif-*` and `jpl-debias` packages |
| V36 | A simulation confirming 150 to 300 injections for a 3-parameter completeness curve | Open: blocks HN-4's table format |
| V37 | The sources marked [verify] in R-29 to R-49 | Partly resolved (Atish's third review, 20 Nov 2026): RO-Crate (Data Science 5(2):97–138), the Software Citation Principles (PeerJ CS 2:e86), Gross & Vitells (EPJC 70, 525), Benjamini & Hochberg (JRSS-B 57, 289), VanderPlas 2018 (ApJS 236, 16), ASSIST's licence (GPL-3), the IVOA ProvenanceDM v1.0 Recommendation (11 Apr 2020) and TESS's 200 s frames are confirmed. Still open: the gamma-CDF form in KSCI-19111-002 §3, Kuchner et al. 2016 on dust (full text), archive limits (R-42), ASCL eligibility (R-40). Blocks registering R-29 to R-49 (HN-0) |

Expand Down
Loading