api
api copied to clipboard
Feature: Devstats - histogram of author buckets to commits
For a given repo, to surface the % of author commits for the given authors in a time range:
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