• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openaps / oref0 / 3467
34%
master: 10%

Build:
Build:
LAST BUILD BRANCH: replace-git
DEFAULT BRANCH: master
Ran 27 Aug 2017 03:38PM UTC
Jobs 2
Files 41
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3467

push

travis-ci

web-flow
microBolus 1/2 the insulinReq if IOB doesn't yet cover COB (#621)

* if IOB covers less than half of COB, microBolus 1/2 the insulinReq

* syntax

* logging cleanup

* make SMB maxBolus configurable via maxSMBBasalMinutes

* fix variable reference

* fix variable reference

* debugging

* debugging

* remove extra variable

* debugging

* fix math

* still SMB 1/3 of insulinReq if that's more than halfMealInsulinReq

* only allow more than 30m of basal as SMB when COB is uncovered

* if IOB covers more than 3/4 of COB, limit maxBolus to 30m of basal

* default to 30m if typeof profile_data.maxSMBBasalMinutes == 'undefined'

* round mealInsulinReq

* fix debug output

* use insulinReq/2 up to 2/3 of COB, and maxSMBBasalMinutes up to 100%

* allow SMBs every 2 minutes

* microBolus 1/2 the insulinReq if IOB covers less than 3/4 of COB

* if IOB doesn't cover COB, microBolus 1/2 the insulinReq

546 of 1603 branches covered (34.06%)

21 of 21 new or added lines in 2 files covered. (100.0%)

1044 of 2846 relevant lines covered (36.68%)

248.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
lib/iob/total.js
16
100.0
lib/determine-basal/determine-basal.js
Jobs
ID Job ID Ran Files Coverage
1 3467.1 27 Aug 2017 03:38PM UTC 0
36.68
Travis Job 3467.1
2 3467.2 27 Aug 2017 03:38PM UTC 0
36.68
Travis Job 3467.2
Source Files on build 3467
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3467
  • 15f6a43e on github
  • Prev Build on 0.6.0-dev (#3440)
  • Next Build on 0.6.0-dev (#3469)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc