Commit Graph

1 Commits

Author SHA1 Message Date
alberto 8fd4930ca9 T3: TEA age curves train from one training source: the site or a folder
PLAN-feature-parity §2.3 and user decisions 2 and 6.
- jobs._cohort(source, as_of) replaces _reference: kind "site" (default) takes the valid
  EEGs of the children without the diagnosis by the cut-off (persistance.eeg
  .without_diagnosis, rebuild's ruled-out group in tea/parity's design); kind "folder"
  takes a folder under TEA_REFERENCE_ROOT with its EDFs and edades.csv (path, age in
  months), measured at the folder's mains and cached by content as before.
- The legacy TEA_REFERENCE_DIR / TEA_REFERENCE_AGES path, the hk1k name and the
  years-to-months ages table are gone: Helsinki is one such folder.
- Reports and params name the cohort (site or the folder), its digest, and the cut-off
  (site) or mains (folder).
- definitions: Training.source (TrainingSourceConfig) replaces reference.
- tests: test_tea_reference -> test_tea_training_source (folder listing and errors, the
  site cohort's cut-off rules).
2026-12-01 00:53:27 -06:00