Page MenuHomePhabricator

Phabricator Project Reports have inaccurate counts for the age histogram
Closed, ResolvedPublicBUG REPORT

Description

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.

Details

TitleReferenceAuthorSource BranchDest Branch
Reports: Fix task count logic for age histogramrepos/phabricator/phabricator!31aklapperT294998reportCountwmf/stable
Reports: Fix task count logic for age histogramrepos/phabricator/phabricator!6aklapperaklapper-wmf/T294998wmf/stable
Customize query in GitLab

Event Timeline

mmodell set the point value for this task to 1.Nov 4 2021, 2:06 AM
Aklapper triaged this task as Medium priority.

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.

Aklapper changed the subtype of this task from "Task" to "Bug Report".May 8 2023, 6:53 PM
Aklapper removed the point value for this task.

I assume the fix got deployed today in the Phabricator 2023-10-03 deployment, however this is still buggy.

Deployed on 2024-01-16