These are chat archives for nightscout/intend-to-bolus

10th
Aug 2015
Scott Leibrand
@scottleibrand
Aug 10 2015 14:56
nice. might have to get one of those cases. :)
so... I think we're well beyond the point of needing unit tests for openaps-js. anyone here have enough experience or free time to help set up a decent unit test framework? once the framework is in place I can start populating it with tests (sets of inputs and the outputs I expect)...
Nathan Racklyeft
@loudnate
Aug 10 2015 15:02
I can send you my Python dosing lib test cases to get started.
And my predict lib is public with tests too.
Would be good to have a large library of inputs!
Oliver Schumacher
@oschumac
Aug 10 2015 15:04
Hi Scott, i am going to install tonight one openaps. What kind of framework do you talking about. ?
Jason Calabrese
@jasoncalabrese
Aug 10 2015 15:48
could probably copy the test setup from NS, and maybe even resuse the iob test
Scott Leibrand
@scottleibrand
Aug 10 2015 15:52
whatever you guys think is easiest: I just don't have time to do it at this point. :)
just added some more features to openaps-js: feel free to review the commit logs and test the changes if you're using it.
it now sets the current basal as a temp if it has nothing else to do (so you can see on the pump it's working), and it also reduces high-temps if the required high-temp would deliver less insulin than the currently scheduled one
I also raised the maximum basal rate from 2x to 3x max daily basal