2b0f6dfbed3e4162a7c96c1a417897c7a1dc9bb5
Contract review against WebApi 1d5f1e0 (webapi/cama_analysis.py, cama_cohort.py, docs/cama-cohort-api.md).
- The cohort's list is rewritten once on arrival so the table, the record and the PDF/XLSX show
"BI-RADS 5" and "50 a 59 años" (also "Menores de 40 años", "70 años o más", "Sin dato"); the codes
stay in `<clave>_codigo` and in the filter options, which are what the requests send. Only codes
whose meaning the API's own code confirms are labelled; biopsy grades are left as they arrive.
- The record calls the biopsy date what the list calls it ("Fecha de reporte"): in the cohort it is
the date of the biopsy report, which can be known while its result is not.
- With the same cohort revision, cut-off and filter the aggregate and the list are counted from the
same rows, so a different total breaks the contract: the list shows an alert and its PDF/XLSX
buttons are disabled.
- When no category is published the analysis says so and keeps "No publicado": the answer cannot
tell an empty cohort from categories under the threshold.
- Tests: the chosen cut-off reaches the aggregate, the list, the record and every page of the file.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
WebApp
Interfaz de ISSSTELEON en Angular y Angular Material: conexión e importación de
datos (/conectar), bitácora de cargas (/bitacora), gobernanza y tablero de
indicadores (/indicadores).
npm ci
npx ng serve # http://localhost:4200
npx ng test --watch=false # pruebas unitarias (Vitest)
npx ng build # compilación de producción en dist/WebApp
ng serve envía las rutas de la API a WebApi en localhost:5050
(proxy.conf.json). La imagen de Docker (Dockerfile) sirve la compilación con
nginx (nginx.conf), que reenvía esas mismas rutas al servicio webapi.
Description
Languages
TypeScript
84.8%
HTML
9.6%
SCSS
5.6%