Skip to content

Fix calculation for meditation minutes#453

Merged
theospears merged 1 commit intomasterfrom
meditation-minutes
Apr 29, 2024
Merged

Fix calculation for meditation minutes#453
theospears merged 1 commit intomasterfrom
meditation-minutes

Conversation

@theospears
Copy link
Copy Markdown
Collaborator

@theospears theospears commented Apr 28, 2024

Previously meditation minutes used the same algorithm as we used for time in bed. This was overly generous. It would count minutes containing meditation, which is different from the apple algorithm which counts total duration rounded to the nearest minute.

Update the calculation used in the app to match the Apple algorithm.

Fixes #452

Testing:
Put various test data into the simulator, and checked beeminder synced appropriately.

@theospears theospears changed the title Fix meditation minutes tracking Fix calculation for meditation minutes Apr 28, 2024
Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @theospears and the rest of your teammates on Graphite Graphite

@theospears theospears marked this pull request as ready for review April 28, 2024 03:00
@theospears theospears merged commit aba1acf into master Apr 29, 2024
@theospears theospears deleted the meditation-minutes branch April 29, 2024 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inaccurate Mindful Minutes

1 participant