Publicar Weibull y puntos del modelo en las curvas por combinación
This commit is contained in:
@@ -130,6 +130,10 @@ def test_survival_matches_the_current_model_and_publishes_patient_scenarios(monk
|
||||
for c in combined:
|
||||
assert set(c["valores"]) == set(spec.features)
|
||||
assert ("km" in c) == (c["fallecidos"] >= survival.MIN_SCENARIO_EVENTS)
|
||||
if "km" in c:
|
||||
assert {"weibull", "weibull_fractional", "points"} <= set(c)
|
||||
point = c["points"]["COMB"]
|
||||
assert len(point["S"]) == len(c["horizons_months"]) == len(spec.borders) - 1
|
||||
(scenario,) = report["escenarios"]
|
||||
name = scenario["escenario"]
|
||||
assert name == "Citología · HSIL+"
|
||||
|
||||
Reference in New Issue
Block a user