Merge origin/rebuild into parity/T1-merge (models)

Per PLAN-feature-parity §2.1/2.2/2.4: non-TEA from rebuild, TEA backend from tea/parity.
- tea/association.py, tea/jobs.py, tea/eeg/reference.py: tea/parity's (tea-lib association
  checked against the reference; reference-cohort training; execution.map). rebuild's
  ruled-out training and its own association go; T3 adds the site cohort as a training
  source in tea/parity's design.
- cluster.py deleted: tea/parity's persistance.cluster + models.execution run every batch.
  The optional [dask] extra goes with it (Persistance depends on dask directly).
- definitions.py: tea/parity's jobs (tea_eeg, preview, bundles, sensor) plus rebuild's
  backup job and nightly schedule. Scoring takes Jobs.routine(); rebuild's scored() was
  the same list, so it is not kept as a second name.
- graph.py: tea/parity's edf reader node plus rebuild's file_format and otherwise-routes.
- jobs.py: rebuild's (every model is routine; no reference-trained branch).
- tests: tea/parity's logic tests kept where both changed (test_eeg, test_recurrence,
  test_silver); test_survival_seer stays deleted (P7).
This commit is contained in:
2026-11-30 23:56:11 -06:00
16 changed files with 885 additions and 414 deletions
+2
View File
@@ -11,8 +11,10 @@ dependencies = [
"mlflow-skinny",
"openai>=3.59.0",
"splink>=5.0.0",
"duckdb>=2.0.1",
"markitdown[docx,xlsx]>=0.1.9",
"ocrmypdf>=17.14.2",
"pikepdf>=10.0",
"pdfplumber>=0.11.11",
"scikit-learn>=1.9.1",
"scipy>=1.18.1",