Page MenuHomePhabricator

NaN values for certain "Time from last patchset" values
Closed, ResolvedPublic

Description

For BayesianFilter (and some others) on http://korma.wmflabs.org/browser/gerrit_review_queue.html and
"Time from last patchset" from August 2013 to December 2014 has "NaN" values in the overlay display. Before and after it has correct "0" values.

fsss.png (686×1 px, 85 KB)

Event Timeline

Aklapper raised the priority of this task from to Low.
Aklapper updated the task description. (Show Details)
Aklapper added a project: wikimedia.biterg.io.
Aklapper added subscribers: Aklapper, Dicortazar.
Aklapper set Security to None.

As we can see in http://korma.wmflabs.org/browser/data/json/gerrit.wikimedia.org_mediawiki_extensions_ThrottleOverride-scr-rep-evolutionary.json, there are not more 'nan' values in these specific metrics.

The issue was related to the low activity in some repositories. If the array of values is empty, then the median or avg methods returns a nan value that was the one seen in the repos.

Dicortazar added a subscriber: Lcanasdiaz.