Halfak added a comment.

I think we need a plot of this data.

I'd also suggested using the geometric mean for looking at time-to-revert. E.g. geometric_mean = function(x){ exp(mean(log(x))) }

In python, I'd do:

>>> from statistics import mean
>>> from math import log, exp
>>> 
>>> def geo_mean(x):
...     return exp(mean(log(x_val) for x_val in x))
... 
>>> 
>>> mean([1,2,3,4,5,6])
3.5
>>> geo_mean([1,2,3,4,5,6])
2.993795165523909
>>> mean([1, 100, 2, 3, 76, 88])
45
>>> geo_mean([1, 100, 2, 3, 76, 88])
12.605921135923992

TASK DETAIL
https://phabricator.wikimedia.org/T189962

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ladsgroup, Halfak
Cc: Halfak, Aklapper, Ladsgroup, Lahi, Gq86, bkowshik, GoranSMilovanovic, QZanden, LawExplorer, Avner, Wikidata-bugs, aude, Alchimista, He7d3r, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to