From c374102a4081fd3ba9125d7e15f255c84f1ff207 Mon Sep 17 00:00:00 2001 From: Anna Wendler <106674756+annawendler@users.noreply.github.com> Date: Wed, 21 Feb 2024 11:40:48 +0100 Subject: [PATCH 1/4] Update parameters in backend --- backend/src/api/fixtures/initial_data.py | 52 +++++++++++------------- frontend/docs/changelog/changelog-de.md | 1 + frontend/docs/changelog/changelog-en.md | 1 + 3 files changed, 26 insertions(+), 28 deletions(-) diff --git a/backend/src/api/fixtures/initial_data.py b/backend/src/api/fixtures/initial_data.py index a2e7f231..c7375b1b 100644 --- a/backend/src/api/fixtures/initial_data.py +++ b/backend/src/api/fixtures/initial_data.py @@ -414,32 +414,28 @@ ("restriction_4", "Restriction 4") ] -PARAMETERS = [ +PARAMETERS = [ "IncubationTime", "SerialInterval", - "InfectiousTimeMild", - "HomeToHospitalizedTime", - "HospitalizedToHomeTime", - "HospitalizedToICUTime", - "ICUToHomeTime", - "ICUToDeathTime", - "InfectionProbabilityFromContact", - "RelativeCarrierInfectability", + "TimeInfectedSymptoms", + "TimeInfectedSevere", + "TimeInfectedCritical", + "TransmissionProbabilityOnContact", + "RelativeTransmissionNoSymptoms", "RiskOfInfectionFromSympomatic", "MaxRiskOfInfectionFromSympomatic", - "AsymptoticCasesPerInfectious", - "HospitalizedCasesPerInfectious", - "ICUCasesPerHospitalized", - "DeathsPerHospitalized", - "ReducVaccExp", - "ReducImmuneExp", - "ReducExpInf", - "ReducImmuneExpInf", - "ReducInfHosp", - "ReducImmuneInfHosp", - "ReducTime", - "Seasonality", - "VaccinationGap" + "RecoveredPerInfectedNoSymptoms", + "SeverePerInfectedSymptoms", + "CriticalPerSevere", + "DeathsPerCritical", + "ReducExposedPartialImmunity", + "ReducExposedImprovedImmunity", + "ReducInfectedSymptomsPartialImmunity", + "ReducInfectedSymptomsImprovedImmunity", + "ReducInfectedSevereCriticalDeadPartialImmunity", + "ReducInfectedSevereCriticalDeadImprovedImmunity", + "ReducTimeInfectedMild", + "Seasonality" ] COMPARTMENTS = [ @@ -455,12 +451,12 @@ ] GROUPS = [ - ("age_0", "age", "Ages bewteen 0-4 years" ), - ("age_1", "age", "Ages between 5-14 years" ), - ("age_2", "age", "Ages between 15-34 years" ), - ("age_3", "age", "Ages between 35-59 years" ), - ("age_4", "age", "Ages between 60-79 years" ), - ("age_5", "age", "Ages above 80" ), + ("age_0", "age", "Ages bewteen 0-4 years"), + ("age_1", "age", "Ages between 5-14 years"), + ("age_2", "age", "Ages between 15-34 years"), + ("age_3", "age", "Ages between 35-59 years"), + ("age_4", "age", "Ages between 60-79 years"), + ("age_5", "age", "Ages above 80"), ("total", "age", "All ages"), ("female", "gender", "Female"), ("male", "gender", "Male") diff --git a/frontend/docs/changelog/changelog-de.md b/frontend/docs/changelog/changelog-de.md index daa840e4..372406c4 100644 --- a/frontend/docs/changelog/changelog-de.md +++ b/frontend/docs/changelog/changelog-de.md @@ -36,6 +36,7 @@ SPDX-License-Identifier: CC-BY-4.0 - Die Textgröße in Tooltips wurden zur besseren Lesbarkeit angepasst. - Es werden nur noch vier aggregierte Kompartimente angezeigt. - Internes Build-System wurde durch Vite ersetzt, welches die Leistung der Webseite verbessert. +- Die Parameter des Simulationsmodells wurden im Backend geupdatet. ### Fehlerbehebungen diff --git a/frontend/docs/changelog/changelog-en.md b/frontend/docs/changelog/changelog-en.md index 1f74cc7d..e5cf50d7 100644 --- a/frontend/docs/changelog/changelog-en.md +++ b/frontend/docs/changelog/changelog-en.md @@ -36,6 +36,7 @@ SPDX-License-Identifier: CC-BY-4.0 - The text size in tooltips was adjusted to improve readability. - Only four aggregated compartments are displayed. - Internal build system was replaced by Vite, which improves website performance. +- The parameters of the simulation model were updated in the backend. ### Bug fixes From 2104fbb7d3f1d014692198e16178e6781a546a6b Mon Sep 17 00:00:00 2001 From: Anna Wendler <106674756+annawendler@users.noreply.github.com> Date: Thu, 22 Feb 2024 08:51:23 +0100 Subject: [PATCH 2/4] formatting --- frontend/docs/changelog/changelog-en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/docs/changelog/changelog-en.md b/frontend/docs/changelog/changelog-en.md index e5cf50d7..4a6fdefb 100644 --- a/frontend/docs/changelog/changelog-en.md +++ b/frontend/docs/changelog/changelog-en.md @@ -36,7 +36,7 @@ SPDX-License-Identifier: CC-BY-4.0 - The text size in tooltips was adjusted to improve readability. - Only four aggregated compartments are displayed. - Internal build system was replaced by Vite, which improves website performance. -- The parameters of the simulation model were updated in the backend. +- The parameters of the simulation model were updated in the backend. ### Bug fixes From ff48f3ca1ce2bc36830038abe64f52a95024ac62 Mon Sep 17 00:00:00 2001 From: annawendler <106674756+annawendler@users.noreply.github.com> Date: Fri, 23 Feb 2024 13:57:04 +0100 Subject: [PATCH 3/4] Update frontend/docs/changelog/changelog-de.md Co-authored-by: Moritz Zeumer <25636783+NXXR@users.noreply.github.com> --- frontend/docs/changelog/changelog-de.md | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/docs/changelog/changelog-de.md b/frontend/docs/changelog/changelog-de.md index 372406c4..daa840e4 100644 --- a/frontend/docs/changelog/changelog-de.md +++ b/frontend/docs/changelog/changelog-de.md @@ -36,7 +36,6 @@ SPDX-License-Identifier: CC-BY-4.0 - Die Textgröße in Tooltips wurden zur besseren Lesbarkeit angepasst. - Es werden nur noch vier aggregierte Kompartimente angezeigt. - Internes Build-System wurde durch Vite ersetzt, welches die Leistung der Webseite verbessert. -- Die Parameter des Simulationsmodells wurden im Backend geupdatet. ### Fehlerbehebungen From 0a34a8282cd96b7e92937a659e12839883d9055b Mon Sep 17 00:00:00 2001 From: annawendler <106674756+annawendler@users.noreply.github.com> Date: Fri, 23 Feb 2024 13:57:12 +0100 Subject: [PATCH 4/4] Update frontend/docs/changelog/changelog-en.md Co-authored-by: Moritz Zeumer <25636783+NXXR@users.noreply.github.com> --- frontend/docs/changelog/changelog-en.md | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/docs/changelog/changelog-en.md b/frontend/docs/changelog/changelog-en.md index 4a6fdefb..1f74cc7d 100644 --- a/frontend/docs/changelog/changelog-en.md +++ b/frontend/docs/changelog/changelog-en.md @@ -36,7 +36,6 @@ SPDX-License-Identifier: CC-BY-4.0 - The text size in tooltips was adjusted to improve readability. - Only four aggregated compartments are displayed. - Internal build system was replaced by Vite, which improves website performance. -- The parameters of the simulation model were updated in the backend. ### Bug fixes