Closed TheCrazyKing closed 4 years ago
Code Climate has analyzed commit 479ae930 and detected 0 issues on this pull request.
The test coverage on the diff in this pull request is 92.8% (80% is the threshold).
This pull request will bring the total coverage in the repository to 80.2% (2.0% change).
View more on Code Climate.
This ceature is about giving an immunity to recovered users. Their immunity is associated to their google account (i.e. stored on firebase and not locally). The immunity is calculated as follows:
P(get sick if you recovered X times) = P(get sick if you recover 0 times) TRANSMISSION_FACTOR IMMUNITY_FACTOR^X