Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tidepool-org/LoopAlgorithm
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: LoopKit/LoopAlgorithm
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 3 files changed
  • 1 contributor

Commits on May 21, 2026

  1. Merge pull request #6 from tidepool-org/main

    Bring in Tidepool LoopAlgorithm updates
    ps2 authored May 21, 2026
    Configuration menu
    Copy the full SHA
    1ca8566 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2026

  1. Assert filterDateRange input is sorted ascending

    The binary-search filterDateRange overload assumes its collection is sorted
    ascending by startDate, but returns silently-wrong results otherwise. Add a
    debug-only assert enforcing that contract (compiled out of release builds, so
    no runtime cost).
    
    This immediately surfaced an existing violation: testGlucoseEffectFromHistory
    built a `basal` schedule with segments out of order (and one with endDate
    before startDate, plus overlaps). Replace it with a well-formed sorted,
    contiguous, non-overlapping schedule, and regenerate the expected-effect
    fixture to match the corrected schedule.
    ps2 committed May 24, 2026
    Configuration menu
    Copy the full SHA
    8faf496 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2026

  1. Merge pull request #7 from LoopKit/harden/filterdaterange-sorted-assert

    Assert filterDateRange input is sorted ascending
    ps2 authored May 25, 2026
    Configuration menu
    Copy the full SHA
    2f5c630 View commit details
    Browse the repository at this point in the history
Loading