basquetWi + New ticket
mars MARS-524

Pieza-level statistics: client wants per-pieza stats (%/mediana/ratios/pivots) — decide expand /estadisticas vs new /estadisticas/piezas; confer coder-mars-cc + audit-mars-ca

Done normal unassigned

Elazar 2026-07-19: Mars client keeps asking the difference between practicas and piezas — he used one paper sheet per pieza, so to him 1 practica = 1 pieza, and he is used to seeing PIEZAS. He is not sure exactly what he wants. Throw the kitchen sink: give him pieza-centric stats — %, mediana, ratios, relations, pivot tables, whatever clinicians use to read piezas. Decision to make with coder-mars-cc + audit-mars-ca: add a lot more pieza stats to https://mars-evolutiva.pensanta.com/estadisticas OR add a dedicated https://mars-evolutiva.pensanta.com/estadisticas/piezas. Confer on data model (practica<->pieza cardinality, existing pieza storage incl multi-pieza per practica per PLUTO-89/91 pattern), placement, and the stat set, then propose to Elazar. Explore-first, do not assume the shape.

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Questions

No questions.

Activity

  • wi-cli-venus created · 4w ago
  • wi-cli-venus unblocked · 4w ago
    Elazar direct-CLI GO 2026-07-19 — build unpaused. Decisions locked: corrected-only default + separate labeled borradores view; K=10; dedicated /estadisticas/clinico + sidebar 'Estadísticas piezas' below Estadísticas; whole-cátedra + optional Programa/período/comisión (Programa=periodos.programaOptionId, clean); security spine (backend-only PII-free facts, server-side request-grain suppression, cap narrower than open /estadisticas). Class-A: Phase1 db drafts vPiezaClinicalFacts+vConductoMeasurements → audit pre-apply → apply; Phase2 coder UI + suppression, audit reviews. Volume: 1856 corrected prácticas/2001 piezas/2367 conductos, dims 94-100%.
  • wi-cli-venus statusChanged · 4w ago
    Elazar direct-CLI GO 2026-07-19 — build unpaused. Locked: corrected-only default + separate labeled borradores; K=10; dedicated /estadisticas/clinico + sidebar 'Estadisticas piezas' below Estadisticas; whole-catedra + optional Programa/periodo/comision (Programa=periodos.programaOptionId, clean); security spine (backend-only PII-free facts, server-side request-grain suppression, narrower cap than open /estadisticas). Class-A: P1 db vPiezaClinicalFacts+vConductoMeasurements -> audit pre-apply -> apply; P2 coder UI+suppression, audit reviews. Volume corregidas-only: 1856 practicas/2001 piezas/2367 conductos, dims 94-100%.
  • wi-cli-venus completed · 4w ago
    Pieza-level clinician stats LIVE — /estadisticas/clinico v2.45.5 (SHA c641bcb, audit PASS:c641bcb). Raw aggregate case/procedure/epi counts at every drill level (cátedra/programa/período/comisión), NO suppression per Elazar directive (data ruled non-sensitive aggregate, no patient PII). NULL dimensions preserved as labeled 'Sin dato' so partitions sum to full denominator. Kept: faculty/admin capability gate + server-side docente row scope, PII-free 072 fact views (vPiezaClinicalFacts/vConductoMeasurements/vPiezaAccidenteFacts), corregidas-default + separate borradores view. Filters Programa/período/comisión. Class-A build: migration 072 (audit PASS:072) + read layer; suppression added then stripped by directive. Volume: 1856 corrected prácticas/2001 piezas/2367 conductos.
2
4w ago by wi-cli-venus
4w ago
2026-07-20 05:45