Index: trunk/tools/editor_trends/analyses/plugins/ets_cohort_forward_histogram.py |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | from dateutil.relativedelta import * |
23 | 23 | import calendar |
24 | 24 | |
25 | | -def cohort_dataset_forward_histogram(var, editor, **kwargs): |
| 25 | +def ets_cohort_forward_histogram(var, editor, **kwargs): |
26 | 26 | ''' |
27 | 27 | The forward looking histogram looks for every month that an editor |
28 | 28 | was part of the Wikimedia community whether this person made at least cutoff |
— | — | @@ -34,7 +34,6 @@ |
35 | 35 | #final_edit = editor['final_edit'].year + 1 |
36 | 36 | #yearly_edits = editor['edits_by_year'] |
37 | 37 | |
38 | | - |
39 | 38 | if n >= var.cum_cutoff and new_wikipedian != False: |
40 | 39 | years = edits.keys() |
41 | 40 | for year in years: |
Index: trunk/tools/editor_trends/analyses/plugins/ets_cohort_backward_bar.py |
— | — | @@ -22,7 +22,7 @@ |
23 | 23 | from utils import data_converter |
24 | 24 | |
25 | 25 | |
26 | | -def cohort_dataset_backward_bar(var, editor, **kwargs): |
| 26 | +def ets_cohort_backward_bar(var, editor, **kwargs): |
27 | 27 | ''' |
28 | 28 | The backward looking bar chart looks for every year that an editor |
29 | 29 | was part of the Wikimedia community whether this person made at least cutoff |
Index: trunk/tools/editor_trends/analyses/plugins/ets_cohort_forward_bar.py |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | __version__ = '0.1' |
20 | 20 | |
21 | 21 | |
22 | | -def cohort_dataset_forward_bar(var, editor, **kwargs): |
| 22 | +def ets_cohort_forward_bar(var, editor, **kwargs): |
23 | 23 | ''' |
24 | 24 | The forward looking bar charts looks for every month that an editor |
25 | 25 | was part of the Wikimedia community whether this person made at least cutoff |
Index: trunk/tools/editor_trends/analyses/plugins/ets_cohort_backward_histogram.py |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | from dateutil.relativedelta import relativedelta |
23 | 23 | from utils import data_converter |
24 | 24 | |
25 | | -def histogram_by_backward_cohort(var, editor, **kwargs): |
| 25 | +def ets_cohort_backward_histogram(var, editor, **kwargs): |
26 | 26 | break_down = kwargs.pop('break_down', False) |
27 | 27 | new_wikipedian = editor['new_wikipedian'] |
28 | 28 | edits = editor['edit_count'] |