ronantakizawa commited on
Commit
364d3ef
Β·
verified Β·
1 Parent(s): 67ad6cb

Reorganize with YAML configs for dual dataset support

Browse files
Files changed (1) hide show
  1. README.md +101 -15
README.md CHANGED
@@ -15,6 +15,11 @@ language:
15
  - en
16
  size_categories:
17
  - 1K<n<10K
 
 
 
 
 
18
  ---
19
 
20
  # GitHub Top Developers by Year (2015-2025)
@@ -30,6 +35,42 @@ A derived dataset showing the top-ranked GitHub trending developers for each yea
30
  - **Data Order**: Sorted by year (descending: 2025 β†’ 2015) and rank within each year
31
  - **Update Frequency**: Static historical dataset
32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  ## πŸ† Scoring Methodology
34
 
35
  Each developer's yearly score is calculated using:
@@ -49,21 +90,6 @@ Where:
49
  - βœ… Rewards **high rankings** (rank 1 is worth more than rank 25. We use 25 because github ranks the top 25 developers on their page)
50
  - βœ… Balances consistency with peak performance
51
 
52
- ## πŸ“‹ Dataset Structure
53
-
54
- ### Columns
55
-
56
- | Column | Type | Description |
57
- |--------|------|-------------|
58
- | `year` | integer | Year (2015-2025) |
59
- | `rank` | integer | Overall rank for that year (1 = highest score) |
60
- | `name` | string | Developer/organization GitHub username |
61
- | `times_trended` | integer | Number of times appeared on trending |
62
- | `best_rank` | integer | Highest rank achieved (lowest number) |
63
- | `avg_rank` | float | Average rank across all appearances |
64
- | `median_rank` | integer | Median rank |
65
- | `popular_repos` | string | Top repositories (comma-separated) |
66
-
67
  ## 🌟 Key Insights
68
 
69
  ### 1. Year Winners (Highest Score Each Year)
@@ -125,8 +151,68 @@ Where:
125
  - **Organization Decline**: Big tech companies dropped from top spots after 2019
126
  - **Ecosystem Impact**: Most top developers maintain influential open-source libraries
127
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
  ## πŸ“„ License
129
 
130
  MIT License - Free to use with attribution
131
 
 
132
 
 
 
 
 
15
  - en
16
  size_categories:
17
  - 1K<n<10K
18
+ configs:
19
+ - config_name: yearly
20
+ data_files: "yearly/data.csv"
21
+ - config_name: full
22
+ data_files: "full/data.csv"
23
  ---
24
 
25
  # GitHub Top Developers by Year (2015-2025)
 
35
  - **Data Order**: Sorted by year (descending: 2025 β†’ 2015) and rank within each year
36
  - **Update Frequency**: Static historical dataset
37
 
38
+ ## πŸ”§ Dataset Configurations
39
+
40
+ This dataset has **two configurations** defined in the YAML header:
41
+
42
+ ### Configuration: `yearly` (Default)
43
+ Top-ranked developers by year with 8,125 entries
44
+
45
+ ```python
46
+ from datasets import load_dataset
47
+ ds = load_dataset('ronantakizawa/github-top-developers', 'yearly')
48
+ ```
49
+
50
+ **Columns:**
51
+ - `year` (int): Year (2015-2025)
52
+ - `rank` (int): Overall rank for that year (1 = highest score)
53
+ - `name` (string): Developer/organization GitHub username
54
+ - `times_trended` (int): Number of times appeared on trending
55
+ - `best_rank` (int): Highest rank achieved (lowest number)
56
+ - `avg_rank` (float): Average rank across all appearances
57
+ - `median_rank` (int): Median rank
58
+ - `popular_repos` (string): Top repositories (comma-separated)
59
+
60
+ ### Configuration: `full`
61
+ Complete daily trending data with 41,841 entries
62
+
63
+ ```python
64
+ from datasets import load_dataset
65
+ ds = load_dataset('ronantakizawa/github-top-developers', 'full')
66
+ ```
67
+
68
+ **Columns:**
69
+ - `name` (string): Developer/organization GitHub username
70
+ - `rank` (int): Position in trending (1-25)
71
+ - `popular_repo` (string): Associated repository at the time
72
+ - `date` (string): Snapshot date (YYYY-MM-DD)
73
+
74
  ## πŸ† Scoring Methodology
75
 
76
  Each developer's yearly score is calculated using:
 
90
  - βœ… Rewards **high rankings** (rank 1 is worth more than rank 25. We use 25 because github ranks the top 25 developers on their page)
91
  - βœ… Balances consistency with peak performance
92
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  ## 🌟 Key Insights
94
 
95
  ### 1. Year Winners (Highest Score Each Year)
 
151
  - **Organization Decline**: Big tech companies dropped from top spots after 2019
152
  - **Ecosystem Impact**: Most top developers maintain influential open-source libraries
153
 
154
+ ## πŸ’‘ Usage Examples
155
+
156
+ ### Load with Hugging Face Datasets (Recommended)
157
+
158
+ ```python
159
+ from datasets import load_dataset
160
+
161
+ # Load yearly aggregated dataset (8,125 entries)
162
+ ds_yearly = load_dataset('ronantakizawa/github-top-developers', 'yearly')
163
+ df_yearly = ds_yearly['train'].to_pandas()
164
+
165
+ # Load complete daily dataset (41,841 entries)
166
+ ds_full = load_dataset('ronantakizawa/github-top-developers', 'full')
167
+ df_full = ds_full['train'].to_pandas()
168
+
169
+ # Get top 10 developers of 2024
170
+ top_2024 = df_yearly[df_yearly['year'] == 2024].head(10)
171
+ print(top_2024[['rank', 'name', 'times_trended', 'popular_repos']])
172
+ ```
173
+
174
+ ### Time Series Analysis
175
+
176
+ ```python
177
+ import pandas as pd
178
+ import matplotlib.pyplot as plt
179
+ from datasets import load_dataset
180
+
181
+ ds = load_dataset('ronantakizawa/github-top-developers', 'full')
182
+ df = ds['train'].to_pandas()
183
+ df['date'] = pd.to_datetime(df['date'])
184
+
185
+ # Analyze a specific developer over time
186
+ developer = 'emilk'
187
+ dev_df = df[df['name'] == developer]
188
+
189
+ # Plot trending frequency over time
190
+ monthly_counts = dev_df.groupby(dev_df['date'].dt.to_period('M')).size()
191
+ monthly_counts.plot(title=f'{developer} Trending Frequency')
192
+ plt.ylabel('Days in Trending')
193
+ plt.show()
194
+ ```
195
+
196
+ ## πŸ“– Citation
197
+
198
+ If you use this dataset in your research, please cite:
199
+
200
+ ```bibtex
201
+ @dataset{github_trending_developers_2015_2025,
202
+ title={GitHub Top Developers Dataset (2015-2025)},
203
+ author={Ronan Takizawa},
204
+ year={2025},
205
+ publisher={Hugging Face},
206
+ url={https://huggingface.co/datasets/ronantakizawa/github-top-developers}
207
+ }
208
+ ```
209
+
210
  ## πŸ“„ License
211
 
212
  MIT License - Free to use with attribution
213
 
214
+ ---
215
 
216
+ **Last Updated:** December 2025
217
+ **Dataset Version:** 1.0
218
+ **Status:** βœ… Complete and ready for use