Ver código fonte

Merge pull request #555 from nightscout/oref-swift-check-more-iob-outputs

Check full IoB output when comparing JS and Swift implementations
Deniz Cengiz 10 meses atrás
pai
commit
9d5b0c7993

+ 1 - 2
Trio/Sources/APS/OpenAPSSwift/Logging/OrefFunction.swift

@@ -35,8 +35,7 @@ enum OrefFunction: String, Codable {
         case .makeProfile:
             return Set(["calc_glucose_noise", "enableEnliteBgproxy", "exercise_mode", "offline_hotspot"])
         case .iob:
-            // we're only checking the first result for now
-            return Set(stride(from: 1, to: 48, by: 1).map { String("[\($0)]") })
+            return Set()
         case .meal:
             // These aren't used by downstream calculations, so we
             // can ignore them in our comparison