verification/ out of the package; ISSSTELEÓN check; a Dask-level task failure is an error row
- verification/ (hk1k, issste, common) moved out of src/: not in the wheel; the image imports it with PYTHONPATH=/opt/tea-modulo. - python -m verification issste: every biomarker, legacy and modern, on processed/eeg-edf-2025|2026; age from the EDF header inside the task; group numbers only (file names, paths, dates and rows stay in the job). - Pipeline.map (Dask): a task that dies (KilledWorker) becomes an error row instead of stopping the batch. - deploy/verify.sh [hk1k|issste]; issste uses 3 workers x 6 GiB per pod.
This commit is contained in:
@@ -61,11 +61,19 @@ with `tea_modulo.contracts.testing`.
|
||||
## Tests and cluster verification
|
||||
|
||||
- `uv run pytest` (synthetic EDFs only; no patient data).
|
||||
- `deploy/verify.sh` builds `tea-verify:<commit>` from this checkout, runs the
|
||||
test suite and the HK1K check (`python -m tea_modulo.verify hk1k`) in a
|
||||
`DaskJob` of its own; `deploy/verify.sh --logs`, `--delete`.
|
||||
- Cluster checks live in `verification/`, outside the package (not in the
|
||||
wheel). `deploy/verify.sh` builds `tea-verify:<commit>` from this checkout and
|
||||
runs one in a `DaskJob` of its own:
|
||||
- `deploy/verify.sh` (`hk1k`): the test suite plus `python -m verification hk1k`
|
||||
(HK1K, public, `raw/eeg-helsinki/`);
|
||||
- `deploy/verify.sh issste`: `python -m verification issste` on
|
||||
`processed/eeg-edf-2025/` and `eeg-edf-2026/`, with every biomarker in both
|
||||
implementations.
|
||||
- `deploy/verify.sh --logs`, `--delete`.
|
||||
- `python tools/vendor_legacy.py --check` confirms the legacy copies are
|
||||
unchanged.
|
||||
|
||||
Patient data (ISSSTELEÓN) is never read by these tests; the HK1K check reads
|
||||
only `raw/eeg-helsinki/` and writes group summaries only.
|
||||
The unit tests never read patient data. Both cluster checks write group
|
||||
summaries only, to `processed/usuarios/`. The ISSSTELEÓN check keeps file
|
||||
names, paths, birthdates and per-study rows inside the job (the 2026 file names
|
||||
carry the patient's surname), and suppresses groups under 5.
|
||||
|
||||
Reference in New Issue
Block a user