Datasets:
Download code/most_reviewed_prs.sql from open-index/open-github-issues: direct link, hf CLI and curl.
- Browser
- Download file 400 Bytes
-
https://huggingface.co/datasets/open-index/open-github-issues/resolve/main/code/most_reviewed_prs.sql
- Command line
-
hf download hf://datasets/open-index/open-github-issues/code/most_reviewed_prs.sql
-
curl -L -o most_reviewed_prs.sql https://huggingface.co/datasets/open-index/open-github-issues/resolve/main/code/most_reviewed_prs.sql
400 Bytes
| -- Most reviewed PRs by number of review submissions | |
| SELECT | |
| r.pr_number, | |
| COUNT(*) as review_count, | |
| COUNT(*) FILTER (WHERE r.state = 'APPROVED') as approvals, | |
| COUNT(*) FILTER (WHERE r.state = 'CHANGES_REQUESTED') as changes_requested | |
| FROM read_parquet('hf://datasets/open-index/open-github-issues/data/reviews/**/0.parquet') r | |
| GROUP BY r.pr_number | |
| ORDER BY review_count DESC | |
| LIMIT 20; | |