ronantakizawa commited on
Commit
da8e92c
·
verified ·
1 Parent(s): 7ce9e17

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +3 -10
README.md CHANGED
@@ -24,7 +24,7 @@ A curated dataset of source code from **GitHub's top trending developers (2015-2
24
  - **80+ programming languages** included (Python, JavaScript, TypeScript, Rust, Go, C/C++, Java, and more)
25
  - **Source code only** — config files (JSON, YAML, TOML, etc.) and documentation (Markdown, TXT) are excluded
26
  - **Permissive licenses only** (MIT, Apache-2.0, BSD, ISC, etc.)
27
- - **Rich metadata** per file: repo stars, commit count, developer trending rank, company affiliation
28
 
29
  ## Schema
30
 
@@ -34,20 +34,14 @@ Each row represents a single source file:
34
  |--------|------|-------------|
35
  | `file_path` | string | Path within the repo (e.g. `src/main.py`) |
36
  | `file_language` | string | Language detected from file extension (e.g. `Python`, `JavaScript`) |
37
- | `file_size` | int64 | File size in bytes |
38
  | `content` | string | Raw source code (UTF-8) |
39
  | `repo_name` | string | Full repository name (`owner/repo`) |
40
  | `repo_stars` | int64 | GitHub star count at time of collection |
41
- | `repo_commit_count` | int64 | Total commits on default branch (nullable — null if unavailable) |
42
- | `repo_license` | string | SPDX license identifier |
43
  | `repo_description` | string | Repository description |
44
  | `repo_primary_language` | string | GitHub-detected primary language of the repository |
45
  | `developer_username` | string | GitHub username |
46
  | `developer_name` | string | Developer display name |
47
  | `developer_company` | string | Company affiliation |
48
- | `developer_best_rank` | int64 | Best trending rank achieved |
49
- | `developer_avg_rank` | float64 | Average trending rank |
50
- | `developer_median_rank` | float64 | Median trending rank |
51
 
52
  **Note on language columns:** `file_language` is determined per-file from the file extension (e.g. a `.py` file is always `Python`). `repo_primary_language` is GitHub's auto-detected primary language for the entire repository. These may differ — for example, a C header file (`.h` → `C/C++ Header`) in a repo that GitHub classifies as `Python`.
53
 
@@ -73,9 +67,8 @@ dev_files = ds.filter(lambda x: x["developer_username"] == "torvalds")
73
  | Feature | This Dataset | The Stack | codeparrot/github-code |
74
  |---------|-------------|-----------|----------------------|
75
  | Curated by developer reputation | Yes | No | No |
76
- | Developer metadata (trending rank, company) | Yes | No | No |
77
  | Stars per repo | Yes | Yes | No |
78
- | Commit count | Yes | No | No |
79
  | Permissive licenses only | Yes | Yes | Mixed |
80
 
81
  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.
@@ -87,7 +80,7 @@ Existing code datasets are massive bulk scrapes of all public GitHub repos. This
87
  3. **License filtering**: Only repositories with permissive licenses (MIT, Apache-2.0, BSD, ISC, Unlicense, etc.) were included.
88
  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.
89
  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.
90
- 6. **Metadata enrichment**: Each file is linked to repository metadata (stars, language, topics) and developer metadata (trending history, company).
91
 
92
  ## Filtering Applied
93
 
 
24
  - **80+ programming languages** included (Python, JavaScript, TypeScript, Rust, Go, C/C++, Java, and more)
25
  - **Source code only** — config files (JSON, YAML, TOML, etc.) and documentation (Markdown, TXT) are excluded
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
 
 
34
  |--------|------|-------------|
35
  | `file_path` | string | Path within the repo (e.g. `src/main.py`) |
36
  | `file_language` | string | Language detected from file extension (e.g. `Python`, `JavaScript`) |
 
37
  | `content` | string | Raw source code (UTF-8) |
38
  | `repo_name` | string | Full repository name (`owner/repo`) |
39
  | `repo_stars` | int64 | GitHub star count at time of collection |
 
 
40
  | `repo_description` | string | Repository description |
41
  | `repo_primary_language` | string | GitHub-detected primary language of the repository |
42
  | `developer_username` | string | GitHub username |
43
  | `developer_name` | string | Developer display name |
44
  | `developer_company` | string | Company affiliation |
 
 
 
45
 
46
  **Note on language columns:** `file_language` is determined per-file from the file extension (e.g. a `.py` file is always `Python`). `repo_primary_language` is GitHub's auto-detected primary language for the entire repository. These may differ — for example, a C header file (`.h` → `C/C++ Header`) in a repo that GitHub classifies as `Python`.
47
 
 
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.
 
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