Because of
|
days_infected = (now-infect_date).days |
|
for day in range(days_infected, -1, -1): |
check_infected will compute all the SKs between the first infectious period (argument
date) and the current time. To avoid trivial false positives triggered by a malicious agent, one should limit the computation to the days between the start of the infectious period and the day before SK_t has been published. See
https://github.com/DP-3T/documents/blob/master/DP3T%20White%20Paper.pdf page 11.