Page MenuHomePhabricator

Sometimes, tasks get more labels than they should
Closed, ResolvedPublic

Description

This shouldn't happen. Why did it happen and how do we fix it?

>>> d = requests.get("http://labels.wmflabs.org/campaigns/ruwiki/10/?tasks").json()
>>> counts = {}
>>> for t in d['tasks']:
...     counts[len(t['labels'])] = counts.get(len(t['labels']), 0) + 1
... 
>>> counts
{0: 82, 1: 4985, 2: 126}

Event Timeline

Didn't this happen with ptwiki? I remember something similar...