Kit exit: retire indicadores_kit, converge TEA/CaMa work onto dev #179

Merged
roberto merged 29 commits from feature/kit-exit-integration into dev 2026-11-16 21:08:52 -06:00
Owner

Converges the team's branches onto one working branch, with the kit retired:

  • Kit exit (rebased feature/163-source-terminology): dbt semantic layer served as FHIR MeasureReports, TEA staging by study, cat_sistema_fuente/cat_mapeo.
  • feature/163-tea-redesign deltas: TEA order PDF column (Alembic merge revision b9e4d2c71a05), dbt manifest baked into the WebApi image, the TEA WebApp over FHIR.
  • Angel's dashboard-test WebApp presentation merged over the FHIR services (its kit-based WebApi/kit backend was not merged).
  • indicadores_kit submodule removed.
  • Live estimators wired into the recomputation worker (webapi/orchestration/estimators.py).
  • A compose profile entrenar that trains and promotes the CaCu model.
  • The follow-up list keyed by pac_id.

Deferred (see docs/ledgers/open-items.md): feature/cacu-pim-vigilancia (models as a Hamilton dataflow, second CaCu model) and Angel's three kit CaMa measures (CAM-01..03).

Also includes one finding from verifying the CaCu roundtrip end to end on a disposable staging deployment (SQL source with PDF-in-column documents -> import/extraction -> indicadores -> entrenar): I-DBT-3 in docs/ledgers/findings.md -- cin2_logistic.predictors() crashes the whole training run when a cohort has zero citología rows at all (not just one member missing one), traced to a pandas pivot_table ambiguity on a degenerate empty merge. Open, not yet fixed.

Opened per the owner's request; merging into dev is left to a person in the Gitea UI.

🤖 Generated with Claude Code

Converges the team's branches onto one working branch, with the kit retired: - Kit exit (rebased `feature/163-source-terminology`): dbt semantic layer served as FHIR MeasureReports, TEA staging by study, `cat_sistema_fuente`/`cat_mapeo`. - `feature/163-tea-redesign` deltas: TEA order PDF column (Alembic merge revision `b9e4d2c71a05`), dbt manifest baked into the WebApi image, the TEA WebApp over FHIR. - Angel's `dashboard-test` WebApp presentation merged over the FHIR services (its kit-based WebApi/kit backend was not merged). - `indicadores_kit` submodule removed. - Live estimators wired into the recomputation worker (`webapi/orchestration/estimators.py`). - A compose profile `entrenar` that trains and promotes the CaCu model. - The follow-up list keyed by `pac_id`. Deferred (see `docs/ledgers/open-items.md`): `feature/cacu-pim-vigilancia` (models as a Hamilton dataflow, second CaCu model) and Angel's three kit CaMa measures (CAM-01..03). Also includes one finding from verifying the CaCu roundtrip end to end on a disposable staging deployment (SQL source with PDF-in-column documents -> import/extraction -> indicadores -> `entrenar`): **I-DBT-3** in `docs/ledgers/findings.md` -- `cin2_logistic.predictors()` crashes the whole training run when a cohort has zero citología rows at all (not just one member missing one), traced to a pandas `pivot_table` ambiguity on a degenerate empty merge. Open, not yet fixed. Opened per the owner's request; merging into `dev` is left to a person in the Gitea UI. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
roberto added 29 commits 2026-11-16 01:17:45 -06:00
Reviewed-on: #173
# Conflicts:
#	ISSSTELEON
How: grooming.md gets G-GEN-1 (the proposal, its open questions and the commits that implement layers 1 to 3); AGENTS.md lists the source-terminology revisions on feature/163-source-terminology.

Implications: the issue can cite the branch's commits; the heads in dev are unchanged until it's merged.
# Conflicts:
#	AGENTS.md
#	ISSSTELEON
#	docs/ledgers/open-items.md
roberto merged commit 3696970331 into dev 2026-11-16 21:08:52 -06:00
Sign in to join this conversation.