Skip to content
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

Verify chore value calculations #196

Open
kronosapiens opened this issue Aug 2, 2024 · 1 comment
Open

Verify chore value calculations #196

kronosapiens opened this issue Aug 2, 2024 · 1 comment
Labels
chores Related to the Chores app maintenance Improving existing functionality

Comments

@kronosapiens
Copy link
Member

kronosapiens commented Aug 2, 2024

If you squash a bug that no-one saw, did it even exist?

An evergreen issue for making sure chore value calculations are accurate.

@kronosapiens
Copy link
Member Author

SQL queries

Making sure chore intervals add up to 1 every month. Only need to check 1 chore per house.

SELECT SUM((metadata->>'intervalScalar')::numeric) FROM "ChoreValue" WHERE "choreId" = 40 AND "valuedAt" >= '2024-07-01' AND "valuedAt" < '2024-08-01';

@kronosapiens kronosapiens added chores Related to the Chores app maintenance Improving existing functionality labels Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chores Related to the Chores app maintenance Improving existing functionality
Projects
None yet
Development

No branches or pull requests

1 participant