Datasets:
Upload folder using huggingface_hub
Browse files- README.md +154 -0
- data_0000.parquet +3 -0
- data_0001.parquet +3 -0
- data_0002.parquet +3 -0
- data_0003.parquet +3 -0
- data_0004.parquet +3 -0
- data_0005.parquet +3 -0
- dataset_stats.json +376 -0
- group_distribution.png +3 -0
- language_distribution.png +3 -0
- quality_sd_heatmap.png +3 -0
- sd_distribution.png +3 -0
- slice_distribution.png +3 -0
README.md
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: odc-by
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
language:
|
| 6 |
+
- code
|
| 7 |
+
size_categories:
|
| 8 |
+
- 1B<n<10B
|
| 9 |
+
tags:
|
| 10 |
+
- curated
|
| 11 |
+
- starcoderdata
|
| 12 |
+
- code
|
| 13 |
+
- structured-data
|
| 14 |
+
- multi-task-filter
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# StarCoderData Curated
|
| 18 |
+
|
| 19 |
+
A curated subset of [StarCoderData](https://huggingface.co/datasets/bigcode/starcoderdata)
|
| 20 |
+
optimised for training a 500M parameter model focused on structured data output
|
| 21 |
+
(JSON generation, function calling, schema compliance).
|
| 22 |
+
|
| 23 |
+
## Dataset Summary
|
| 24 |
+
|
| 25 |
+
- **Total code files:** 5,203,508
|
| 26 |
+
- **Total tokens:** 3.9B (target: 3.5B)
|
| 27 |
+
- **Source:** bigcode/starcoderdata
|
| 28 |
+
- **Classifier:** [mdonigian/code-curator-v1](https://huggingface.co/mdonigian/code-curator-v1) (UniXcoder-base, multi-task)
|
| 29 |
+
- **Curation:** Per-language-slice filtering + compression ratio pre-filter + MinHash deduplication
|
| 30 |
+
|
| 31 |
+
## Filtering Strategy
|
| 32 |
+
|
| 33 |
+
Each language slice has its own filtering strategy and token budget:
|
| 34 |
+
|
| 35 |
+
1. **Schema languages** (JSON/YAML/SQL/protobuf/GraphQL): ~800M tokens, light filter (quality floor only)
|
| 36 |
+
2. **TypeScript** (relevance ≥ 2): ~600M tokens, relevance classifier
|
| 37 |
+
3. **Python** (relevance ≥ 2): ~600M tokens, relevance classifier
|
| 38 |
+
4. **Rust/Go/Java** (relevance ≥ 2): ~600M tokens, relevance classifier
|
| 39 |
+
5. **Jupyter notebooks**: ~400M tokens, passthrough (already structured)
|
| 40 |
+
6. **GitHub Issues** (technical): ~500M tokens, keyword filter
|
| 41 |
+
|
| 42 |
+
Pre-filtering applied to all slices:
|
| 43 |
+
- zlib compression ratio < 0.10 catches extreme repetition
|
| 44 |
+
- Quality floor: drop files with predicted quality ≤ 1 (broken/gibberish)
|
| 45 |
+
- MinHash LSH deduplication with line-level 5-gram shingles
|
| 46 |
+
|
| 47 |
+
## Language Slice Distribution
|
| 48 |
+
|
| 49 |
+
| Slice | Strategy | Target | Actual | % |
|
| 50 |
+
|-------|----------|--------|--------|---|
|
| 51 |
+
| schema_languages | light_filter | 800M | 799M | 99.9% |
|
| 52 |
+
| typescript | relevance_filter | 600M | 598M | 99.7% |
|
| 53 |
+
| python | relevance_filter | 600M | 594M | 99.1% |
|
| 54 |
+
| rust_go_java | relevance_filter | 600M | 485M | 80.8% |
|
| 55 |
+
| jupyter | relevance_filter | 400M | 0M | 0.0% |
|
| 56 |
+
| github_issues | keyword_filter | 500M | 426M | 85.2% |
|
| 57 |
+
| general_code | light_filter | 1000M | 999M | 99.9% |
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
## Content Group Distribution
|
| 61 |
+
|
| 62 |
+
| Group | % of Tokens | Tokens | Files |
|
| 63 |
+
|-------|-------------|--------|-------|
|
| 64 |
+
| Library/Package | 27.7% | 1,079,381,502 | 1,075,672 |
|
| 65 |
+
| Application | 1.4% | 56,360,750 | 118,200 |
|
| 66 |
+
| Script/CLI | 0.5% | 17,853,662 | 24,871 |
|
| 67 |
+
| Test Code | 2.3% | 91,370,763 | 48,003 |
|
| 68 |
+
| Config/Data/Generated/Other | 68.1% | 2,656,726,472 | 3,936,762 |
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
## Structured Data Relevance Distribution
|
| 72 |
+
|
| 73 |
+
The strongest classifier signal (Spearman 0.81). SD2+ files contain significant
|
| 74 |
+
structured data patterns (API endpoints, JSON parsing, schema definitions, etc.).
|
| 75 |
+
|
| 76 |
+
| Level | Range | Target % | Actual % | Files |
|
| 77 |
+
|-------|-------|----------|----------|-------|
|
| 78 |
+
| SD0 | [0.0, 0.5) | 10.0% | 70.1% | 3,649,912 |
|
| 79 |
+
| SD1 | [0.5, 1.5) | 20.0% | 0.0% | 0 |
|
| 80 |
+
| SD2 | [1.5, 2.5) | 35.0% | 0.9% | 49,213 |
|
| 81 |
+
| SD3 | [2.5, 3.5) | 35.0% | 28.9% | 1,504,383 |
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
## Quality Distribution
|
| 85 |
+
|
| 86 |
+
Quality mean: 1.13, Median: 0.00.
|
| 87 |
+
|
| 88 |
+
| Level | Description | Files |
|
| 89 |
+
|-------|-------------|-------|
|
| 90 |
+
| 1 | Broken/gibberish | 3,649,912 |
|
| 91 |
+
| 2 | Functional but poor | 42,668 |
|
| 92 |
+
| 3 | Decent | 129,945 |
|
| 93 |
+
| 4 | Good | 1,380,674 |
|
| 94 |
+
| 5 | Excellent | 309 |
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
## Programming Languages
|
| 98 |
+
|
| 99 |
+
| Language | % Tokens | Files |
|
| 100 |
+
|----------|----------|-------|
|
| 101 |
+
| typescript | 15.3% | 841,426 |
|
| 102 |
+
| python | 15.2% | 567,721 |
|
| 103 |
+
| github-issues-filtered-structured | 10.9% | 485,384 |
|
| 104 |
+
| markdown | 8.9% | 351,728 |
|
| 105 |
+
| json | 8.7% | 1,124,326 |
|
| 106 |
+
| go | 8.5% | 73,899 |
|
| 107 |
+
| sql | 5.9% | 121,035 |
|
| 108 |
+
| javascript | 5.8% | 281,216 |
|
| 109 |
+
| yaml | 5.8% | 957,872 |
|
| 110 |
+
| java | 3.2% | 57,787 |
|
| 111 |
+
| c-sharp | 3.0% | 114,063 |
|
| 112 |
+
| html | 2.9% | 53,527 |
|
| 113 |
+
| c | 2.8% | 75,899 |
|
| 114 |
+
| haskell | 2.2% | 84,862 |
|
| 115 |
+
| rust | 0.7% | 12,752 |
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
## Token Count Distribution
|
| 119 |
+
|
| 120 |
+
| Percentile | Tokens |
|
| 121 |
+
|------------|--------|
|
| 122 |
+
| P10 | 55 |
|
| 123 |
+
| P25 | 111 |
|
| 124 |
+
| P50 (median) | 255 |
|
| 125 |
+
| P75 | 631 |
|
| 126 |
+
| P90 | 1,416 |
|
| 127 |
+
| Mean | 749 |
|
| 128 |
+
|
| 129 |
+
## Schema
|
| 130 |
+
|
| 131 |
+
Each row contains:
|
| 132 |
+
|
| 133 |
+
| Field | Type | Description |
|
| 134 |
+
|-------|------|-------------|
|
| 135 |
+
| `content` | string | Source code text |
|
| 136 |
+
| `lang` | string | Programming language |
|
| 137 |
+
| `size` | int | File size in bytes |
|
| 138 |
+
| `token_count` | int | Estimated token count (size // 4) |
|
| 139 |
+
| `quality` | float | Code quality score (1-5) |
|
| 140 |
+
| `structured_data` | float | Structured data relevance (0-3) |
|
| 141 |
+
| `content_type` | string | Content type (9 classes) |
|
| 142 |
+
| `language_slice` | string | Language slice (schema_languages, typescript, python, etc.) |
|
| 143 |
+
| `relevance_score` | float | Composite relevance score |
|
| 144 |
+
|
| 145 |
+
## Methodology
|
| 146 |
+
|
| 147 |
+
1. **Classification:** Single multi-task UniXcoder-base model with three heads runs
|
| 148 |
+
on each code file. Stores raw float scores for maximum flexibility.
|
| 149 |
+
2. **Pre-filtering:** zlib compression ratio filter removes repetitive boilerplate
|
| 150 |
+
before GPU inference.
|
| 151 |
+
3. **Filtering:** Quality floor + priority-based sampling targeting high structured
|
| 152 |
+
data relevance and balanced content type distribution.
|
| 153 |
+
4. **Deduplication:** MinHash LSH (128 perms, 5-line shingles, 0.7 Jaccard threshold).
|
| 154 |
+
Highest-relevance code file kept from each cluster.
|
data_0000.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e80d9ff747cb6b6b4fb41f320cd20b6a949769673a907ed9fbfe2bc6e459e76
|
| 3 |
+
size 1368339706
|
data_0001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ee4da50457384e1be54ac87f7737c6d30ca10ce425db6bd5fb5fdc0d7ec1492
|
| 3 |
+
size 1483550079
|
data_0002.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c966e282de204164c8870c5af8287e647e5b6a511f236eeba4ec19ea711afd27
|
| 3 |
+
size 1347029171
|
data_0003.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:564d1f393566a599f9734206526285ba145a3ccc826e7fa21dc5569a1a0b297d
|
| 3 |
+
size 900649083
|
data_0004.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:504d5ccc627cc0c5091f8441317ebd0abdfe33d6d3dbef575caac8f2278ae295
|
| 3 |
+
size 676566278
|
data_0005.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc160ca6f322af12adb23b2b8b899f8ad5b063c858ab4ea06feca71198ff5452
|
| 3 |
+
size 125706433
|
dataset_stats.json
ADDED
|
@@ -0,0 +1,376 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"total_documents": 5203508,
|
| 3 |
+
"total_tokens": 3901693149,
|
| 4 |
+
"num_output_files": 6,
|
| 5 |
+
"group_distribution": {
|
| 6 |
+
"library": {
|
| 7 |
+
"display_name": "Library/Package",
|
| 8 |
+
"docs": 1075672,
|
| 9 |
+
"tokens": 1079381502,
|
| 10 |
+
"pct_tokens": 27.66,
|
| 11 |
+
"pct_of_total": 27.66
|
| 12 |
+
},
|
| 13 |
+
"application": {
|
| 14 |
+
"display_name": "Application",
|
| 15 |
+
"docs": 118200,
|
| 16 |
+
"tokens": 56360750,
|
| 17 |
+
"pct_tokens": 1.44,
|
| 18 |
+
"pct_of_total": 1.44
|
| 19 |
+
},
|
| 20 |
+
"script": {
|
| 21 |
+
"display_name": "Script/CLI",
|
| 22 |
+
"docs": 24871,
|
| 23 |
+
"tokens": 17853662,
|
| 24 |
+
"pct_tokens": 0.46,
|
| 25 |
+
"pct_of_total": 0.46
|
| 26 |
+
},
|
| 27 |
+
"test": {
|
| 28 |
+
"display_name": "Test Code",
|
| 29 |
+
"docs": 48003,
|
| 30 |
+
"tokens": 91370763,
|
| 31 |
+
"pct_tokens": 2.34,
|
| 32 |
+
"pct_of_total": 2.34
|
| 33 |
+
},
|
| 34 |
+
"low_value": {
|
| 35 |
+
"display_name": "Config/Data/Generated/Other",
|
| 36 |
+
"docs": 3936762,
|
| 37 |
+
"tokens": 2656726472,
|
| 38 |
+
"pct_tokens": 68.09,
|
| 39 |
+
"pct_of_total": 68.09
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
"content_type_distribution": {
|
| 43 |
+
"library": 1075672,
|
| 44 |
+
"application": 118200,
|
| 45 |
+
"test": 48003,
|
| 46 |
+
"config": 3133,
|
| 47 |
+
"tutorial": 2843,
|
| 48 |
+
"data": 5585,
|
| 49 |
+
"generated": 275289,
|
| 50 |
+
"script": 24871,
|
| 51 |
+
"other": 0
|
| 52 |
+
},
|
| 53 |
+
"quality_distribution": {
|
| 54 |
+
"1": 3649912,
|
| 55 |
+
"2": 42668,
|
| 56 |
+
"3": 129945,
|
| 57 |
+
"4": 1380674,
|
| 58 |
+
"5": 309
|
| 59 |
+
},
|
| 60 |
+
"quality_stats": {
|
| 61 |
+
"mean": 1.131,
|
| 62 |
+
"std": 1.75,
|
| 63 |
+
"median": 0.0
|
| 64 |
+
},
|
| 65 |
+
"sd_distribution": {
|
| 66 |
+
"SD0": {
|
| 67 |
+
"range": "[0.0, 0.5)",
|
| 68 |
+
"docs": 3649912,
|
| 69 |
+
"tokens": 2224333326,
|
| 70 |
+
"pct": 70.14,
|
| 71 |
+
"target_pct": 10.0
|
| 72 |
+
},
|
| 73 |
+
"SD1": {
|
| 74 |
+
"range": "[0.5, 1.5)",
|
| 75 |
+
"docs": 0,
|
| 76 |
+
"tokens": 0,
|
| 77 |
+
"pct": 0.0,
|
| 78 |
+
"target_pct": 20.0
|
| 79 |
+
},
|
| 80 |
+
"SD2": {
|
| 81 |
+
"range": "[1.5, 2.5)",
|
| 82 |
+
"docs": 49213,
|
| 83 |
+
"tokens": 55140562,
|
| 84 |
+
"pct": 0.95,
|
| 85 |
+
"target_pct": 35.0
|
| 86 |
+
},
|
| 87 |
+
"SD3": {
|
| 88 |
+
"range": "[2.5, 3.5)",
|
| 89 |
+
"docs": 1504383,
|
| 90 |
+
"tokens": 1622219261,
|
| 91 |
+
"pct": 28.91,
|
| 92 |
+
"target_pct": 35.0
|
| 93 |
+
}
|
| 94 |
+
},
|
| 95 |
+
"sd_stats": {
|
| 96 |
+
"mean": 0.849,
|
| 97 |
+
"std": 1.306,
|
| 98 |
+
"median": 0.0
|
| 99 |
+
},
|
| 100 |
+
"top_languages": [
|
| 101 |
+
{
|
| 102 |
+
"language": "typescript",
|
| 103 |
+
"tokens": 598255831,
|
| 104 |
+
"docs": 841426,
|
| 105 |
+
"pct_tokens": 15.33
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"language": "python",
|
| 109 |
+
"tokens": 594491555,
|
| 110 |
+
"docs": 567721,
|
| 111 |
+
"pct_tokens": 15.24
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"language": "github-issues-filtered-structured",
|
| 115 |
+
"tokens": 425892784,
|
| 116 |
+
"docs": 485384,
|
| 117 |
+
"pct_tokens": 10.92
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"language": "markdown",
|
| 121 |
+
"tokens": 347112952,
|
| 122 |
+
"docs": 351728,
|
| 123 |
+
"pct_tokens": 8.9
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"language": "json",
|
| 127 |
+
"tokens": 339833981,
|
| 128 |
+
"docs": 1124326,
|
| 129 |
+
"pct_tokens": 8.71
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"language": "go",
|
| 133 |
+
"tokens": 332569389,
|
| 134 |
+
"docs": 73899,
|
| 135 |
+
"pct_tokens": 8.52
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"language": "sql",
|
| 139 |
+
"tokens": 231050279,
|
| 140 |
+
"docs": 121035,
|
| 141 |
+
"pct_tokens": 5.92
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"language": "javascript",
|
| 145 |
+
"tokens": 228398196,
|
| 146 |
+
"docs": 281216,
|
| 147 |
+
"pct_tokens": 5.85
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"language": "yaml",
|
| 151 |
+
"tokens": 228221967,
|
| 152 |
+
"docs": 957872,
|
| 153 |
+
"pct_tokens": 5.85
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"language": "java",
|
| 157 |
+
"tokens": 125354344,
|
| 158 |
+
"docs": 57787,
|
| 159 |
+
"pct_tokens": 3.21
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"language": "c-sharp",
|
| 163 |
+
"tokens": 115640806,
|
| 164 |
+
"docs": 114063,
|
| 165 |
+
"pct_tokens": 2.96
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"language": "html",
|
| 169 |
+
"tokens": 111255466,
|
| 170 |
+
"docs": 53527,
|
| 171 |
+
"pct_tokens": 2.85
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"language": "c",
|
| 175 |
+
"tokens": 109359872,
|
| 176 |
+
"docs": 75899,
|
| 177 |
+
"pct_tokens": 2.8
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"language": "haskell",
|
| 181 |
+
"tokens": 87567023,
|
| 182 |
+
"docs": 84862,
|
| 183 |
+
"pct_tokens": 2.24
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"language": "rust",
|
| 187 |
+
"tokens": 26660301,
|
| 188 |
+
"docs": 12752,
|
| 189 |
+
"pct_tokens": 0.68
|
| 190 |
+
},
|
| 191 |
+
{
|
| 192 |
+
"language": "jupyter-scripts-dedup-filtered",
|
| 193 |
+
"tokens": 28403,
|
| 194 |
+
"docs": 11,
|
| 195 |
+
"pct_tokens": 0.0
|
| 196 |
+
}
|
| 197 |
+
],
|
| 198 |
+
"slice_distribution": {
|
| 199 |
+
"schema_languages": {
|
| 200 |
+
"description": "Schema/data/query languages \u2014 inherently structured, light filter only",
|
| 201 |
+
"strategy": "light_filter",
|
| 202 |
+
"languages": [
|
| 203 |
+
"json",
|
| 204 |
+
"yaml",
|
| 205 |
+
"sql",
|
| 206 |
+
"protocol-buffer",
|
| 207 |
+
"thrift",
|
| 208 |
+
"xslt"
|
| 209 |
+
],
|
| 210 |
+
"target_tokens": 800000000,
|
| 211 |
+
"actual_tokens": 799106227,
|
| 212 |
+
"docs": 2203233,
|
| 213 |
+
"pct_of_target": 99.9,
|
| 214 |
+
"pct_of_total": 20.5
|
| 215 |
+
},
|
| 216 |
+
"typescript": {
|
| 217 |
+
"description": "TypeScript \u2014 strong type system, filter by structured data relevance \u2265 2",
|
| 218 |
+
"strategy": "relevance_filter",
|
| 219 |
+
"languages": [
|
| 220 |
+
"typescript"
|
| 221 |
+
],
|
| 222 |
+
"target_tokens": 600000000,
|
| 223 |
+
"actual_tokens": 598255831,
|
| 224 |
+
"docs": 841426,
|
| 225 |
+
"pct_of_target": 99.7,
|
| 226 |
+
"pct_of_total": 15.3
|
| 227 |
+
},
|
| 228 |
+
"python": {
|
| 229 |
+
"description": "Python \u2014 filter by structured data relevance \u2265 2",
|
| 230 |
+
"strategy": "relevance_filter",
|
| 231 |
+
"languages": [
|
| 232 |
+
"python"
|
| 233 |
+
],
|
| 234 |
+
"target_tokens": 600000000,
|
| 235 |
+
"actual_tokens": 594491555,
|
| 236 |
+
"docs": 567721,
|
| 237 |
+
"pct_of_target": 99.1,
|
| 238 |
+
"pct_of_total": 15.2
|
| 239 |
+
},
|
| 240 |
+
"rust_go_java": {
|
| 241 |
+
"description": "Rust/Go/Java \u2014 strongly typed, filter by structured data relevance \u2265 2",
|
| 242 |
+
"strategy": "relevance_filter",
|
| 243 |
+
"languages": [
|
| 244 |
+
"rust",
|
| 245 |
+
"go",
|
| 246 |
+
"java"
|
| 247 |
+
],
|
| 248 |
+
"target_tokens": 600000000,
|
| 249 |
+
"actual_tokens": 484584034,
|
| 250 |
+
"docs": 144438,
|
| 251 |
+
"pct_of_target": 80.8,
|
| 252 |
+
"pct_of_total": 12.4
|
| 253 |
+
},
|
| 254 |
+
"jupyter": {
|
| 255 |
+
"description": "Jupyter notebooks \u2014 filter by structured data relevance \u2265 2",
|
| 256 |
+
"strategy": "relevance_filter",
|
| 257 |
+
"languages": [
|
| 258 |
+
"jupyter-scripts-dedup-filtered"
|
| 259 |
+
],
|
| 260 |
+
"target_tokens": 400000000,
|
| 261 |
+
"actual_tokens": 28403,
|
| 262 |
+
"docs": 11,
|
| 263 |
+
"pct_of_target": 0.0,
|
| 264 |
+
"pct_of_total": 0.0
|
| 265 |
+
},
|
| 266 |
+
"github_issues": {
|
| 267 |
+
"description": "GitHub issues (technical) \u2014 keyword filter for structured data topics",
|
| 268 |
+
"strategy": "keyword_filter",
|
| 269 |
+
"languages": [
|
| 270 |
+
"github-issues-filtered-structured"
|
| 271 |
+
],
|
| 272 |
+
"target_tokens": 500000000,
|
| 273 |
+
"actual_tokens": 425892784,
|
| 274 |
+
"docs": 485384,
|
| 275 |
+
"pct_of_target": 85.2,
|
| 276 |
+
"pct_of_total": 10.9
|
| 277 |
+
},
|
| 278 |
+
"general_code": {
|
| 279 |
+
"description": "General code \u2014 random sample from all other languages for diversity",
|
| 280 |
+
"strategy": "light_filter",
|
| 281 |
+
"languages": [
|
| 282 |
+
"ada",
|
| 283 |
+
"agda",
|
| 284 |
+
"alloy",
|
| 285 |
+
"antlr",
|
| 286 |
+
"applescript",
|
| 287 |
+
"assembly",
|
| 288 |
+
"augeas",
|
| 289 |
+
"awk",
|
| 290 |
+
"batchfile",
|
| 291 |
+
"bluespec",
|
| 292 |
+
"c",
|
| 293 |
+
"c-sharp",
|
| 294 |
+
"clojure",
|
| 295 |
+
"cmake",
|
| 296 |
+
"coffeescript",
|
| 297 |
+
"common-lisp",
|
| 298 |
+
"cpp",
|
| 299 |
+
"css",
|
| 300 |
+
"cuda",
|
| 301 |
+
"dart",
|
| 302 |
+
"dockerfile",
|
| 303 |
+
"elixir",
|
| 304 |
+
"elm",
|
| 305 |
+
"emacs-lisp",
|
| 306 |
+
"erlang",
|
| 307 |
+
"f-sharp",
|
| 308 |
+
"fortran",
|
| 309 |
+
"glsl",
|
| 310 |
+
"groovy",
|
| 311 |
+
"haskell",
|
| 312 |
+
"html",
|
| 313 |
+
"idris",
|
| 314 |
+
"isabelle",
|
| 315 |
+
"java-server-pages",
|
| 316 |
+
"javascript",
|
| 317 |
+
"julia",
|
| 318 |
+
"jupyter-structured-clean-dedup",
|
| 319 |
+
"kotlin",
|
| 320 |
+
"lean",
|
| 321 |
+
"literate-agda",
|
| 322 |
+
"literate-coffeescript",
|
| 323 |
+
"literate-haskell",
|
| 324 |
+
"lua",
|
| 325 |
+
"makefile",
|
| 326 |
+
"maple",
|
| 327 |
+
"markdown",
|
| 328 |
+
"mathematica",
|
| 329 |
+
"matlab",
|
| 330 |
+
"ocaml",
|
| 331 |
+
"pascal",
|
| 332 |
+
"perl",
|
| 333 |
+
"php",
|
| 334 |
+
"powershell",
|
| 335 |
+
"prolog",
|
| 336 |
+
"r",
|
| 337 |
+
"racket",
|
| 338 |
+
"restructuredtext",
|
| 339 |
+
"rmarkdown",
|
| 340 |
+
"ruby",
|
| 341 |
+
"sas",
|
| 342 |
+
"scala",
|
| 343 |
+
"scheme",
|
| 344 |
+
"shell",
|
| 345 |
+
"smalltalk",
|
| 346 |
+
"solidity",
|
| 347 |
+
"sparql",
|
| 348 |
+
"stan",
|
| 349 |
+
"standard-ml",
|
| 350 |
+
"stata",
|
| 351 |
+
"systemverilog",
|
| 352 |
+
"tcl",
|
| 353 |
+
"tcsh",
|
| 354 |
+
"tex",
|
| 355 |
+
"verilog",
|
| 356 |
+
"vhdl",
|
| 357 |
+
"visual-basic",
|
| 358 |
+
"yacc",
|
| 359 |
+
"zig"
|
| 360 |
+
],
|
| 361 |
+
"target_tokens": 1000000000,
|
| 362 |
+
"actual_tokens": 999334315,
|
| 363 |
+
"docs": 961295,
|
| 364 |
+
"pct_of_target": 99.9,
|
| 365 |
+
"pct_of_total": 25.6
|
| 366 |
+
}
|
| 367 |
+
},
|
| 368 |
+
"token_count_distribution": {
|
| 369 |
+
"p10": 55,
|
| 370 |
+
"p25": 111,
|
| 371 |
+
"p50": 255,
|
| 372 |
+
"p75": 631,
|
| 373 |
+
"p90": 1416,
|
| 374 |
+
"mean": 749
|
| 375 |
+
}
|
| 376 |
+
}
|
group_distribution.png
ADDED
|
Git LFS Details
|
language_distribution.png
ADDED
|
Git LFS Details
|
quality_sd_heatmap.png
ADDED
|
Git LFS Details
|
sd_distribution.png
ADDED
|
Git LFS Details
|
slice_distribution.png
ADDED
|
Git LFS Details
|