Coder Social home page Coder Social logo

triage-dashboard's Introduction

Triage Dashboard

Given a github slug, eg neozenith/triage-dashboard, scrape the Github API for activity on all issues and pull requests to determine metrics around the current state and progress of inbound requests.

The goal is to focus on the work that has the best ROI for cognitive bandwidth and volunteer time investment.

It should produce a Plotly Dash dashboard with a table of links to exact issues/PRs to drill into.

Getting Started

Work in Progress...

For my own purposes:

poetry install
poetry shell
invoke --list

Available tasks:

  all         Outer development loop.
  format      Autoformat code for code style.
  lint        Linting and style checking.
  main        Inner loop for fast dev feedback.
  test        Run test suite.
  typecheck   Run typechecking tooling.

Default task: main

Concept

Figure out historically what "humming along" looked like. And what signs appeared when slowing down.

Also look at what is "normal variability" in interactions.

Get a better mental model for triage and response times and turn around through data.

TODO

  • Finish collecting data structures
  • Looks like PRs do not expose reactions in the root comment via API
  • Looks like PyGithub is not consistent in fetching Comments on PRs, will have to resort to raw API calls
  • Work on Data vis
    • Need to think about what metrics are important
    • Monthly open rates
    • Monthly close rates
      • Close rates by staleness
    • Time-triage (time until first maintainer comment)
    • Rank by emoji reaction upvotes
    • Rank by time since last comment
    • Filter by "whose court the ball is in", eg unlabelled, unassigned, no milestone, pending tests label, requires documentation label, is a maintainer the last to have comment, is it stale?
  • Figure out how to do Change Data Capture instead of full history fetch
  • Is there a way to fetch from the API via date range?

Resources

triage-dashboard's People

Contributors

jpeak-intellify avatar

Watchers

Josh Peak avatar James Cloos avatar  avatar

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.