A method of controlling an insulin infusion device is presented here. The method can be implemented in a suitably configured electronic device, on an electronic storage medium, or the like. In accordance with certain embodiments, the method evaluates the operational integrity of a glucose sensor that measures sensor glucose values for a user of the insulin infusion device, and calculates a sensor integrity metric based on the evaluation. The calculated sensor integrity metric is used to adjust the aggressiveness of a closed-loop therapy algorithm that is used to control a closed-loop operating mode of the insulin infusion device. The insulin infusion device is operated in the closed-loop operating mode in accordance with the adjusted therapy setting.