-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Update CustomLinearCareTaskProgress #15
refactor: Update CustomLinearCareTaskProgress #15
Commits on Jul 10, 2024
-
refactor: changed the title of OCKEventAggregator.swift to CareTaskPr…
…ogressStrategy+Math removed struct CustomLinearCareTaskProgress removed all appearances of CustomLinearCareTaskProgress to LinearCareTaskProgress
Configuration menu - View commit details
-
Copy full SHA for 8b61410 - Browse repository at this point
Copy the full SHA 8b61410View commit details
Commits on Jul 12, 2024
-
test: add new test cases for computeProgress functions
Add new test cases for `computeProgressByAveragingOutcomeValues`, `computeProgressByMedianOutcomeValues`, and `computeProgressByStreakOutcomeValues` functions in the `CareTaskProgressStrategy` class. Covers varioues edge cases and increases overall test coverage. feat: add kind parameter to computeProgress functions Add a new `kind` parameter to `computeProgressByAveragingOutcomeValues`, `computeProgressByMedianOutcomeValues`, and `computeProgressByStreakOutcomeValues` functions in the `CareTaskProgressStrategy` class. This allows calculating progress for a specific kind of outcome.
Configuration menu - View commit details
-
Copy full SHA for e6d2c6e - Browse repository at this point
Copy the full SHA e6d2c6eView commit details
Commits on Jul 15, 2024
-
refacor: removed force unwrapping
removes all instances of force unwrapping to prevent potential crashes. style: remove underscores for function, remove unnecessary comments, and formatting.
Configuration menu - View commit details
-
Copy full SHA for f74280b - Browse repository at this point
Copy the full SHA f74280bView commit details
Commits on Jul 17, 2024
-
test: added test cases for kind field
Added unit test to verify the handling of different kinds the 'computeProgressByAveragingOutcomeValues' function. refacor: simplified value extraction from OCKOutcomeValue Replaced instances of $0.numberValue?.doubleValue with $0.doubleValue to remove unnecessary casting. style: improved readibility by adding new lines
Configuration menu - View commit details
-
Copy full SHA for d292ba5 - Browse repository at this point
Copy the full SHA d292ba5View commit details
Commits on Jul 18, 2024
-
fix: avoid force unwrapping in progress calculation tests
Refactor tests to be able to unwrap optional values using guard statements style: Reduced identation and also tab when needed refactor: Use string variables for kinds to reduce programatic mistakes
Configuration menu - View commit details
-
Copy full SHA for 6e0e7da - Browse repository at this point
Copy the full SHA 6e0e7daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 533f09a - Browse repository at this point
Copy the full SHA 533f09aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b30fa2 - Browse repository at this point
Copy the full SHA 3b30fa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a876891 - Browse repository at this point
Copy the full SHA a876891View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57b77c5 - Browse repository at this point
Copy the full SHA 57b77c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25b2306 - Browse repository at this point
Copy the full SHA 25b2306View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0369832 - Browse repository at this point
Copy the full SHA 0369832View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6057e77 - Browse repository at this point
Copy the full SHA 6057e77View commit details