Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Organization History #34

Closed
abuhman opened this issue Mar 20, 2017 · 1 comment
Closed

Organization History #34

abuhman opened this issue Mar 20, 2017 · 1 comment
Assignees
Labels
feature-request Request for a new feature in Augur metric Related to metrics, new or otherwise

Comments

@abuhman
Copy link
Contributor

abuhman commented Mar 20, 2017

organizationHistory folder is now added under dev branch. It contains the pythonBlameHistoryTree.py file, which gets the percentage of a repo written by different organizations at the time of each commit. If no organizations are output for a certain commit, or the percentage adds up to less than 100%, this is expected because not all users are a member of an organization.

However, currently the way users are matched to organizations, it is possible to have a user be a member of multiple organizations (leading to a potential sum of more than 100% of the repo, and/or other misleading statistics).

Data for the percentage of the file comes from Git. The Git Blame command allows the user to view which user most recently changed each line of code in a file. By looping through every commit and every file in the repo, we can get a percentage of the repo written by each user over the history of the repo.

The user's organization is obtained through querying the ghTorrent database using the user's email address (in my local case, MSR14).

@sgoggins sgoggins modified the milestones: 0.4.0: Red Pumpkin , 0.5.0: Festivus Down Oct 6, 2017
@sgoggins
Copy link
Member

sgoggins commented Oct 6, 2017

i think the next step is to make this available for visualization on the front end, right?

@sgoggins sgoggins added the feature-request Request for a new feature in Augur label Oct 6, 2017
@sgoggins sgoggins modified the milestones: 0.5.0: Festivus Down, 0.4.0: Red Pumpkin Dec 17, 2017
@sgoggins sgoggins moved this from To Do to In Progress in Front End Developer Update Release 0.4.0 Dec 17, 2017
@sgoggins sgoggins modified the milestones: 0.4.0: Red Pumpkin , 0.5.5: Pitchers and Catchers Dec 18, 2017
@howderek howderek modified the milestones: 0.5.5: Pitchers and Catchers, 0.5.0: Cold Fusion Jan 4, 2018
@sgoggins sgoggins modified the milestones: 0.5.0: Cold Fusion, 0.7.0 : Dorothy Feb 27, 2018
@howderek howderek added the metric Related to metrics, new or otherwise label Oct 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for a new feature in Augur metric Related to metrics, new or otherwise
Projects
No open projects
Development

No branches or pull requests

4 participants