Open noleti opened 4 years ago
some of these issues were addressed in #489, but there are still aspects that can be improved
adding this to milestone 1.1. I think some proof-reading, a few words here and there will go a long way.
I am keeping this open as a reminder. This issue is meant for a domain expert or a scientist. Here we want to restructure and expand the PDF in a way that makes it more useful for reading by another domain expert or a scientist.
If you are a "generic" JS developer, without deep understanding of the project or epidemiology, this particular issue is not a right job for you.
Cleanups and styling improvements of the PDF document are most welcome though.
🙋 Feature Request
🔦 Context
While I like the first PDF print feature that was introduced in 1.0.0/https://github.com/neherlab/covid19_scenarios/pull/471, I think there are several ways how it could be improved, in particular to serve as "stand-alone document for busy executives". Some of the variables are not self explanatory, and I believe the help text from the app could be provided along with them.
In addition, some variables such as suspectedCasesToday should be named better in the printout (this one is actually the number of cases on day 1 of the plot, IMHO).
There could be automated explanations on the meaning of infectiousPeriod and latencyTime, R0, etc. Possibly in addition to the tables already present, but in human readable sentences (see below for examples).
😯 Describe the feature
💻 Examples
In the following, [foo] is a placeholder for the variable value.
Instead of 'suspectedCasesToday: 39', put 'initially infected on [day1] of simulation'.
'Our model assumes that infected people take on average [latencyTime] days to show symptoms and become infectious, and will recover after [infectiousPeriod], unless their condition degrades to severe, at which point they will stay in a hospital for [lengthHospitalStay] days. If they need to be transferred to the ICU, they will require care for [lengthICUStay] days on average. While people are infectious, they infect [R0] other patients on average in absence of mitigations.'
💁 Possible Solution
Feature should require templates in .js code to prepare the print page. Maybe some templating engine with separate templates?
Related