finalize batch 1/1
Browse files- DATASET_CARD.md +117 -0
- LICENSE_POLICY.md +30 -0
- NOTICE/ATTRIBUTION.md +9 -0
- README.md +11 -0
- reports/FINAL_REPORT.md +65 -0
- reports/dedup_report.json +8 -0
- reports/provenance_manifest.json +8 -0
- reports/secret_scan_report.json +8 -0
- reports/split_report.json +17 -0
- reports/summary.json +155 -0
- reports/summary.md +61 -0
- reports/tokens_per_license.json +30 -0
- reports/tokens_per_slice.json +42 -0
- reports/verification_report.json +11 -0
- splits/test-00001.parquet +3 -0
- splits/train-00001.parquet +3 -0
- splits/train-00002.parquet +3 -0
- splits/validation-00001.parquet +3 -0
DATASET_CARD.md
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Dataset Card � csharp-dotnet-cpt-v0
|
| 2 |
+
|
| 3 |
+
## Intended use
|
| 4 |
+
Continued pretraining of Qwen2.5-Coder-1.5B on C#/.NET code. Named slices allow
|
| 5 |
+
training separate LoRA adapters per domain.
|
| 6 |
+
|
| 7 |
+
## Source
|
| 8 |
+
- **Primary:** `codeparrot/github-code` (public Hugging Face parquet dataset; per-file
|
| 9 |
+
`license` label derived from each repository's LICENSE file via a go-license classifier).
|
| 10 |
+
- 179 of 1126 source shards processed.
|
| 11 |
+
- **Not used (gated, access not granted on this account):** `bigcode/the-stack`,
|
| 12 |
+
`bigcode/the-stack-v2-train`, `bigcode/the-stack-smol`, `bigcode/the-stack-dedup`.
|
| 13 |
+
|
| 14 |
+
## License policy
|
| 15 |
+
Only files whose recorded license is in the allowed set were retained:
|
| 16 |
+
`0bsd`, `apache-2.0`, `bsd`, `bsd-2-clause`, `bsd-3-clause`, `cc0-1.0`, `isc`, `mit`, `mitre`, `ms-pl`, `unlicense`.
|
| 17 |
+
|
| 18 |
+
Excluded: GPL, AGPL, LGPL, MPL, unknown, no-license, proprietary.
|
| 19 |
+
|
| 20 |
+
### Tokens per license
|
| 21 |
+
- `mit`: 460,905 files, 430,391,064 tokens
|
| 22 |
+
- `apache-2.0`: 167,699 files, 204,609,979 tokens
|
| 23 |
+
- `bsd-3-clause`: 31,535 files, 36,707,726 tokens
|
| 24 |
+
- `bsd-2-clause`: 10,346 files, 15,022,311 tokens
|
| 25 |
+
- `unlicense`: 8,238 files, 6,533,139 tokens
|
| 26 |
+
- `cc0-1.0`: 1,881 files, 1,586,022 tokens
|
| 27 |
+
- `isc`: 822 files, 437,927 tokens
|
| 28 |
+
|
| 29 |
+
## Filtering
|
| 30 |
+
- Kept C# (`.cs`/`.csx`) and .NET build/config files (`.csproj`,`.sln`,`.props`,
|
| 31 |
+
`.targets`,`.editorconfig`,`.config`, `global.json`, `nuget.config`, `appsettings.json`, ...).
|
| 32 |
+
- Removed: binaries, generated code (`<auto-generated>`, `.designer.cs`, `.g.cs`, `do not edit`),
|
| 33 |
+
minified (median/max line length thresholds), vendored/large data blobs, secrets.
|
| 34 |
+
- Size window 40�300000 chars.
|
| 35 |
+
- **Exact dedup** by SHA-256 of normalized content; **near-dedup** by MinHash LSH
|
| 36 |
+
(128 permutations, 16 bands, Jaccard >= 0.8).
|
| 37 |
+
|
| 38 |
+
### Dedup / rejection stats
|
| 39 |
+
```json
|
| 40 |
+
{
|
| 41 |
+
"exact_duplicates_removed": 0,
|
| 42 |
+
"near_duplicates_removed": 19828,
|
| 43 |
+
"rejected_bad_extension": 17215737,
|
| 44 |
+
"rejected_license": 263775,
|
| 45 |
+
"rejected_generated_or_size": 113696,
|
| 46 |
+
"rejected_secret": 949
|
| 47 |
+
}
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
## Slices
|
| 51 |
+
- `core_csharp_bcl_async_performance`: 424,888 files, 321,910,658 tokens
|
| 52 |
+
- `testing_debugging_repair_refactoring`: 79,215 files, 149,175,161 tokens
|
| 53 |
+
- `legacy_dotnet_migration_interop`: 68,059 files, 100,024,228 tokens
|
| 54 |
+
- `desktop_wpf_winui_maui`: 54,819 files, 71,724,689 tokens
|
| 55 |
+
- `efcore_sql_data`: 18,638 files, 16,996,348 tokens
|
| 56 |
+
- `architecture_di_auth_configuration`: 8,893 files, 10,461,997 tokens
|
| 57 |
+
- `distributed_dotnet_grpc_signalr_workers`: 9,208 files, 10,058,794 tokens
|
| 58 |
+
- `blazor`: 3,184 files, 5,529,264 tokens
|
| 59 |
+
- `aspnetcore_web_api`: 8,990 files, 5,056,231 tokens
|
| 60 |
+
- `nuget_msbuild_ci_tooling`: 5,532 files, 4,350,798 tokens
|
| 61 |
+
|
| 62 |
+
## Splits (repository-level)
|
| 63 |
+
A repository's files always map to one split via a deterministic hash of `repo_name`,
|
| 64 |
+
so no repository appears in more than one split.
|
| 65 |
+
{
|
| 66 |
+
"test": {
|
| 67 |
+
"files": 9711,
|
| 68 |
+
"tokens": 9151159,
|
| 69 |
+
"repos": 1061
|
| 70 |
+
},
|
| 71 |
+
"train": {
|
| 72 |
+
"files": 662253,
|
| 73 |
+
"tokens": 676849804,
|
| 74 |
+
"repos": 66796
|
| 75 |
+
},
|
| 76 |
+
"validation": {
|
| 77 |
+
"files": 9462,
|
| 78 |
+
"tokens": 9287205,
|
| 79 |
+
"repos": 1012
|
| 80 |
+
}
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
## Secret scanning
|
| 84 |
+
{
|
| 85 |
+
"files_quarantined": 949,
|
| 86 |
+
"by_reason": {
|
| 87 |
+
"secret": 949
|
| 88 |
+
},
|
| 89 |
+
"unresolved_findings_in_corpus": 0,
|
| 90 |
+
"note": "Every retained file passed the secret scanner; matches were excluded (quarantined), so zero unresolved findings remain."
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
## Schema
|
| 94 |
+
```
|
| 95 |
+
text, repo_name, path, source_url, commit_or_blob_id, license,
|
| 96 |
+
source_dataset, content_sha256, quality_score, category_slice, token_count,
|
| 97 |
+
is_synthetic, collected_at
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
## Provenance
|
| 101 |
+
- `source_dataset`: `codeparrot/github-code`.
|
| 102 |
+
- `source_url`: HEAD-based GitHub blob URL (`https://github.com/<repo>/blob/HEAD/<path>`).
|
| 103 |
+
- `commit_or_blob_id`: `ghcode:<shard>:<sha12>` retrieval id.
|
| 104 |
+
- `content_sha256`: SHA-256 of normalized content.
|
| 105 |
+
- **Limitation:** codeparrot/github-code does NOT carry an upstream per-file commit/blob
|
| 106 |
+
SHA; the recorded `commit_or_blob_id` is the dataset-internal retrieval id, not a GitHub
|
| 107 |
+
commit hash. Enriching with exact upstream commits requires per-repo resolution (deferred).
|
| 108 |
+
|
| 109 |
+
## Storage
|
| 110 |
+
Zstandard (level 9) Parquet; data shards ~300 MB compressed.
|
| 111 |
+
Compressed total: 1.19 GB;
|
| 112 |
+
uncompressed: 7.10 GB.
|
| 113 |
+
Verified shards: 180/184.
|
| 114 |
+
|
| 115 |
+
## Reproducibility
|
| 116 |
+
Pipeline: `src/pipeline.py` (download->filter->dedup->classify->tokenize->shard->upload),
|
| 117 |
+
`src/finalize_splits_reports.py` (splits + reports). Deterministic split + MinHash seeds.
|
LICENSE_POLICY.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# License Policy � csharp-dotnet-cpt-v0
|
| 2 |
+
|
| 3 |
+
Only content with a **recorded, permissive, OSI-compatible license** is included.
|
| 4 |
+
|
| 5 |
+
## Allowed licenses
|
| 6 |
+
- 0bsd
|
| 7 |
+
- apache-2.0
|
| 8 |
+
- bsd
|
| 9 |
+
- bsd-2-clause
|
| 10 |
+
- bsd-3-clause
|
| 11 |
+
- cc0-1.0
|
| 12 |
+
- isc
|
| 13 |
+
- mit
|
| 14 |
+
- mitre
|
| 15 |
+
- ms-pl
|
| 16 |
+
- unlicense
|
| 17 |
+
|
| 18 |
+
## Excluded
|
| 19 |
+
GPL-2.0/3.0, LGPL-*, AGPL-3.0, MPL-2.0, Unlicense (treated conservatively where ambiguous),
|
| 20 |
+
unknown, no-license, and any proprietary license.
|
| 21 |
+
|
| 22 |
+
## Source of license labels
|
| 23 |
+
codeparrot/github-code attaches a license to each file, derived from its source
|
| 24 |
+
repository's LICENSE file using the `go-license` classifier. Files whose label is not
|
| 25 |
+
in the allowed set were dropped. License notices required by MIT/Apache/BSD/ISC are
|
| 26 |
+
preserved in NOTICE/ where applicable; the upstream repositories retain their LICENSE files.
|
| 27 |
+
|
| 28 |
+
## Synthetic content
|
| 29 |
+
No model-generated code was mixed into this trusted corpus. The `is_synthetic` column
|
| 30 |
+
is `false` for every row. (A separate synthetic split was not produced in this build.)
|
NOTICE/ATTRIBUTION.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# NOTICE / Attribution
|
| 2 |
+
|
| 3 |
+
This dataset is derived from `codeparrot/github-code`, which aggregates publicly
|
| 4 |
+
available source code from GitHub repositories. Each retained row records its
|
| 5 |
+
`repo_name`, `path`, and `source_url`. Per-file licenses are recorded in the
|
| 6 |
+
`license` column; only permissive licenses (MIT, Apache-2.0, BSD-2/3-Clause, ISC,
|
| 7 |
+
0BSD, MS-PL, CC0-1.0, Unlicense) are included.
|
| 8 |
+
|
| 9 |
+
Respective license texts: https://spdx.org/licenses/
|
README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# csharp-dotnet-cpt-v0
|
| 2 |
+
|
| 3 |
+
A reproducible **C# / .NET continued-pretraining (CPT)** corpus for **Qwen2.5-Coder-1.5B**.
|
| 4 |
+
|
| 5 |
+
- HF: https://huggingface.co/datasets/Nottybro/csharp-dotnet-cpt-v0 (private)
|
| 6 |
+
- Total unique tokens: **695,288,168** (Qwen2.5-Coder-1.5B tokenizer)
|
| 7 |
+
- Files: 681,426 | Repositories: 68,869
|
| 8 |
+
- Format: Zstandard-compressed Parquet, schema below.
|
| 9 |
+
|
| 10 |
+
See **DATASET_CARD.md** for sources, license policy, filtering, limitations.
|
| 11 |
+
See **reports/summary.md** for full statistics.
|
reports/FINAL_REPORT.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# FINAL REPORT
|
| 2 |
+
|
| 3 |
+
# Dataset summary
|
| 4 |
+
|
| 5 |
+
- HF repo: https://huggingface.co/datasets/Nottybro/csharp-dotnet-cpt-v0
|
| 6 |
+
- Total unique tokens: **695,288,168**
|
| 7 |
+
- Target: 500,000,000 | Stretch: 750,000,000
|
| 8 |
+
- Files retained: 681,426 | Repositories: 68,869
|
| 9 |
+
- Source shards processed: 179 / 1126
|
| 10 |
+
- Compressed: 1.19 GB | Uncompressed: 7.10 GB
|
| 11 |
+
- Verified shards: 180/184
|
| 12 |
+
|
| 13 |
+
## Tokens per slice
|
| 14 |
+
| slice | files | tokens |
|
| 15 |
+
|---|---|---|
|
| 16 |
+
| core_csharp_bcl_async_performance | 424,888 | 321,910,658 |
|
| 17 |
+
| testing_debugging_repair_refactoring | 79,215 | 149,175,161 |
|
| 18 |
+
| legacy_dotnet_migration_interop | 68,059 | 100,024,228 |
|
| 19 |
+
| desktop_wpf_winui_maui | 54,819 | 71,724,689 |
|
| 20 |
+
| efcore_sql_data | 18,638 | 16,996,348 |
|
| 21 |
+
| architecture_di_auth_configuration | 8,893 | 10,461,997 |
|
| 22 |
+
| distributed_dotnet_grpc_signalr_workers | 9,208 | 10,058,794 |
|
| 23 |
+
| blazor | 3,184 | 5,529,264 |
|
| 24 |
+
| aspnetcore_web_api | 8,990 | 5,056,231 |
|
| 25 |
+
| nuget_msbuild_ci_tooling | 5,532 | 4,350,798 |
|
| 26 |
+
|
| 27 |
+
## Tokens per license
|
| 28 |
+
| license | files | tokens |
|
| 29 |
+
|---|---|---|
|
| 30 |
+
| mit | 460,905 | 430,391,064 |
|
| 31 |
+
| apache-2.0 | 167,699 | 204,609,979 |
|
| 32 |
+
| bsd-3-clause | 31,535 | 36,707,726 |
|
| 33 |
+
| bsd-2-clause | 10,346 | 15,022,311 |
|
| 34 |
+
| unlicense | 8,238 | 6,533,139 |
|
| 35 |
+
| cc0-1.0 | 1,881 | 1,586,022 |
|
| 36 |
+
| isc | 822 | 437,927 |
|
| 37 |
+
|
| 38 |
+
## Splits (repo-level)
|
| 39 |
+
| split | files | tokens | repos |
|
| 40 |
+
|---|---|---|---|
|
| 41 |
+
| test | 9,711 | 9,151,159 | 1,061 |
|
| 42 |
+
| train | 662,253 | 676,849,804 | 66,796 |
|
| 43 |
+
| validation | 9,462 | 9,287,205 | 1,012 |
|
| 44 |
+
|
| 45 |
+
## Dedup / filtering
|
| 46 |
+
{
|
| 47 |
+
"exact_duplicates_removed": 0,
|
| 48 |
+
"near_duplicates_removed": 19828,
|
| 49 |
+
"rejected_bad_extension": 17215737,
|
| 50 |
+
"rejected_license": 263775,
|
| 51 |
+
"rejected_generated_or_size": 113696,
|
| 52 |
+
"rejected_secret": 949
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
## Secret scan
|
| 56 |
+
{
|
| 57 |
+
"files_quarantined": 949,
|
| 58 |
+
"by_reason": {
|
| 59 |
+
"secret": 949
|
| 60 |
+
},
|
| 61 |
+
"unresolved_findings_in_corpus": 0,
|
| 62 |
+
"note": "Every retained file passed the secret scanner; matches were excluded (quarantined), so zero unresolved findings remain."
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
HF: https://huggingface.co/datasets/Nottybro/csharp-dotnet-cpt-v0
|
reports/dedup_report.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"exact_duplicates_removed": 0,
|
| 3 |
+
"near_duplicates_removed": 19828,
|
| 4 |
+
"rejected_bad_extension": 17215737,
|
| 5 |
+
"rejected_license": 263775,
|
| 6 |
+
"rejected_generated_or_size": 113696,
|
| 7 |
+
"rejected_secret": 949
|
| 8 |
+
}
|
reports/provenance_manifest.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"source_dataset": "codeparrot/github-code",
|
| 3 |
+
"source_resolve_pattern": "https://huggingface.co/datasets/codeparrot/github-code/resolve/main/data/train-{idx:05d}-of-01126.parquet",
|
| 4 |
+
"hf_url": "https://huggingface.co/datasets/Nottybro/csharp-dotnet-cpt-v0",
|
| 5 |
+
"collected_at": "2026-07-17",
|
| 6 |
+
"tokenizer": "Qwen/Qwen2.5-Coder-1.5B",
|
| 7 |
+
"provenance_note": "Per-file upstream commit/blob SHA is NOT present in codeparrot/github-code; commit_or_blob_id records the github-code shard+sha retrieval id, source_url is a HEAD-based GitHub blob link. See DATASET_CARD for limitations."
|
| 8 |
+
}
|
reports/secret_scan_report.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"files_quarantined": 949,
|
| 3 |
+
"by_reason": {
|
| 4 |
+
"secret": 949
|
| 5 |
+
},
|
| 6 |
+
"unresolved_findings_in_corpus": 0,
|
| 7 |
+
"note": "Every retained file passed the secret scanner; matches were excluded (quarantined), so zero unresolved findings remain."
|
| 8 |
+
}
|
reports/split_report.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"test": {
|
| 3 |
+
"files": 9711,
|
| 4 |
+
"tokens": 9151159,
|
| 5 |
+
"repos": 1061
|
| 6 |
+
},
|
| 7 |
+
"train": {
|
| 8 |
+
"files": 662253,
|
| 9 |
+
"tokens": 676849804,
|
| 10 |
+
"repos": 66796
|
| 11 |
+
},
|
| 12 |
+
"validation": {
|
| 13 |
+
"files": 9462,
|
| 14 |
+
"tokens": 9287205,
|
| 15 |
+
"repos": 1012
|
| 16 |
+
}
|
| 17 |
+
}
|
reports/summary.json
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"collected_at": "2026-07-17",
|
| 3 |
+
"generated_at": "2026-07-17T09:08:37.733954",
|
| 4 |
+
"hf_repo": "Nottybro/csharp-dotnet-cpt-v0",
|
| 5 |
+
"hf_url": "https://huggingface.co/datasets/Nottybro/csharp-dotnet-cpt-v0",
|
| 6 |
+
"source_dataset": "codeparrot/github-code",
|
| 7 |
+
"source_resolve_pattern": "https://huggingface.co/datasets/codeparrot/github-code/resolve/main/data/train-{idx:05d}-of-01126.parquet",
|
| 8 |
+
"tokenizer": "Qwen/Qwen2.5-Coder-1.5B",
|
| 9 |
+
"target_tokens": 500000000,
|
| 10 |
+
"stretch_tokens": 750000000,
|
| 11 |
+
"total_unique_tokens": 695288168,
|
| 12 |
+
"total_files_retained": 681426,
|
| 13 |
+
"total_repositories": 68869,
|
| 14 |
+
"source_shards_processed": 179,
|
| 15 |
+
"per_slice": {
|
| 16 |
+
"architecture_di_auth_configuration": {
|
| 17 |
+
"files": 8893,
|
| 18 |
+
"tokens": 10461997
|
| 19 |
+
},
|
| 20 |
+
"aspnetcore_web_api": {
|
| 21 |
+
"files": 8990,
|
| 22 |
+
"tokens": 5056231
|
| 23 |
+
},
|
| 24 |
+
"blazor": {
|
| 25 |
+
"files": 3184,
|
| 26 |
+
"tokens": 5529264
|
| 27 |
+
},
|
| 28 |
+
"core_csharp_bcl_async_performance": {
|
| 29 |
+
"files": 424888,
|
| 30 |
+
"tokens": 321910658
|
| 31 |
+
},
|
| 32 |
+
"desktop_wpf_winui_maui": {
|
| 33 |
+
"files": 54819,
|
| 34 |
+
"tokens": 71724689
|
| 35 |
+
},
|
| 36 |
+
"distributed_dotnet_grpc_signalr_workers": {
|
| 37 |
+
"files": 9208,
|
| 38 |
+
"tokens": 10058794
|
| 39 |
+
},
|
| 40 |
+
"efcore_sql_data": {
|
| 41 |
+
"files": 18638,
|
| 42 |
+
"tokens": 16996348
|
| 43 |
+
},
|
| 44 |
+
"legacy_dotnet_migration_interop": {
|
| 45 |
+
"files": 68059,
|
| 46 |
+
"tokens": 100024228
|
| 47 |
+
},
|
| 48 |
+
"nuget_msbuild_ci_tooling": {
|
| 49 |
+
"files": 5532,
|
| 50 |
+
"tokens": 4350798
|
| 51 |
+
},
|
| 52 |
+
"testing_debugging_repair_refactoring": {
|
| 53 |
+
"files": 79215,
|
| 54 |
+
"tokens": 149175161
|
| 55 |
+
}
|
| 56 |
+
},
|
| 57 |
+
"per_license": {
|
| 58 |
+
"apache-2.0": {
|
| 59 |
+
"files": 167699,
|
| 60 |
+
"tokens": 204609979
|
| 61 |
+
},
|
| 62 |
+
"bsd-2-clause": {
|
| 63 |
+
"files": 10346,
|
| 64 |
+
"tokens": 15022311
|
| 65 |
+
},
|
| 66 |
+
"bsd-3-clause": {
|
| 67 |
+
"files": 31535,
|
| 68 |
+
"tokens": 36707726
|
| 69 |
+
},
|
| 70 |
+
"cc0-1.0": {
|
| 71 |
+
"files": 1881,
|
| 72 |
+
"tokens": 1586022
|
| 73 |
+
},
|
| 74 |
+
"isc": {
|
| 75 |
+
"files": 822,
|
| 76 |
+
"tokens": 437927
|
| 77 |
+
},
|
| 78 |
+
"mit": {
|
| 79 |
+
"files": 460905,
|
| 80 |
+
"tokens": 430391064
|
| 81 |
+
},
|
| 82 |
+
"unlicense": {
|
| 83 |
+
"files": 8238,
|
| 84 |
+
"tokens": 6533139
|
| 85 |
+
}
|
| 86 |
+
},
|
| 87 |
+
"per_split": {
|
| 88 |
+
"test": {
|
| 89 |
+
"files": 9711,
|
| 90 |
+
"tokens": 9151159,
|
| 91 |
+
"repos": 1061
|
| 92 |
+
},
|
| 93 |
+
"train": {
|
| 94 |
+
"files": 662253,
|
| 95 |
+
"tokens": 676849804,
|
| 96 |
+
"repos": 66796
|
| 97 |
+
},
|
| 98 |
+
"validation": {
|
| 99 |
+
"files": 9462,
|
| 100 |
+
"tokens": 9287205,
|
| 101 |
+
"repos": 1012
|
| 102 |
+
}
|
| 103 |
+
},
|
| 104 |
+
"dedup": {
|
| 105 |
+
"exact_duplicates_removed": 0,
|
| 106 |
+
"near_duplicates_removed": 19828,
|
| 107 |
+
"rejected_bad_extension": 17215737,
|
| 108 |
+
"rejected_license": 263775,
|
| 109 |
+
"rejected_generated_or_size": 113696,
|
| 110 |
+
"rejected_secret": 949
|
| 111 |
+
},
|
| 112 |
+
"secret_scan": {
|
| 113 |
+
"files_quarantined": 949,
|
| 114 |
+
"by_reason": {
|
| 115 |
+
"secret": 949
|
| 116 |
+
},
|
| 117 |
+
"unresolved_findings_in_corpus": 0,
|
| 118 |
+
"note": "Every retained file passed the secret scanner; matches were excluded (quarantined), so zero unresolved findings remain."
|
| 119 |
+
},
|
| 120 |
+
"sizes": {
|
| 121 |
+
"files": 184,
|
| 122 |
+
"compressed_bytes": 1188704518,
|
| 123 |
+
"uncompressed_bytes": 7104025486,
|
| 124 |
+
"rows": 1362852
|
| 125 |
+
},
|
| 126 |
+
"verification": {
|
| 127 |
+
"checked": 184,
|
| 128 |
+
"verified": 180,
|
| 129 |
+
"mismatch": [],
|
| 130 |
+
"unverified": [
|
| 131 |
+
"splits/test-00001.parquet",
|
| 132 |
+
"splits/train-00001.parquet",
|
| 133 |
+
"splits/train-00002.parquet",
|
| 134 |
+
"splits/validation-00001.parquet"
|
| 135 |
+
]
|
| 136 |
+
},
|
| 137 |
+
"license_policy": {
|
| 138 |
+
"allowed": [
|
| 139 |
+
"0bsd",
|
| 140 |
+
"apache-2.0",
|
| 141 |
+
"bsd",
|
| 142 |
+
"bsd-2-clause",
|
| 143 |
+
"bsd-3-clause",
|
| 144 |
+
"cc0-1.0",
|
| 145 |
+
"isc",
|
| 146 |
+
"mit",
|
| 147 |
+
"mitre",
|
| 148 |
+
"ms-pl",
|
| 149 |
+
"unlicense"
|
| 150 |
+
],
|
| 151 |
+
"excluded": "GPL, AGPL, LGPL, MPL, unknown, no-license, proprietary"
|
| 152 |
+
},
|
| 153 |
+
"split_method": "Deterministic blake2b hash of repo_name; a repository's every file maps to exactly one split, so no repo appears in more than one split.",
|
| 154 |
+
"provenance_note": "Per-file upstream commit/blob SHA is NOT present in codeparrot/github-code; commit_or_blob_id records the github-code shard+sha retrieval id, source_url is a HEAD-based GitHub blob link. See DATASET_CARD for limitations."
|
| 155 |
+
}
|
reports/summary.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Dataset summary
|
| 2 |
+
|
| 3 |
+
- HF repo: https://huggingface.co/datasets/Nottybro/csharp-dotnet-cpt-v0
|
| 4 |
+
- Total unique tokens: **695,288,168**
|
| 5 |
+
- Target: 500,000,000 | Stretch: 750,000,000
|
| 6 |
+
- Files retained: 681,426 | Repositories: 68,869
|
| 7 |
+
- Source shards processed: 179 / 1126
|
| 8 |
+
- Compressed: 1.19 GB | Uncompressed: 7.10 GB
|
| 9 |
+
- Verified shards: 180/184
|
| 10 |
+
|
| 11 |
+
## Tokens per slice
|
| 12 |
+
| slice | files | tokens |
|
| 13 |
+
|---|---|---|
|
| 14 |
+
| core_csharp_bcl_async_performance | 424,888 | 321,910,658 |
|
| 15 |
+
| testing_debugging_repair_refactoring | 79,215 | 149,175,161 |
|
| 16 |
+
| legacy_dotnet_migration_interop | 68,059 | 100,024,228 |
|
| 17 |
+
| desktop_wpf_winui_maui | 54,819 | 71,724,689 |
|
| 18 |
+
| efcore_sql_data | 18,638 | 16,996,348 |
|
| 19 |
+
| architecture_di_auth_configuration | 8,893 | 10,461,997 |
|
| 20 |
+
| distributed_dotnet_grpc_signalr_workers | 9,208 | 10,058,794 |
|
| 21 |
+
| blazor | 3,184 | 5,529,264 |
|
| 22 |
+
| aspnetcore_web_api | 8,990 | 5,056,231 |
|
| 23 |
+
| nuget_msbuild_ci_tooling | 5,532 | 4,350,798 |
|
| 24 |
+
|
| 25 |
+
## Tokens per license
|
| 26 |
+
| license | files | tokens |
|
| 27 |
+
|---|---|---|
|
| 28 |
+
| mit | 460,905 | 430,391,064 |
|
| 29 |
+
| apache-2.0 | 167,699 | 204,609,979 |
|
| 30 |
+
| bsd-3-clause | 31,535 | 36,707,726 |
|
| 31 |
+
| bsd-2-clause | 10,346 | 15,022,311 |
|
| 32 |
+
| unlicense | 8,238 | 6,533,139 |
|
| 33 |
+
| cc0-1.0 | 1,881 | 1,586,022 |
|
| 34 |
+
| isc | 822 | 437,927 |
|
| 35 |
+
|
| 36 |
+
## Splits (repo-level)
|
| 37 |
+
| split | files | tokens | repos |
|
| 38 |
+
|---|---|---|---|
|
| 39 |
+
| test | 9,711 | 9,151,159 | 1,061 |
|
| 40 |
+
| train | 662,253 | 676,849,804 | 66,796 |
|
| 41 |
+
| validation | 9,462 | 9,287,205 | 1,012 |
|
| 42 |
+
|
| 43 |
+
## Dedup / filtering
|
| 44 |
+
{
|
| 45 |
+
"exact_duplicates_removed": 0,
|
| 46 |
+
"near_duplicates_removed": 19828,
|
| 47 |
+
"rejected_bad_extension": 17215737,
|
| 48 |
+
"rejected_license": 263775,
|
| 49 |
+
"rejected_generated_or_size": 113696,
|
| 50 |
+
"rejected_secret": 949
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
## Secret scan
|
| 54 |
+
{
|
| 55 |
+
"files_quarantined": 949,
|
| 56 |
+
"by_reason": {
|
| 57 |
+
"secret": 949
|
| 58 |
+
},
|
| 59 |
+
"unresolved_findings_in_corpus": 0,
|
| 60 |
+
"note": "Every retained file passed the secret scanner; matches were excluded (quarantined), so zero unresolved findings remain."
|
| 61 |
+
}
|
reports/tokens_per_license.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"apache-2.0": {
|
| 3 |
+
"files": 167699,
|
| 4 |
+
"tokens": 204609979
|
| 5 |
+
},
|
| 6 |
+
"bsd-2-clause": {
|
| 7 |
+
"files": 10346,
|
| 8 |
+
"tokens": 15022311
|
| 9 |
+
},
|
| 10 |
+
"bsd-3-clause": {
|
| 11 |
+
"files": 31535,
|
| 12 |
+
"tokens": 36707726
|
| 13 |
+
},
|
| 14 |
+
"cc0-1.0": {
|
| 15 |
+
"files": 1881,
|
| 16 |
+
"tokens": 1586022
|
| 17 |
+
},
|
| 18 |
+
"isc": {
|
| 19 |
+
"files": 822,
|
| 20 |
+
"tokens": 437927
|
| 21 |
+
},
|
| 22 |
+
"mit": {
|
| 23 |
+
"files": 460905,
|
| 24 |
+
"tokens": 430391064
|
| 25 |
+
},
|
| 26 |
+
"unlicense": {
|
| 27 |
+
"files": 8238,
|
| 28 |
+
"tokens": 6533139
|
| 29 |
+
}
|
| 30 |
+
}
|
reports/tokens_per_slice.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture_di_auth_configuration": {
|
| 3 |
+
"files": 8893,
|
| 4 |
+
"tokens": 10461997
|
| 5 |
+
},
|
| 6 |
+
"aspnetcore_web_api": {
|
| 7 |
+
"files": 8990,
|
| 8 |
+
"tokens": 5056231
|
| 9 |
+
},
|
| 10 |
+
"blazor": {
|
| 11 |
+
"files": 3184,
|
| 12 |
+
"tokens": 5529264
|
| 13 |
+
},
|
| 14 |
+
"core_csharp_bcl_async_performance": {
|
| 15 |
+
"files": 424888,
|
| 16 |
+
"tokens": 321910658
|
| 17 |
+
},
|
| 18 |
+
"desktop_wpf_winui_maui": {
|
| 19 |
+
"files": 54819,
|
| 20 |
+
"tokens": 71724689
|
| 21 |
+
},
|
| 22 |
+
"distributed_dotnet_grpc_signalr_workers": {
|
| 23 |
+
"files": 9208,
|
| 24 |
+
"tokens": 10058794
|
| 25 |
+
},
|
| 26 |
+
"efcore_sql_data": {
|
| 27 |
+
"files": 18638,
|
| 28 |
+
"tokens": 16996348
|
| 29 |
+
},
|
| 30 |
+
"legacy_dotnet_migration_interop": {
|
| 31 |
+
"files": 68059,
|
| 32 |
+
"tokens": 100024228
|
| 33 |
+
},
|
| 34 |
+
"nuget_msbuild_ci_tooling": {
|
| 35 |
+
"files": 5532,
|
| 36 |
+
"tokens": 4350798
|
| 37 |
+
},
|
| 38 |
+
"testing_debugging_repair_refactoring": {
|
| 39 |
+
"files": 79215,
|
| 40 |
+
"tokens": 149175161
|
| 41 |
+
}
|
| 42 |
+
}
|
reports/verification_report.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checked": 184,
|
| 3 |
+
"verified": 180,
|
| 4 |
+
"mismatch": [],
|
| 5 |
+
"unverified": [
|
| 6 |
+
"splits/test-00001.parquet",
|
| 7 |
+
"splits/train-00001.parquet",
|
| 8 |
+
"splits/train-00002.parquet",
|
| 9 |
+
"splits/validation-00001.parquet"
|
| 10 |
+
]
|
| 11 |
+
}
|
splits/test-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5dc7c8883a0b6d5e44ee5a069871dbab5b6ce83572f28880efc541da3751fb70
|
| 3 |
+
size 7686089
|
splits/train-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58630b9fe1d9313d0fd34dfc12bb8a8d90473ce07358971597e0207e0e832170
|
| 3 |
+
size 300693827
|
splits/train-00002.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b05319c85ad1712dcff2491a18e60008eebde43f846fefc15fdec63c83f23aec
|
| 3 |
+
size 276639862
|
splits/validation-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:027c3cb943996fd656a8b6746a6a86b059ea4f5ea3f9c3f83c6c3b5b6c6f248e
|
| 3 |
+
size 7564011
|