You could for example test the existing algorithm against https://ubicomp.eti.uni-siegen.de/home/datasets/ichi14/index.html.en which SleepPhaseAlarm is using.
@user140377 started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
You could for example test the existing algorithm against https://ubicomp.eti.uni-siegen.de/home/datasets/ichi14/index.html.en which SleepPhaseAlarm is using.