-
Notifications
You must be signed in to change notification settings - Fork 11
Description
This is an anomaly in the assignment of treatments in simulated regions.
How to reproduce
Given two simulated regions A
and B
with each one leadership behavior and one treatment behavior.
- Add 2 yellow (SK II) patients to each region.
- Personnel: Add 1 GF and
x
Notartz to each region withx >= 3
. - To region B, add 1 RettSan
- Start the exercise
Observed behavior
After some time, treatment will be secured in region A with GF as leader, 2 Notartz treating each patient 100% and one treating each 50%.
In region B, GF is leader, the RettSan is treating each patient with 50% and one Notarzt does the same. Despite the two excess Notarzt, treatment will never be secured because the SK II patients need exclusive treatment.
Expected behavior
Because region B has more personnel than region A, and the latter one has secured treatment, one could assume region B should also secure treatment.
The underlying problem is in the activities/reassign-treatment->findAssignablePersonnel
function. Because yellow needs a RettSan, the partial RettSan is preferred over exclusive Notarzt, even when exclusive treatment is required for securing.