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:
AlbertoPMDM
2026-11-19 01:28:54 -06:00
parent 624774bfd9
commit 0e942e04c1
18 changed files with 665 additions and 304 deletions
-3
View File
@@ -22,7 +22,6 @@ EXTRA = {
"validation": {"fhir"},
"serving": {"mlflow"},
"pipeline": {"dask", "distributed", "s3fs", "fsspec", "psutil"},
"verify": {"dask", "distributed", "s3fs", "fsspec"},
"export": set(),
}
# lazy imports inside the director's figure / HDF5 helpers (never reached by legacy)
@@ -90,8 +89,6 @@ def test_imports_respect_boundaries(path):
if top == "tea_modulo":
if unit and unit[0] == "export":
ok = mod == own or mod.startswith(own + ".")
elif unit == ("verify",):
ok = True # an application: it wires everything, like tests do
elif not unit:
ok = mod in ("tea_modulo", "tea_modulo.contracts") or mod.startswith("tea_modulo.contracts.")
else: