Commit Graph

33 Commits

Author SHA1 Message Date
alberto c7caf56f83 Cancel waits up to 30 s for a run that is still starting (Dagster cannot terminate it then); still starting is a 409 with Retry-After 2026-11-29 06:06:50 -06:00
alberto 0a4deea370 Dask scheduler and workers for the test profile and CI; writes-overlap, cancel and remote-mode tests: run concurrency and cancel tests; TEA gate cancels a re-analysis and checks nothing changed 2026-11-29 04:47:23 -06:00
alberto 25955b80e8 TEA gate: re-analysis comparison keeps empty values empty 2026-11-29 03:38:20 -06:00
alberto 51bcdbdfe3 TEA hospital test follows the sensor flow; re-analysis by id in local mode; first_n
Update tests/test_tea.py. Wait for sensor analysis immediately after ingest. Keep training and promotion before scoring and submit the pending scope to apply curves.

Use monotonic polling deadlines, check failures before success, and allow 900 seconds for the expected-failure run to reach a terminal state. Pick the first valid API study, resolve its EDF through silver, compare verdict and level exactly, and compare numeric fields and code-keyed metrics with pytest.approx.
2026-11-29 01:25:29 -06:00
alberto 2131ff60a5 Merge P3.7 into P3.5 for one combined gate 2026-11-28 16:31:56 -06:00
alberto a4c3d6c1b0 Merge tea/parity into P3.5 2026-11-28 16:31:56 -06:00
alberto e3e774fca4 Merge tea/parity into P3.7 2026-11-28 16:31:55 -06:00
alberto 09691afc76 TEA gate: the 62-EEG analysis may take up to an hour on a 2-CPU test container 2026-11-28 16:31:45 -06:00
alberto 70c9506b97 tea_preview job: one file previewed, result as run output: GET /runs/{id}?outputs=true; the TEA gate also previews one hospital EDF 2026-11-28 13:37:27 -06:00
alberto 7e25dde319 Training config: reference name and mains frequency: GET /models/{domain}/{name}/training-config; POST train accepts reference 2026-11-28 13:26:18 -06:00
alberto 3438a3135b Merge P3.4: model bundle endpoints 2026-11-28 09:24:48 -06:00
alberto 88bbc6155f Generic model bundles: export and import: export and import endpoints 2026-11-28 09:24:38 -06:00
alberto e434e085fe Runs API reads Dagster again when its SQLite run storage is locked; still locked is a 503 with Retry-After
The Postgres TEA gate got a 502 polling an ingest: logsForRun failed with
'database is locked' while the run wrote its events.
2026-11-28 08:43:00 -06:00
alberto e4967347f5 Merge P1 gate: TEA end-to-end parity test against the sitio-b hospital 2026-11-28 08:14:28 -06:00
alberto 4793cf01f0 Runs API: a run's state, steps, live progress, info and warnings apart, the failure's own message; cancel; history by job and domain; execution options and health; POST /tea/eegs/analyze
test_runs.py: 17 passed on SQLite and Postgres
(compose test stack). test_conectar.py fails on an identity-merge count, as it does on tea/parity
without this change.
2026-11-28 06:54:00 -06:00
alberto 8fa2be8aab TEA gate compares the indicators after the curves score: M30 counts the alterations they find 2026-11-28 06:38:32 -06:00
alberto de4485094f TEA gate compares M24 by age and sex and M31 by sex; the platform-only M30 group per alteration is left out of the comparison 2026-11-28 05:56:42 -06:00
alberto 074fdb5305 TEA gate: ADOS-2 rows match by the platform's record number again (N-0010 is kept as N0010) 2026-11-28 04:50:07 -06:00
alberto 135f23e898 TEA gate on the sitio-b hospital: counts come from the hospital itself, ADOS-2 rows match by the hospital's own patient ids, durations counted to the 2026-11-28 load 2026-11-27 23:56:15 -06:00
Roberto Treviño 1e878b8942 Erick's site as one table, ResultadoSubrogado 2026-11-27 14:02:09 -06:00
Roberto Treviño dffd33a7bc Synthea's dead come on top of the living it was asked for 2026-11-27 08:46:05 -06:00
Roberto Treviño 9c89c9e10d Corrections of study fields; operator flow on ISSSTELEON's test source (SQL Server, two tables of PDFs) 2026-11-27 01:45:16 -06:00
Roberto Treviño 7dbb4b75fc Gate: a Synthea CaMa population through the FHIR door 2026-11-26 19:03:38 -06:00
Roberto Treviño 05980899a2 TEA gate: every EEG signal kept, alongside the reports 2026-11-26 14:25:53 -06:00
Roberto Treviño cb9115c435 TEA gate, EEG pages, analyze and named training runs 2026-11-26 07:06:52 -06:00
Roberto Treviño 26cf994d1a FHIR, follow-up lists and model jobs by domain; CaMa gate; report download for governance 2026-11-25 23:20:52 -06:00
Roberto Treviño 806302ee5d FHIR out from the catalog, the FHIR door, ConceptMap routes; round-trip, new-label and Synthea gates 2026-11-25 16:17:23 -06:00
Roberto Treviño 0dd5c035bc FHIR R4B API per domain: Patient follow-up list, clinical resources, Measure, MeasureReport, paging, CapabilityStatement; HL7 validator and page gates 2026-11-25 10:21:26 -06:00
Roberto Treviño e2ed1e9dfb Model governance and CaCu measures as FHIR MeasureReports; Phase 2 gate 2026-11-25 01:16:45 -06:00
Roberto Treviño 1c53276b55 Review persons: settle possible splits, correct identity fields; operator test settles everything 2026-11-24 22:35:13 -06:00
Roberto Treviño 326250ffb3 Conectar API: sources, uploads, pipelines, runs, node rows, review; tested end to end 2026-11-24 21:00:52 -06:00
Roberto Treviño cddf91185b Drop tests that only exercised FastAPI and a fake 2026-11-24 17:48:18 -06:00
rockdrigo df921f13cd Rebuild: FastAPI skeleton with health, domains, run status and the auth seam
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:18:08 -06:00