memilio icon indicating copy to clipboard operation
memilio copied to clipboard

Enhance testing logic in abm

Open xsaschako opened this issue 7 months ago • 0 comments

Motivation / Current Behaviour

In the paper several things showed what needed revision in the testing logic. We should decouple testing strategies from actually being able to enter a location.

Enhancement description

The folowing things got enhanced:

  • remove add and remove_age_group & remove_infection_state as well as for testing schemes were deleted because the workflow is better if you setup a new testing strategy for that time period. This prohibits to fiddle with it all the time. Also this led to a few hard to debug bugs in the development. (more options != better)

  • completely change how testing schemes are updated because runtime was HEAVILY affected

  • The follwing got deleted: Bug heavy and also leads to no testing at home. They go home either way the nex timestep because quarantine.

if (location.get_type() == mio::abm::LocationType::Home) {
        return true;
    }

Additional context

No response

Checklist

  • [x] Attached labels, especially loc:: or model:: labels.
  • [x] Linked to project

xsaschako avatar Apr 15 '25 11:04 xsaschako