Index: trunk/tools/wsor/registration_lags/fitmixture |
— | — | @@ -3,6 +3,9 @@ |
4 | 4 | |
5 | 5 | ''' fits lags data to a gaussian mixture model ''' |
6 | 6 | |
| 7 | +__author__ = "Giovanni Luca Ciampaglia" |
| 8 | +__email__ = "gciampaglia@wikimedia.org" |
| 9 | + |
7 | 10 | import os |
8 | 11 | from argparse import ArgumentParser |
9 | 12 | import numpy as np |
Index: trunk/tools/wsor/registration_lags/evolplot |
— | — | @@ -1,6 +1,9 @@ |
2 | 2 | #!/usr/bin/python |
3 | 3 | # :vim:ft=python |
4 | 4 | |
| 5 | +__author__ = "Giovanni Luca Ciampaglia" |
| 6 | +__email__ = "gciampaglia@wikimedia.org" |
| 7 | + |
5 | 8 | import os |
6 | 9 | from pylab import * |
7 | 10 | from datetime import datetime |
Index: trunk/tools/wsor/registration_lags/mixhist |
— | — | @@ -3,6 +3,9 @@ |
4 | 4 | |
5 | 5 | ''' plot histogram of waiting time data in log-space ''' |
6 | 6 | |
| 7 | +__author__ = "Giovanni Luca Ciampaglia" |
| 8 | +__email__ = "gciampaglia@wikimedia.org" |
| 9 | + |
7 | 10 | from argparse import ArgumentParser |
8 | 11 | from pylab import * |
9 | 12 | import os |
Index: trunk/tools/wsor/registration_lags/graphics.py |
— | — | @@ -4,6 +4,9 @@ |
5 | 5 | from scipy.stats import gaussian_kde |
6 | 6 | from matplotlib.collections import LineCollection |
7 | 7 | |
| 8 | +__author__ = "Giovanni Luca Ciampaglia" |
| 9 | +__email__ = "gciampaglia@wikimedia.org" |
| 10 | + |
8 | 11 | def stackedarea(x, components, weights, cmap=cm.YlGnBu, **kwargs): |
9 | 12 | ''' |
10 | 13 | Produces a stacked area plot from given components and weights. |
Index: trunk/tools/wsor/contribution_inequality/ginichart.py |
— | — | @@ -1,6 +1,9 @@ |
2 | 2 | #!/usr/bin/python |
3 | 3 | ''' computes gini coefficient of contribution to namespace per year ''' |
4 | 4 | |
| 5 | +__author__ = "Giovanni Luca Ciampaglia" |
| 6 | +__email__ = "gciampaglia@wikimedia.org" |
| 7 | + |
5 | 8 | import os |
6 | 9 | import sys |
7 | 10 | import csv |
Index: trunk/tools/wsor/contribution_inequality/topcontributors.py |
— | — | @@ -2,6 +2,9 @@ |
3 | 3 | |
4 | 4 | ''' lists top contributors by year and namespace ''' |
5 | 5 | |
| 6 | +__author__ = "Giovanni Luca Ciampaglia" |
| 7 | +__email__ = "gciampaglia@wikimedia.org" |
| 8 | + |
6 | 9 | import os |
7 | 10 | import sys |
8 | 11 | import csv |
Index: trunk/tools/wsor/editor_lifecycle/timechart |
— | — | @@ -2,6 +2,9 @@ |
3 | 3 | |
4 | 4 | ''' plots cohort rate date ''' |
5 | 5 | |
| 6 | +__author__ = "Giovanni Luca Ciampaglia" |
| 7 | +__email__ = "gciampaglia@wikimedia.org" |
| 8 | + |
6 | 9 | import os |
7 | 10 | import sys |
8 | 11 | |
Index: trunk/tools/wsor/editor_lifecycle/rateperedits.py |
— | — | @@ -4,6 +4,9 @@ |
5 | 5 | Radicchi (2009), Phys. Rev. E 80, 026118, that used data from a snapshot of the |
6 | 6 | logging table from 2008. ''' |
7 | 7 | |
| 8 | +__author__ = "Giovanni Luca Ciampaglia" |
| 9 | +__email__ = "gciampaglia@wikimedia.org" |
| 10 | + |
8 | 11 | import re |
9 | 12 | import os |
10 | 13 | import sys |
Index: trunk/tools/wsor/editor_lifecycle/mrtchart |
— | — | @@ -1,6 +1,9 @@ |
2 | 2 | #!/usr/bin/python |
3 | 3 | # coding: utf8 |
4 | 4 | |
| 5 | +__author__ = "Giovanni Luca Ciampaglia" |
| 6 | +__email__ = "gciampaglia@wikimedia.org" |
| 7 | + |
5 | 8 | import re |
6 | 9 | import os |
7 | 10 | import sys |
Index: trunk/tools/wsor/editor_lifecycle/mkcohort |
— | — | @@ -3,6 +3,9 @@ |
4 | 4 | |
5 | 5 | ''' finding better cohorts by real user activity ''' |
6 | 6 | |
| 7 | +__author__ = "Giovanni Luca Ciampaglia" |
| 8 | +__email__ = "gciampaglia@wikimedia.org" |
| 9 | + |
7 | 10 | import os |
8 | 11 | import sys |
9 | 12 | import csv |
Index: trunk/tools/wsor/editor_lifecycle/setup.py |
— | — | @@ -1,5 +1,8 @@ |
2 | 2 | from distutils.core import setup |
3 | 3 | |
| 4 | +__author__ = "Giovanni Luca Ciampaglia" |
| 5 | +__email__ = "gciampaglia@wikimedia.org" |
| 6 | + |
4 | 7 | setup( |
5 | 8 | name='lifecycle', |
6 | 9 | description='WMF summer of research project', |
Index: trunk/tools/wsor/editor_lifecycle/fetchrates |
— | — | @@ -1,5 +1,8 @@ |
2 | 2 | #!/usr/bin/python |
3 | 3 | |
| 4 | +__author__ = "Giovanni Luca Ciampaglia" |
| 5 | +__email__ = "gciampaglia@wikimedia.org" |
| 6 | + |
4 | 7 | import sys |
5 | 8 | import os |
6 | 9 | import numpy as np |
Index: trunk/tools/wsor/editor_lifecycle/fitting |
— | — | @@ -4,6 +4,9 @@ |
5 | 5 | |
6 | 6 | ''' editor lifecycle data fitting tool ''' |
7 | 7 | |
| 8 | +__author__ = "Giovanni Luca Ciampaglia" |
| 9 | +__email__ = "gciampaglia@wikimedia.org" |
| 10 | + |
8 | 11 | import sys |
9 | 12 | import os |
10 | 13 | import numpy as np |
Index: trunk/tools/wsor/editor_lifecycle/sefit |
— | — | @@ -3,6 +3,9 @@ |
4 | 4 | |
5 | 5 | ''' batch model fitting (usable with xargs)''' |
6 | 6 | |
| 7 | +__author__ = "Giovanni Luca Ciampaglia" |
| 8 | +__email__ = "gciampaglia@wikimedia.org" |
| 9 | + |
7 | 10 | import re |
8 | 11 | import os |
9 | 12 | import sys |