There are a few functions that have quite a few similarities between each other. For example, could we find a way to combine getAverageSleepHours and getAverageSleepQuality together using bracket notation? What about getMostRecentSleepHours and getMostRecentSleepQuality or getWeeklySleepHours and getWeeklySleepQuality. Make sure to update tests based on any refactoring.
There are a few functions that have quite a few similarities between each other. For example, could we find a way to combine getAverageSleepHours and getAverageSleepQuality together using bracket notation? What about getMostRecentSleepHours and getMostRecentSleepQuality or getWeeklySleepHours and getWeeklySleepQuality. Make sure to update tests based on any refactoring.