Indexing: the first invasive biopsy reads the scenario's event grades and keeps its rules #15

Open
edgar wants to merge 1 commits from fix/cacu-survival-index-event-grades into dev

1 Commits

Author SHA1 Message Date
edgar 5cc6bee168 Indexing: the first invasive biopsy reads the scenario's event grades and keeps its rules
The whole-frame version of primera_biopsia_invasora looked for the single code CARCINOMA_INVASOR, so CaCu's survival,
which indexes on CIS and CARCINOMA, had no members and could not train. It also dropped the two rules the per-patient
version applied (no birth date, a death on or before the biopsy) and the prior observation threshold. It now takes the
grades from event_grades (invasive_code stays the fallback) and applies the rules in the same order, with the same
attrition.
2026-11-23 02:04:01 -06:00