If you're sleepless, this has been just announced by UK prime minister as official alert scoring system:
* R is a floating number <6
* number of infections an integer from 0 to 80'000'000
* COVID alert level is an integer 1-5
¯\_(ツ)_/¯
Yeah, I saw its code review last week - it's terrible! Most people in data science do this type of things in R, Matlab/Octave or Python. Usage of C++ indicates a very old code and nobody with actual programming experience on the team...
@kravietz
Quick mafs
@kravietz Maybe they forgot the log part of the equation? Yeah, maths.
@supernova That was my thinking too but log doesn't really help - it will be usually in the range 3-5 so with R0 in the range of 0.3-3 it still goes wrong eventually.
@kravietz also, this is their mathematical model for modeling the epidemic or something
https://raw.githubusercontent.com/mrc-ide/covid-sim/master/src/CovidSim.cpp