Skip to content

Add algorithmExperiments to LoopStatus - #5

Merged
ps2 merged 2 commits into
mainfrom
loop-status-algorithm-experiments
Oct 13, 2026
Merged

ps2 merged 2 commits into
mainfrom
loop-status-algorithm-experiments

Conversation

@ps2

@ps2 ps2 commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Adds an optional algorithmExperiments: [[String: Any]]? to LoopStatus. It's uploaded as devicestatus.loop.algorithmExperiments and left out when nil, the same way testingDetails is handled.

Each experiment is an object: {"identifier": "integralRetrospectiveCorrection", "parameters": {…}}. parameters is optional, free-form JSON. New experiments, or new settings for an existing one, need no schema changes anywhere.

Part of LoopKit/LoopKit#647. Independent of #4.

An optional dictionary of the algorithm experiments in effect for the loop, uploaded as devicestatus.loop.algorithmExperiments and omitted when nil.
Each entry has an identifier and optional free-form parameters, so new experiments need no NightscoutKit changes.
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