BDI-pathogens / OpenABM-Covid19

OpenABM-Covid19: an agent-based model for modelling the spread of SARS-CoV-2 (coronavirus) and control interventions for the Covid-19 epidemic
GNU General Public License v3.0
114 stars 76 forks source link

fix for dropped trace tokens in manual tracing. #158

Closed mattea closed 4 years ago

mattea commented 4 years ago

Some traces were being dropped before manual tracing had a chance to happen (especially if you increase the delay). Fixes that. If this is incorrect for other reasons, I could instead just add the POSITIVE_TEST inside the intervention_manual_trace after the index token is grabbed, since this only happens after positive tests. But that feels more hack-ish.