In [1]:
%matplotlib inline
from bigbang.archive import Archive
from bigbang import repo_loader;
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd

In [2]:
repo = repo_loader.get_repo("bigbang")
full_info = repo.commit_data;


Checking for bigbang at /home/aryan/urap/bigbang/archives/sample_git_repos/bigbang
failed to add a commit because of an encoding error
failed to add a commit because of an encoding error

In [3]:
convolveArray = [1/(n+1) for n in range(9)]

In [4]:
commitsPerWeek = repo.commits_per_week()
commitsPerWeek.plot();



In [5]:
topCommitters = repo.by_committer()[-5:];
topCommitters.plot(kind='bar')


Out[5]:
<matplotlib.axes.AxesSubplot at 0x7f0c5c0bc990>

In [6]:
withoutTopCommitters = repo.commits_per_day_full().drop(topCommitters.index, 0, 1);
withoutTopCommitters = withoutTopCommitters.groupby(level = 0).size().resample("W", how=np.sum)
withoutTopCommitters.plot()
#commitsPerWeek.plot()


Out[6]:
<matplotlib.axes.AxesSubplot at 0x7f0c3e30eb50>

In [7]:


In [ ]:


In [ ]: