After fixing T291710: "Project report" Age Distribution query links to individual weeks lack project tag and task status parameters I noticed that the counts are inaccurate on the "Age Distribution" histogram. I need to figure out what's up with that.
Description
Details
Title | Reference | Author | Source Branch | Dest Branch | |
---|---|---|---|---|---|
Reports: Fix task count logic for age histogram | repos/phabricator/phabricator!31 | aklapper | T294998reportCount | wmf/stable | |
Reports: Fix task count logic for age histogram | repos/phabricator/phabricator!6 | aklapper | aklapper-wmf/T294998 | wmf/stable |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | BUG REPORT | Aklapper | T324319 Custom Phab Reports: "Unhandled Exception ("RuntimeException") Division by zero" | ||
Resolved | BUG REPORT | Aklapper | T294998 Phabricator Project Reports have inaccurate counts for the age histogram |
Event Timeline
aklapper opened https://gitlab.wikimedia.org/repos/phabricator/phabricator/-/merge_requests/6
Reports: Fix task count logic for age histogram
Going to https://phabricator.wikimedia.org/project/reports/274/ , the sum of numbers in the "Age Distribution" bars right now is 61. Throughput shows "Remaining open tasks: 77" instead. 77-59=16. 16 is the number of buckets-1.
Thus except for the first bucket, each bucket is off by 1. I could reproduce this locally.
brennen merged https://gitlab.wikimedia.org/repos/phabricator/phabricator/-/merge_requests/6
Reports: Fix task count logic for age histogram
I assume the fix got deployed today in the Phabricator 2023-10-03 deployment, however this is still buggy.
aklapper opened https://gitlab.wikimedia.org/repos/phabricator/phabricator/-/merge_requests/31
Reports: Fix task count logic for age histogram
aklapper merged https://gitlab.wikimedia.org/repos/phabricator/phabricator/-/merge_requests/31
Reports: Fix task count logic for age histogram