api
api copied to clipboard
Feature: iterate and improve activity ratio
Type of feature
🍕 Feature
Current behavior
Followup to https://github.com/open-sauced/api/pull/523
Currently, activity ratios are calculated from a huge subset of the top 1000 starred repos on GitHub. The top 5% are ignored and the bottom 5% are ignored (and then normalized to 0-10). This ratio is then used with the activity of unique contributors (in the query to timescale) to generate an activity ratio that is returned in the data as health
For reference, this calculation was derived generally from:
Suggested solution
This isn't necessarily that we refactor this entirely, but rather, we should spend the time iterating and making sure this is of the highest standard it can possibly be.
Additional context
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Contributing Docs
- [X] I agree to follow this project's Contribution Docs