api icon indicating copy to clipboard operation
api copied to clipboard

Feature: Devstats - histogram of author buckets to commits

Open jpmcb opened this issue 3 months ago • 0 comments

For a given repo, to surface the % of author commits for the given authors in a time range:

Screenshot 2024-03-18 at 11 53 58 AM

the API would need to support a histogram that captures:

{
  bucket: author_name,
  commits: #
}

This way, a client could derive a histogram chart (as pictured above) or tease apart the data to capture percentages of core authors, etc.

The commits could be a simple time_bucket on the timescale data in merged pull_request_github_events and the assocated push_github_events commits that actually end up landing on the main branch.


Related: https://github.com/open-sauced/engineering/issues/37

jpmcb avatar Mar 18 '24 17:03 jpmcb