Skip to content

Commit

Permalink
Dummy function: calculateAverageOvulationLength
Browse files Browse the repository at this point in the history
  • Loading branch information
merrickliu888 committed Jan 22, 2025
1 parent 09c260c commit da85f2a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tpp-app/src/services/CalculationService.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ import CycleService from "./cycle/CycleService";
import { GETStoredYears } from "./utils/helpers";
import { errorAlertModal } from "../error/errorAlertModal";

/**
* Calculates the average ovulation length given a completeHistory of their period intervals
* @return {number} representing average ovulation length, 0 if not enough entries
*
* @Fred implement this.
* @Mark use this for your prediction task.
*/
export const calculateAverageOvulationLength = () => {
return 0;
};

/**
* Calculates the average period length given a completeHistory of their period intervals
* @param completeHistory list of period intervals in the form returned by GETCycleHistoryByYear
Expand Down

0 comments on commit da85f2a

Please sign in to comment.