Twenty-four patients ( aged @-@ years ; average A@c @ @ % , @ @ mmol/mol ) were randomly assigned to participate in two overnight crossover periods , each including @ weeks of consecutive nights : one under closed loop and the second under sensor-augmented pump ( SAP ) therapy at patients ' homes in real-life conditions .