- 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.
spindle_detection's wake rhythm called raw.get_data(picks=[]) when none of
O1 O2 P3 P4 survived preprocessing; MNE raises on an empty pick. Same guard
in spindle_detection, gradient, coupling and spindle_topography.
- spindle_detection (legacy and modern): phase='N2'|'N3' searches only the
sleep windows of that stage (husos --fase); requires slow_wave_staging then.
- README: modules, requirements, use, tests and cluster verification.
- test_pipeline: both implementations register the same 5 processes and 9
biomarkers.
- Modules are looked up by name through entry points (tea_modulo.modules,
tea_modulo.legacy_modules) and checked against their protocol.
- run_study: one EDF to one small row (key, verdict, features, plan hash,
module versions; failures become error rows with paths removed).
- Modern batches are Dask-native: a dask.delayed graph under
annotate(priority=-10, retries=1), run on cluster='remote'|'local'|'sync'|
'auto'. Remote: Client(direct_to_workers=False), get_versions(check=True),
only close(). Local: processes, 1 thread, BLAS threads 1, closed by us.
- Legacy batches: tea_modulo.legacy.executor.run_serial, a plain loop.
- storage.local_copy fetches s3:// objects to a temp file inside the task.
Tests: legacy loop, Dask sync and a 2-worker LocalCluster give the same
table; error rows; positive priority refused; remote never shut down.