In PhenometricsPumpManager, the lower outlier tolerance is changed when pump is turned on (L128) and changed back when pump is turned off (L148). Now the current value is multiplied by a constant (number 2 particularly). This should be generalised to the multiplication by a variable defined in the protocol as pump_on_outlier_factor (feel free to come up with a better name).