-
Notifications
You must be signed in to change notification settings - Fork 7
More filtering in dashboard #4751
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #4751 +/- ##
===========================================
+ Coverage 86.14% 86.15% +0.01%
===========================================
Files 586 586
Lines 36775 36775
===========================================
+ Hits 31680 31684 +4
+ Misses 5095 5091 -4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (3)
src/hct_mis_api/apps/dashboard/services.py:36
- Changing the filter to include both 'ACCEPTED' and 'FINISHED' statuses for total_payment_plans may affect aggregation logic. Confirm that this update aligns with the intended business rules.
total_payment_plans = Count("parent__id", filter=Q(parent__status__in=["ACCEPTED", "FINISHED"]), distinct=True)
src/hct_mis_api/apps/dashboard/services.py:143
- Switching to a distinct count for 'reconciled' may lead to different aggregation results. Ensure that this modification accurately reflects the desired reconciliation logic.
reconciled=Count("pk", distinct=True, filter=Q(payment_verifications__isnull=False))
src/hct_mis_api/apps/dashboard/services.py:96
- The addition of 'excluded=False' in the query should be verified to ensure the 'excluded' field is defined and behaves as expected in the data model.
excluded=False,
AB#244486