GithubHelp home page GithubHelp logo

harshalmittal4 / chaoss-perceval-microtasks Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 11.52 MB

Visualization of Github statistics of any open-source project using Github API and CHAOSS project.

Jupyter Notebook 100.00%
chaoss microtasks perceval gsoc-19

chaoss-perceval-microtasks's Introduction

CHAOSS-Perceval-microtasks

Binder

This repository contains microtasks to achieved for CHAOSS GSoC Idea #2 :
Implementing CHAOSS metrics with Perceval Details.
(Launch with Binder)


#Microtask 0

Using (See in MyBinder) as an example, produce one notebook per data source (git, GitHub/GitLab issues, GitHub pull requests / GitLab merge requests) showing a summary of the contents of that file (number of items in it, and number of different identities in it counting authors/committers for git, submitters for issues and pull/merge requests). This microtask is mandatory, to show that you can retrieve data and produde a notebook showing it. In each notebook, include also the list of repositories retrieved, and the date of retrieval, using data available in the JSON file.

The task is completed here.


#Microtask 1

Produce a notebook showing (and producing) a list with the activity per quarter: number of new committers, submitters of issues, and submitters of pull/merge requests, number of items (commits, issues, pull/merge requests), number of repositories with new items (all of this per quarter) as a table and as a CSV file. Use plain Python3 (eg, no Pandas) for this.

The task is completed here.


#Microtask 2

Like Microtask 1, but now using Pandas.

The task is completed here.


#Microtask 3

Produce a notebook with charts showing the distribution of time-to-close for issues already closed, and opened during the last year, for each of the repositories analyzed, and for all of them together. Use Pandas for this, and the Python charting library of your choice (as long as it is a FOSS module).

The task is completed here.


#Microtask 4

Produce a listing of repositories, as a table and as CSV file, with the number of commits authored, issues opened, and pull/merge requests opened, during the last three months, ordered by the total number (commits plus issues plus pull requests). Use plain Python3 (eg, no Pandas) for this.

The task is completed here.


#Microtask 5

Like Microtask 4, but now using Pandas.

The task is completed here.


#Microtask 6

Perform any other analysis you may find interesting, based on the Perceval data you collected.

The task is completed here.


#Microtask 7-8

Contributions uptil now are included here.


To produce the results :

  1. Clone the repo. In the root of the directory, create a virtualenv and set it to use python3 (in case default is python2):
$ python3 -m virtualenv venv
$ virtualenv --python=/path/to/yourpython3 venv
  1. Activate the virtualenv.
source ./venv/bin/activate
  1. Install the required packages.
$ pip install -r requirements.txt
  1. Launch the jupyter kernel.
$ jupyter-notebook

The readme.md in each folder contains further information for that microtask.

chaoss-perceval-microtasks's People

Contributors

harshalmittal4 avatar

Stargazers

 avatar

Watchers

 avatar

chaoss-perceval-microtasks's Issues

Suggestions regarding improvement in the microtasks.

Hey @valeriocos, @aswanipranjal, I would be adding the microtask 6 soon. Meanwhile, please may you review these microtasks for any changes I need to have, or the improvements you feel.

One things that I wished to ask was regarding the extent of documentation. Although I would be adding some more parts to the documentation(had been busy with some university stuff), just thought to have your remarks on it (It could be made as much descriptive as required by adding more details).

The proposal is almost done and would be in place by tomorrow. I am making some final changes.
I request you to review the proposal also once it is finalized, this would be of great help!
Thanks ๐Ÿ™‚

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.