• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ThreeSixtyGiving / datastore / 12354863998
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/urllib3-2.6.3
DEFAULT BRANCH: master
Ran 16 Dec 2024 02:38PM UTC
Jobs 1
Files 122
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Dec 2024 02:35PM UTC coverage: 90.629% (-0.06%) from 90.688%
12354863998

push

github

michaelwood
quality_data: overview: Fix incorrect field summing passing grants

When calculating the overview stats for /api/dashboard/overview?mode=grants
the logic of fail/pass was being used to count the total number of
grants which passed by just using the total number of grants that are in
the source file.

This is only correct some of the time because it just so happens that if a
publisher is likely to be missing a field (such as company number) then they
will miss it out of all of their datasets so the calculation is coincidentally
correct. Some publishers however do add such fields for _some_ of their
grants which makes this calculation completely incorrect for certain
metrics.

This change makes sure we use the total count from the DQT (library)
rather than the aggregated data.

Updates basic test data to corrected value.

Fixes: https://github.com/ThreeSixtyGiving/datastore/issues/246

5 of 6 new or added lines in 1 file covered. (83.33%)

2 existing lines in 1 file now uncovered.

2940 of 3244 relevant lines covered (90.63%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12354863998.1 16 Dec 2024 02:38PM UTC 0
90.63
Source Files on build 12354863998
Detailed source file information is not available for this build.
  • Back to Repo
  • 8f6cdb0b on github
  • Prev Build on live (#12068402052)
  • Next Build on live (#12634819936)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc