Skip to content

Commit

Permalink
feat: Add methods to computeProgress for median and average (#17)
Browse files Browse the repository at this point in the history
* fix: Extend LinearCareTaskProgress instead of CareTaskProgressStrategy

* test: Made test cases for the three functions 'averagingOutcomeValues', 'medianOutcomeValues', and 'streak' from the CareTaskProgressStrategy file.
feat: Add 'Mocking' folder with 'OCKEvent' file
Created a new folder named 'Mocking' and added the 'OCKEvent' file. This allows users to utilize 'OCKAnyEvent' for creating test cases.
docs: Add documentation for task progress computation strategy

* adding files

* lint

* remove swap file

* add tests

* improve test cases

* removed all streaking from framework

* nit

* Move mocker to test files only

---------

Co-authored-by: Corey <[email protected]>
  • Loading branch information
lmillan1 and cbaker6 authored Jul 19, 2024
1 parent 0685c5f commit 02ea2bb
Show file tree
Hide file tree
Showing 7 changed files with 194 additions and 445 deletions.
Loading

0 comments on commit 02ea2bb

Please sign in to comment.