oso
oso copied to clipboard
Add more eligibility checks to the RF4 dbt model
What is it?
- does the project have more than one contributor
- has there been a recent commit in the last 30 days
- have there been more than 10 days of activity in the last 90 days
For now at least, we need to take a final version of this model and adding a field in here
Latest thoughts from Jonas are here
Checks to consider:
- Enforce Eligibility criteria
- Check that Github repo has min number of commits (e.g. 100)
- Check that Github repo has min number of stars (e.g. 20)
- Check that Github repo is in relevant language (Solidity or Javascript)
Current repo checks:
repo_snapshot.commit_count >= 10
and repo_snapshot.days_with_commits_count >= 3
and repo_snapshot.first_commit_time < '2024-05-01'
and repo_snapshot.star_count >= 10
and repo_snapshot.language in ('Solidity', 'JavaScript', 'TypeScript')
and repo_snapshot.license_type != 'Unspecified'