Page MenuHomePhabricator

Split frequency distribution table into two parts: with duration > 1 day and < 1 day
Closed, InvalidPublic

Description

Context:
To better inform the breaking news algorithm, we collect the following stats:

  1. Min/max/average/mode/freuqency table of duration between article creation and template addition.
  2. Min/max/average/mode/freuqency table of duration between template addition and template removal.

To do :
To make the frequency distribution table more readable, split the python dictionary into two parts - one with durations > 1 day and the other with durations < 1 day.

This should add 2 extra column to duration stats csv. Refer to analytics/breaking-news/results

Acceptance criteria:
2 more columns appear on duration stats csv:

  1. Freq duration table (durations < 1 day)
  2. Freq duration table (durations > 1 day)