ronantakizawa commited on
Commit
a21308a
·
verified ·
1 Parent(s): 0fa6626

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -38
README.md CHANGED
@@ -16,7 +16,9 @@ size_categories:
16
 
17
  # GitHub Top Developer Source Code
18
 
19
- A curated dataset of source code from **GitHub's top trending developers (2015-2025)**. Unlike bulk code scrapes, this dataset is filtered to code written by developers who repeatedly appeared on GitHub's trending page, linking each file to rich developer and repository metadata.
 
 
20
 
21
  ## Dataset Summary
22
 
@@ -26,6 +28,13 @@ A curated dataset of source code from **GitHub's top trending developers (2015-2
26
  - **Permissive licenses only** (MIT, Apache-2.0, BSD, ISC, etc.)
27
  - **Rich metadata** per file: repo stars, description, primary language, developer company affiliation
28
 
 
 
 
 
 
 
 
29
  ## Schema
30
 
31
  Each row represents a single source file:
@@ -62,40 +71,3 @@ popular = ds.filter(lambda x: x["repo_stars"] > 1000)
62
  dev_files = ds.filter(lambda x: x["developer_username"] == "torvalds")
63
  ```
64
 
65
- ## What Makes This Dataset Unique
66
-
67
- | Feature | This Dataset | The Stack | codeparrot/github-code |
68
- |---------|-------------|-----------|----------------------|
69
- | Curated by developer reputation | Yes | No | No |
70
- | Developer metadata (company) | Yes | No | No |
71
- | Stars per repo | Yes | Yes | No |
72
- | Permissive licenses only | Yes | Yes | Mixed |
73
-
74
- Existing code datasets are massive bulk scrapes of all public GitHub repos. This dataset is intentionally curated: every file comes from a developer who was recognized on GitHub's trending page, providing a higher signal-to-noise ratio for studying elite developer practices or fine-tuning code models.
75
-
76
- ## Collection Methodology
77
-
78
- 1. **Developer sourcing**: 4,763 unique developers extracted from [ronantakizawa/github-top-developers](https://huggingface.co/datasets/ronantakizawa/github-top-developers), which tracks GitHub trending page appearances from 2015-2025 via Wayback Machine snapshots.
79
- 2. **Repository discovery**: For each developer, their top 10 repositories by stars were selected using the GitHub API, filtered to repos they own (not forks or contributions).
80
- 3. **License filtering**: Only repositories with permissive licenses (MIT, Apache-2.0, BSD, ISC, Unlicense, etc.) were included.
81
- 4. **Code extraction**: Repository tarballs were downloaded and source files extracted, skipping binary files, vendored directories (`node_modules`, `vendor`, etc.), generated files, and files exceeding 1MB.
82
- 5. **Source code filtering**: Only source code files are included (80+ language extensions). Configuration files (JSON, YAML, TOML, XML, INI), documentation (Markdown, TXT, RST), and template files are excluded.
83
- 6. **Metadata enrichment**: Each file is linked to repository metadata (stars, language, description) and developer metadata (username, name, company).
84
-
85
- ## Filtering Applied
86
-
87
- - **Repos**: Owner-created only (no forks), permissive license, non-empty
88
- - **Directories skipped**: `node_modules`, `vendor`, `third_party`, `dist`, `build`, `__pycache__`, `.git`, `venv`, and 30+ more
89
- - **Files skipped**: Binary files, files >1MB, non-UTF-8 files, config/doc files (JSON, YAML, TOML, XML, Markdown, etc.)
90
- - **Top 10 repos per developer** by star count
91
-
92
- ## Limitations
93
-
94
- - Star counts and commit counts reflect the time of collection, not real-time values
95
- - Some developers may have deleted or renamed their accounts since trending
96
- - Commit counts are for the default branch only
97
- - The dataset reflects trending developers specifically, which may over-represent certain languages or project types popular on GitHub
98
-
99
- ## Source
100
-
101
- Built from [ronantakizawa/github-top-developers](https://huggingface.co/datasets/ronantakizawa/github-top-developers) using the GitHub REST API.
 
16
 
17
  # GitHub Top Developer Source Code
18
 
19
+ A curated dataset of **1.3M+ source code files** from **GitHub's top trending developers (2015-2025)**.
20
+
21
+ This dataset is filtered to code written by developers who repeatedly appeared on GitHub's trending page.
22
 
23
  ## Dataset Summary
24
 
 
28
  - **Permissive licenses only** (MIT, Apache-2.0, BSD, ISC, etc.)
29
  - **Rich metadata** per file: repo stars, description, primary language, developer company affiliation
30
 
31
+ ## Use Cases
32
+
33
+ - Code generation fine-tuning — Train or fine-tune LLMs on high-quality source code written by recognized developers, providing a higher signal-to-noise ratio than bulk GitHub scrapes
34
+ - Cross-language code analysis — Study patterns across 80+ programming languages from the same pool of elite developers to compare idioms, styles, and conventions
35
+ - Open source contribution patterns — Analyze how prolific open source contributors structure their most popular projects
36
+
37
+
38
  ## Schema
39
 
40
  Each row represents a single source file:
 
71
  dev_files = ds.filter(lambda x: x["developer_username"] == "torvalds")
72
  ```
73