The recurrence report names the site's own cohort
This commit is contained in:
@@ -95,6 +95,17 @@ def metrics(auc: list[dict]) -> dict[str, float]:
|
||||
return found
|
||||
|
||||
|
||||
REFERENCE_SAMPLING = {
|
||||
"criterio": "pacientes con tiempo y estado de recaída; SCAN-B solo mujeres",
|
||||
"origen": "METABRIC y SCAN-B (externas)",
|
||||
}
|
||||
SITE_SAMPLING = {
|
||||
"criterio": "pacientes con un primer reporte de biopsia invasiva; sin recaída registrada, "
|
||||
"libre de ella hasta su defunción o la fecha de corte",
|
||||
"origen": "la sede (sus propias pacientes)",
|
||||
}
|
||||
|
||||
|
||||
def routines(cohorts: dict[str, Cohort], n_bootstrap: dict[str, int]) -> dict:
|
||||
"""The five routine records a promotion reads."""
|
||||
return {
|
||||
@@ -108,8 +119,7 @@ def routines(cohorts: dict[str, Cohort], n_bootstrap: dict[str, int]) -> dict:
|
||||
}
|
||||
for s, c in cohorts.items()
|
||||
},
|
||||
"criterio": "pacientes con tiempo y estado de recaída; SCAN-B solo mujeres",
|
||||
"origen": "METABRIC y SCAN-B (externas)",
|
||||
**(SITE_SAMPLING if "site" in cohorts else REFERENCE_SAMPLING),
|
||||
},
|
||||
"DATOS_FALTANTES": {
|
||||
"criterio": f"el dato faltante es una categoría más («{UNKNOWN}»); "
|
||||
|
||||
Reference in New Issue
Block a user