This helped the researchers to make a complete real-time record, known as ‘ecological momentary assessment', of participants' dietary temptations and lapses.
Participants lapsed just over 50 percent of the time when tempted, and were especially vulnerable at night.
They were more likely to give in to alcoholic temptations than to eat a sugary snack or to overindulge.
The stronger the dietary temptation, the more likely a participant was to lapse.