Skip to content

Update boost_simulator.html - #4

Closed
DummDumm wants to merge 1 commit into
tim2000s:masterfrom
DummDumm:simulator-toggle-conversion-unit
Closed

DummDumm wants to merge 1 commit into
tim2000s:masterfrom
DummDumm:simulator-toggle-conversion-unit

Conversation

@DummDumm

@DummDumm DummDumm commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

Added toggle for mg/dl and mmol/L

Added toggle for mg/dl and mmol/L
@DummDumm DummDumm closed this Apr 6, 2026
@DummDumm
DummDumm deleted the simulator-toggle-conversion-unit branch April 6, 2026 01:40
tim2000s added a commit that referenced this pull request Jun 26, 2026
…>= confirmed-cap (review LOWs)

#4 (defense-in-depth): V5's IOB backstop used ApsBoostMaxIob alone; clamp the V5
headroom to min(boost_maxIOB, opb.max_iob) so a higher ApsBoostMaxIob can never let
V5 exceed the oref/system maxIOB V1 enforces.

#5 (correctness): cumulativeSmbCap60Min clamped to 5.0 while confirmedCap clamps to
7.5, so a big-meal user's hourly budget could sit BELOW a single confirmed shot.
Raise the clamp ceiling to max(5.0, confirmedCapU). Mirrored in the Swift calculator
for parity; big-meal invariant test added on both platforms.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
tim2000s added a commit that referenced this pull request Oct 8, 2026
Patch number on the released line for fixes that only withhold or bound
insulin, except where noted in the individual commits: tranche release
bounded by the caps and gates (#1), pre-meal target off at night, while
asleep, under a temp target and after a low (#8), V6 error falls back to
base oref (#9), primer respects running low temps and V6's hard gates
(#10), missing heart rate blocks the INACTIVE raise (#12), the sleep
boundary exit no longer reopens INACTIVE or the gate for a cycle (#18),
percent-scale divisor no longer shrinks above 180 (#4), SMB clamped to
max_iob (#5), G3 hold kept after a recent low (#19), spike override
limited to Tier 8 outside post-rescue and ML downgrade (#20), one confirm
per meal session (#7), stale meal state reset (#17), and exercise
classification restored inside the night window (#11, a regression from
the overnight gate fix).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014RS6G2gfvdzoJAx9wPCeA4
tim2000s added a commit that referenced this pull request Oct 8, 2026
Patch number on the released line for fixes that only withhold or bound
insulin, except where noted in the individual commits: tranche release
bounded by the caps and gates (#1), pre-meal target off at night, while
asleep, under a temp target and after a low (#8), V6 error falls back to
base oref (#9), primer respects running low temps and V6's hard gates
(#10), missing heart rate blocks the INACTIVE raise (#12), the sleep
boundary exit no longer reopens INACTIVE or the gate for a cycle (#18),
percent-scale divisor no longer shrinks above 180 (#4), SMB clamped to
max_iob (#5), G3 hold kept after a recent low (#19), spike override
limited to Tier 8 outside post-rescue and ML downgrade (#20), one confirm
per meal session (#7), stale meal state reset (#17), and exercise
classification restored inside the night window (#11, a regression from
the overnight gate fix).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014RS6G2gfvdzoJAx9wPCeA4
(cherry picked from commit a3cc1af)
tim2000s added a commit that referenced this pull request Oct 8, 2026
Patch number on the released line for fixes that only withhold or bound
insulin, except where noted in the individual commits: tranche release
bounded by the caps and gates (#1), pre-meal target off at night, while
asleep, under a temp target and after a low (#8), V6 error falls back to
base oref (#9), primer respects running low temps and V6's hard gates
(#10), missing heart rate blocks the INACTIVE raise (#12), the sleep
boundary exit no longer reopens INACTIVE or the gate for a cycle (#18),
percent-scale divisor no longer shrinks above 180 (#4), SMB clamped to
max_iob (#5), G3 hold kept after a recent low (#19), spike override
limited to Tier 8 outside post-rescue and ML downgrade (#20), one confirm
per meal session (#7), stale meal state reset (#17), and exercise
classification restored inside the night window (#11, a regression from
the overnight gate fix).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014RS6G2gfvdzoJAx9wPCeA4
(cherry picked from commit a3cc1af)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant