llnl.github.io icon indicating copy to clipboard operation
llnl.github.io copied to clipboard

Network connectedness graph

Open IanLee1521 opened this issue 7 years ago • 3 comments

It would be nice if we could break down our "External Contributors" to who those folks are.

One idea is to build a graph of "for our projects" what GitHub Profile > organizations are set by those contributing to our projects.

This will be a bit fragile, based on the other user's profile information, but would be a good start.

IanLee1521 avatar Aug 31 '17 19:08 IanLee1521

@aidan-epperly Is this essentially what https://software.llnl.gov/explore/dependencies/ does? If so, let's close it!

hauten avatar Aug 18 '20 20:08 hauten

My graph doesn't really deal with users. It mostly only deals with organizations. To fully accomplish this would require some analysis of the users.

aidan-epperly avatar Aug 18 '20 20:08 aidan-epperly

Seems like we have the data necessary for itemizing external contributors into some sort of graph:

  • Grab user data: https://github.com/LLNL/llnl.github.io/blob/main/_visualize/queries/repo-Users.gql
  • Make list of ext users: https://github.com/LLNL/llnl.github.io/blob/main/_visualize/scripts/get_members_extrepos.py
  • That list, updated by the bot: https://github.com/LLNL/llnl.github.io/blob/main/visualize/github-data/extUsers.json
  • Make a pie chart w/ % of ext contributors: https://github.com/LLNL/llnl.github.io/blob/main/js/visualize/pie_repos.js (currently ext users are aggregated into this chart)

Need to make sure extUsers.json is accurate. For instance, intUsers.json says my contributedLabRepositories is everything under the LLNL org. I own the org but don't contribute to all of the org's repos. My contributions are more like <20 repos across 4-5 orgs.

So, what kind of graph would be appropriate for this data? Probably not meaningful (or possible?) to show contributors over time; a current snapshot is more realistic. Probably not a pie chart b/c there are >4600 listed in extUsers.json and it would be an unreadable pie. The "Organizations and Contributions" viz on https://software.llnl.gov/visualize/ (second one down) may work: Instead of repos inside each org, show users inside each org. But users can belong to multiple orgs...

hauten avatar Mar 10 '22 17:03 hauten