Commit Graph

21 Commits

Author SHA1 Message Date
edgar ec36df6a2c Merge pull request 'Feature/model proto' (#1) from feature/model-proto into dev
Reviewed-on: http://10.0.10.41:3000/ISSSTELEON/models/pulls/1
2026-11-03 21:31:29 +00:00
edgar dd94aba1eb testing: CacuStandIn as a helper for other code's tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 21:20:15 +00:00
edgar 449c67b19d contract: only the contract after removing the stand-ins
Drops the helpers only the stand-ins used, tests the contract with an
estimator defined in the test, and updates the README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 21:16:51 +00:00
edgar d6f7acc1fa STADIN not necessary for now 2026-11-03 21:15:15 +00:00
edgar 5fa931d92d dags: the timeline is always read with an explicit known_until
known_until is the build's conocida_hasta or, when the build has none,
the moment of the read; it's a node, so the run can record it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 20:27:05 +00:00
edgar bc15cc3e04 dags: reading nodes for a cohort build, its members and their timeline
The timeline is cut at the build's clinical and load cut-offs, so the
read can be repeated. Adds apache-hamilton.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 20:19:03 +00:00
edgar c8bca59334 contract: translate the risk estimation contract to English
riesgo.py becomes contract.py: RiskEstimator, Risk, Provenance and the
CacuStandIn, TeaStandIn and CamaStandIn stand-ins. Fields that mirror
the batch columns keep their names, and the stand-ins' provenance is
unchanged. Tests say why each one exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 19:30:08 +00:00
edgar c11575f656 Merge feature/modelos-mlflow: the risk estimation contract and its stand-ins
riesgo_logistico.py stays out until the first real model; README and
pyproject keep main's side.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 19:28:36 +00:00
Roberto Treviño Cervantes f9d3b8f67e reorganization 2026-10-31 12:48:09 -06:00
Roberto Treviño Cervantes 6e8ed1003d drop cohort builder plumbing; use kit cohorte_armado builds for MLflow lineage 2026-10-30 11:19:21 -06:00
Roberto Treviño Cervantes cbb3b9c7b6 integration layer; merge work on indicators from forks with existing ingestion pipeline 2026-10-23 00:00:13 -06:00
edgar 28ff4605f3 MD-008: prueba de concepto del modelo CIN2+ con MLflow (riesgo_logistico)
Entrena una logística sobre el marco de cacu/cohorte_vigilancia, la registra en
MLflow (MLFLOW_TRACKING_URI; en el despliegue, el 9705) y la sirve a la arista
`estimar` con EstimadorMlflow, que verifica el sha del artefacto. Sin pacientes
en MLflow. mlflow-skinny fijado a la versión del servidor; mlflow completo solo
en dev para las pruebas con sqlite.

CSO5.5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:48:30 +00:00
rodrigo 2b855be12d Integra T-21h en models
CSO5.5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 19:55:13 +00:00
rodrigo 92c5c69c2d T-21h: el sustituto de TEA a 4 años (48 meses)
CSO5.5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 19:55:13 +00:00
rodrigo ee1c307d57 Integra T-21g en models: RiesgoSinteticoCama
CSO5.5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 14:14:39 +00:00
rodrigo e5526b9ec3 T-21g: RiesgoSinteticoCama, el sustituto de CaMa por BI-RADS índice
CSO5.5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 13:55:48 +00:00
rodrigo 86b508cba8 Integra T-21f en models: RiesgoSinteticoTea
CSO5.5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 12:56:20 +00:00
rodrigo 04c8cbafd1 T-21f: RiesgoSinteticoTea, el sustituto de TEA sobre la cohorte de tamizaje
CSO5.5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 12:34:55 +00:00
rodrigo 4c5bccb805 T-21b: el contrato EstimadorDeRiesgo y el estimador sustituto RiesgoSintetico (ADR-MD-008)
CSO5.5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 09:29:21 +00:00
Roberto Treviño Cervantes 73547f2bb1 add readme 2026-09-21 10:37:40 -06:00
Roberto Treviño Cervantes ca9d3ad81f initial commit 2026-09-21 10:23:42 -06:00