Datasets:
Clarify dataset curation, annotations, and usage
Browse filesDocument KodCode annotation provenance and statistics, distinguish upstream TACO/LeetCode tags and independent experiment splits, and update release file checksums.
- CHANGELOG.md +7 -0
- NOTICE.md +10 -4
- README.md +108 -16
- docs/kodcode.md +63 -10
- docs/taco_leetcode.md +39 -11
- metadata/release_files.json +20 -20
CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
| 1 |
# Changes
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
## 1.0.0 — 2026-09-07
|
| 4 |
|
| 5 |
- Four Parquet configurations with train and validation splits.
|
|
|
|
| 1 |
# Changes
|
| 2 |
|
| 3 |
+
## Documentation update — 2026-09-09
|
| 4 |
+
|
| 5 |
+
- Clarified the research purpose and our curation, annotation, and ablation work.
|
| 6 |
+
- Added recorded KodCode annotation statistics, field definitions, and an example.
|
| 7 |
+
- Distinguished upstream tags from our API annotations and documented split limits.
|
| 8 |
+
- No changes to data, labels, splits, experimental memberships, or reward code.
|
| 9 |
+
|
| 10 |
## 1.0.0 — 2026-09-07
|
| 11 |
|
| 12 |
- Four Parquet configurations with train and validation splits.
|
NOTICE.md
CHANGED
|
@@ -8,7 +8,13 @@
|
|
| 8 |
- [LeetCodeDataset](https://arxiv.org/abs/2504.14655), 2025.
|
| 9 |
Source: [newfacade/LeetCodeDataset](https://huggingface.co/datasets/newfacade/LeetCodeDataset).
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
- [LeetCodeDataset](https://arxiv.org/abs/2504.14655), 2025.
|
| 9 |
Source: [newfacade/LeetCodeDataset](https://huggingface.co/datasets/newfacade/LeetCodeDataset).
|
| 10 |
|
| 11 |
+
Our contributions are data curation, LLM-assisted category annotation of the
|
| 12 |
+
KodCode portion, category mapping, and preparation of SFT/RL configurations and
|
| 13 |
+
recorded ablation subsets. TACO and LeetCodeDataset tags originate upstream;
|
| 14 |
+
we organize them into the project's category groups. This release also adds
|
| 15 |
+
a fixed TACO SFT validation split while preserving the historical export.
|
| 16 |
+
|
| 17 |
+
The underlying problems, reference answers, and tests remain attributed to the
|
| 18 |
+
upstream authors. Source revisions where recovered, frozen file identities,
|
| 19 |
+
and processing notes are recorded under metadata/. TACO's own source
|
| 20 |
+
acknowledgments and the source-specific license terms also apply.
|
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
pretty_name: Code
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
task_categories:
|
|
@@ -8,6 +8,9 @@ tags:
|
|
| 8 |
- code
|
| 9 |
- sft
|
| 10 |
- reinforcement-learning
|
|
|
|
|
|
|
|
|
|
| 11 |
license: other
|
| 12 |
license_name: source-specific-licenses
|
| 13 |
license_link: LICENSE
|
|
@@ -41,9 +44,34 @@ configs:
|
|
| 41 |
path: data/taco_leetcode/rl/validation.parquet
|
| 42 |
---
|
| 43 |
|
| 44 |
-
# Code
|
| 45 |
|
| 46 |
-
Code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
| Configuration | Train | Validation |
|
| 49 |
|---|---:|---:|
|
|
@@ -52,29 +80,93 @@ Code-training data with SFT answers, executable RL tests, and category labels.
|
|
| 52 |
| `taco_leetcode_sft` | 21,779 | 100 |
|
| 53 |
| `taco_leetcode_rl` | 17,249 | 100 |
|
| 54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
```python
|
| 56 |
from datasets import load_dataset
|
| 57 |
|
| 58 |
-
|
| 59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
```
|
| 61 |
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
Use
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
-
|
| 67 |
-
groups. Their taxonomies and historical ablation memberships are separate.
|
| 68 |
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
```bash
|
| 75 |
pip install -r requirements.txt
|
| 76 |
python scripts/validate_release.py --hf
|
| 77 |
```
|
| 78 |
|
| 79 |
-
|
| 80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: Code Generalization
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
task_categories:
|
|
|
|
| 8 |
- code
|
| 9 |
- sft
|
| 10 |
- reinforcement-learning
|
| 11 |
+
- code-generalization
|
| 12 |
+
- category-annotation
|
| 13 |
+
- ablation
|
| 14 |
license: other
|
| 15 |
license_name: source-specific-licenses
|
| 16 |
license_link: LICENSE
|
|
|
|
| 44 |
path: data/taco_leetcode/rl/validation.parquet
|
| 45 |
---
|
| 46 |
|
| 47 |
+
# Code Generalization
|
| 48 |
|
| 49 |
+
Code Generalization brings together curated data from **KodCode, TACO, and
|
| 50 |
+
LeetCodeDataset** for studying how code training affects generalization across
|
| 51 |
+
tasks and algorithmic categories. We clean and organize the source data, add
|
| 52 |
+
LLM-assisted category annotations to the KodCode portion, and provide SFT and RL
|
| 53 |
+
configurations with reproducible category-ablation subsets.
|
| 54 |
+
|
| 55 |
+
## What we contribute
|
| 56 |
+
|
| 57 |
+
- **Data curation.** We select and prepare source problems for training. For
|
| 58 |
+
KodCode, this includes deduplication by original question, interface repair,
|
| 59 |
+
static checks, and reference-solution execution checks, yielding 36,074 problems.
|
| 60 |
+
- **Category annotation and organization.** We use an LLM API to classify
|
| 61 |
+
KodCode problems, retain the classification reasons and review records, and
|
| 62 |
+
map the reviewed labels into ten categories. For TACO and LeetCodeDataset, we
|
| 63 |
+
organize the existing upstream tags into seven ablation groups; these are
|
| 64 |
+
not new API annotations.
|
| 65 |
+
- **Support for controlled experiments.** We provide SFT examples, RL prompts
|
| 66 |
+
and execution-based reward tests, validation splits, and the recorded sample
|
| 67 |
+
IDs used for category-removal experiments. This lets users compare training
|
| 68 |
+
on the full corpus with training on a specified ablation subset.
|
| 69 |
+
|
| 70 |
+
The underlying problems, reference answers, and tests come from the credited
|
| 71 |
+
upstream datasets. Our work is the curation, additional annotation, category
|
| 72 |
+
mapping, and preparation of these research configurations.
|
| 73 |
+
|
| 74 |
+
## Data configurations
|
| 75 |
|
| 76 |
| Configuration | Train | Validation |
|
| 77 |
|---|---:|---:|
|
|
|
|
| 80 |
| `taco_leetcode_sft` | 21,779 | 100 |
|
| 81 |
| `taco_leetcode_rl` | 17,249 | 100 |
|
| 82 |
|
| 83 |
+
Choose an **SFT** configuration for supervised training on reference answers, or
|
| 84 |
+
an **RL** configuration for training with execution-based rewards. KodCode SFT
|
| 85 |
+
and RL share the same problems and split membership; their row counts should
|
| 86 |
+
not be added together as distinct problems. The two data families retain their
|
| 87 |
+
own category systems.
|
| 88 |
+
|
| 89 |
+
## Quick start
|
| 90 |
+
|
| 91 |
+
After downloading this repository to a folder named `dataset`:
|
| 92 |
+
|
| 93 |
```python
|
| 94 |
from datasets import load_dataset
|
| 95 |
|
| 96 |
+
train = load_dataset("./dataset", "kodcode_sft", split="train")
|
| 97 |
+
print(train[0]["messages"])
|
| 98 |
+
|
| 99 |
+
# Select problems with a particular primary category.
|
| 100 |
+
dp = train.filter(lambda row: row["primary_category"] == "dynamic_programming")
|
| 101 |
+
```
|
| 102 |
+
|
| 103 |
+
To load from Hugging Face directly, replace `./dataset` with the repository ID
|
| 104 |
+
shown on the dataset page (`owner/Code-generalization`).
|
| 105 |
+
|
| 106 |
+
| Use | Main fields |
|
| 107 |
+
|---|---|
|
| 108 |
+
| SFT | `messages`, or the text pair `prompt` and `response` |
|
| 109 |
+
| RL | `prompt` (a list of messages) and `reward_model.ground_truth` (tests for the scorer) |
|
| 110 |
+
| Category analysis | `primary_category`; KodCode annotation fields or TACO/LeetCode `overlap_categories` |
|
| 111 |
+
|
| 112 |
+
Apply the target model's template at training time. Classification reasons and
|
| 113 |
+
reward tests are not SFT targets and should not be appended to training prompts.
|
| 114 |
+
|
| 115 |
+
## Category annotations
|
| 116 |
+
|
| 117 |
+
KodCode records include a primary category, auxiliary techniques, a short
|
| 118 |
+
classification reason, and annotation provenance. Across its 36,074 problems,
|
| 119 |
+
7,564 records are marked as reviewed and 1,677 as changed during review.
|
| 120 |
+
The released ten-category labels are a deterministic mapping of the reviewed
|
| 121 |
+
earlier labels. See [KodCode notes](docs/kodcode.md) for the model records and
|
| 122 |
+
field definitions.
|
| 123 |
+
|
| 124 |
+
A real annotation, showing selected fields:
|
| 125 |
+
|
| 126 |
+
```json
|
| 127 |
+
{
|
| 128 |
+
"problem_id": "Algorithm_12700_C",
|
| 129 |
+
"primary_category": "dynamic_programming",
|
| 130 |
+
"techniques": ["dp_table", "lcs_reconstruction", "backtracking"],
|
| 131 |
+
"rationale": "Builds an LCS length table and backtracks to reconstruct the subsequence."
|
| 132 |
+
}
|
| 133 |
```
|
| 134 |
|
| 135 |
+
KodCode's main ablations remove the selected **primary category**. TACO/LeetCode
|
| 136 |
+
ablations remove problems when **any mapped category** matches the removed
|
| 137 |
+
group. Use the recorded memberships to reproduce the experimental subsets;
|
| 138 |
+
a simple category filter does not reproduce their additional sampling.
|
| 139 |
+
Export commands are in the [KodCode](docs/kodcode.md) and
|
| 140 |
+
[TACO/LeetCode](docs/taco_leetcode.md) notes.
|
| 141 |
|
| 142 |
+
## Quality and usage notes
|
|
|
|
| 143 |
|
| 144 |
+
- All released KodCode problems carry a historical reference-execution-pass
|
| 145 |
+
flag. In TACO/LeetCode RL training data, 11,587 records are marked as
|
| 146 |
+
reference-execution-verified and 5,662 as structural-only. Passing the
|
| 147 |
+
supplied tests does not establish correctness on every possible input.
|
| 148 |
+
- KodCode's fixed 100-problem validation set comes from Light-RL-10K, whereas
|
| 149 |
+
its training set combines two KodCode sources. TACO SFT's 100-problem holdout
|
| 150 |
+
was added for this release; the other splits preserve the historical setup.
|
| 151 |
+
- TACO SFT and RL were separate experiments, not a shared SFT-to-RL partition.
|
| 152 |
+
There are cross-configuration overlaps; see the
|
| 153 |
+
[split notes](docs/taco_leetcode.md#splits-and-verification) before combining them.
|
| 154 |
+
- Reward execution requires Linux and an isolated environment. See
|
| 155 |
+
[verification notes](docs/rl_verification.md) for the two reward rules and
|
| 156 |
+
execution limits. Loading the dataset does not execute the problem code.
|
| 157 |
+
|
| 158 |
+
To check the local release, run these commands from the repository root:
|
| 159 |
|
| 160 |
```bash
|
| 161 |
pip install -r requirements.txt
|
| 162 |
python scripts/validate_release.py --hf
|
| 163 |
```
|
| 164 |
|
| 165 |
+
## Sources and license
|
| 166 |
+
|
| 167 |
+
Please credit the original [KodCode](https://arxiv.org/abs/2503.02951),
|
| 168 |
+
[TACO](https://arxiv.org/abs/2312.14852), and
|
| 169 |
+
[LeetCodeDataset](https://arxiv.org/abs/2504.14655) work when using their data.
|
| 170 |
+
Source repositories and attribution are listed in [NOTICE](NOTICE.md).
|
| 171 |
+
Source-specific terms remain in effect; see [LICENSE](LICENSE), including the
|
| 172 |
+
non-commercial condition on the KodCode-derived portion.
|
docs/kodcode.md
CHANGED
|
@@ -1,18 +1,71 @@
|
|
| 1 |
# KodCode
|
| 2 |
|
| 3 |
-
|
| 4 |
-
validation, shared by SFT and RL. It follows the project's deduplication,
|
| 5 |
-
interface repair, execution checks, and reviewed category mapping.
|
| 6 |
-
The earlier 37,881-answer diagnostic pool is not included as another configuration.
|
| 7 |
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
```bash
|
| 14 |
python scripts/build_kodcode.py --arm no_dynamic_programming --output arm.parquet
|
| 15 |
```
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# KodCode
|
| 2 |
|
| 3 |
+
## Curation
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
+
We prepare a 36,074-problem pool from KodCode-V1-SFT-4o (26,475 problems) and
|
| 6 |
+
KodCode-Light-RL-10K (9,599 problems). The recorded preparation process includes
|
| 7 |
+
deduplication by original question, interface repair, static checks, and
|
| 8 |
+
reference-solution execution checks. All released problems retain a historical
|
| 9 |
+
full-execution-pass flag; this is verification against the supplied tests, not
|
| 10 |
+
a guarantee that the tests cover every valid input.
|
| 11 |
+
|
| 12 |
+
SFT and RL share 35,974 training and 100 validation problems. The validation
|
| 13 |
+
problems all come from Light-RL-10K; they are not a source-stratified sample of
|
| 14 |
+
the combined pool. The earlier 37,881-answer diagnostic pool is not a separate
|
| 15 |
+
configuration in this release.
|
| 16 |
+
|
| 17 |
+
## LLM-assisted annotation
|
| 18 |
+
|
| 19 |
+
We add algorithmic category annotations through an LLM API and retain the
|
| 20 |
+
classification reasons and review history alongside the data. The records
|
| 21 |
+
identify 7,564 reviewed annotations and 1,677 annotations changed during review.
|
| 22 |
+
These counts cover train and validation once, without double-counting the RL
|
| 23 |
+
representation of the same problems.
|
| 24 |
+
|
| 25 |
+
| Final recorded classifier | Problems |
|
| 26 |
+
|---|---:|
|
| 27 |
+
| `gpt-5.4-mini` | 28,492 |
|
| 28 |
+
| `gpt-5.4` | 7,472 |
|
| 29 |
+
| `gpt-4.1` | 110 |
|
| 30 |
+
|
| 31 |
+
These are the model identifiers stored in `classifier_model`, not a count of
|
| 32 |
+
all API calls. Review refers to the recorded classification stage; it should
|
| 33 |
+
not be interpreted as independent human verification.
|
| 34 |
+
|
| 35 |
+
The reviewed v1 primary categories and subcategories are mapped deterministically
|
| 36 |
+
into the ten-category v2 taxonomy. This mapping makes no additional API calls.
|
| 37 |
+
Definitions and mapping rules are in
|
| 38 |
+
[taxonomy.json](../metadata/kodcode/taxonomy.json).
|
| 39 |
+
|
| 40 |
+
| Fields | Meaning |
|
| 41 |
+
|---|---|
|
| 42 |
+
| `primary_category`, `taxonomy_version` | One final v2 category and its taxonomy version |
|
| 43 |
+
| `v1_primary_category`, `v1_subcategory` | Reviewed labels before the v2 mapping |
|
| 44 |
+
| `v1_alternative_category` | Optional alternative in the older taxonomy, not a second v2 label |
|
| 45 |
+
| `techniques` | Auxiliary free-text techniques, not additional primary labels |
|
| 46 |
+
| `rationale` | The reason for the classification, not the solution's reasoning trace |
|
| 47 |
+
| `classifier_model`, `classification_stage` | Recorded classifier and annotation stage |
|
| 48 |
+
| `was_reviewed`, `review_changed`, `v1_first_pass_category` | Review status and earlier classification |
|
| 49 |
+
| `confidence`, `v1_confidence` | Recorded annotation confidence, not a measured accuracy |
|
| 50 |
+
| `mapping_method` | How the final category was derived |
|
| 51 |
+
|
| 52 |
+
The original API prompts, request settings, and review-selection logic are not
|
| 53 |
+
included in this release. The annotations can be reused, but the API annotation
|
| 54 |
+
process cannot be rerun end to end from this package alone.
|
| 55 |
+
|
| 56 |
+
## Reusing the experimental subsets
|
| 57 |
+
|
| 58 |
+
Historical main ablations remove the primary category only, then select a
|
| 59 |
+
recorded equal-size sample. They do not remove every problem mentioning that
|
| 60 |
+
category in its auxiliary techniques or alternative label.
|
| 61 |
|
| 62 |
```bash
|
| 63 |
python scripts/build_kodcode.py --arm no_dynamic_programming --output arm.parquet
|
| 64 |
```
|
| 65 |
|
| 66 |
+
Run the command from the repository root. Use `--kind rl` for the corresponding
|
| 67 |
+
RL subset. The script exports the recorded membership rather than resampling.
|
| 68 |
+
|
| 69 |
+
`--source DIR` repackages a frozen, already labeled export; it does not rerun the
|
| 70 |
+
upstream cleaning or API annotation pipeline. Source revisions, file hashes,
|
| 71 |
+
and sample memberships are in [metadata/kodcode/](../metadata/kodcode/).
|
docs/taco_leetcode.md
CHANGED
|
@@ -1,19 +1,44 @@
|
|
| 1 |
# TACO + LeetCode
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
RL retains the original 17,249 train / 100 validation split and all reward tests.
|
| 9 |
Its training metadata marks 11,587 reference-execution-verified rows and 5,662
|
| 10 |
structural-only rows; validation has 71 and 29 respectively.
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
|
|
|
| 17 |
|
| 18 |
```bash
|
| 19 |
# Original 21,879-row SFT pool, in original order:
|
|
@@ -22,5 +47,8 @@ python scripts/build_taco_leetcode.py --arm full_sft --historical --output origi
|
|
| 22 |
python scripts/build_taco_leetcode.py --kind rl --arm no_graph --output arm.parquet
|
| 23 |
```
|
| 24 |
|
| 25 |
-
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# TACO + LeetCode
|
| 2 |
|
| 3 |
+
## Curation and category organization
|
| 4 |
+
|
| 5 |
+
We bring together filtered TACO and LeetCodeDataset problems, organize their
|
| 6 |
+
upstream tags into seven category-removal groups, and prepare SFT examples and
|
| 7 |
+
RL prompts with reward tests. The category information originates in the
|
| 8 |
+
upstream datasets; this portion was not newly labeled through our LLM API.
|
| 9 |
+
|
| 10 |
+
`overlap_categories` lists the mapped groups associated with a problem. An
|
| 11 |
+
ablation removes a problem if any of these groups matches the selected category.
|
| 12 |
+
`no_tags` identifies records without mapped tags. The original detailed SFT
|
| 13 |
+
labels remain in `raw_*` columns; the release mapping is in
|
| 14 |
+
[taxonomy.json](../metadata/taco_leetcode/taxonomy.json).
|
| 15 |
+
|
| 16 |
+
## Splits and verification
|
| 17 |
+
|
| 18 |
+
The historical SFT pool contains 21,879 rows: 19,493 TACO and 2,386
|
| 19 |
+
LeetCodeDataset. For this release, we hold out 100 unique-prompt problems using
|
| 20 |
+
seed 20260907 and source/category stratification, leaving 21,779 training rows.
|
| 21 |
+
The original SFT fields, membership, and order remain recoverable.
|
| 22 |
|
| 23 |
RL retains the original 17,249 train / 100 validation split and all reward tests.
|
| 24 |
Its training metadata marks 11,587 reference-execution-verified rows and 5,662
|
| 25 |
structural-only rows; validation has 71 and 29 respectively.
|
| 26 |
+
These flags describe the recorded checks; structural validation alone does not
|
| 27 |
+
show that a reference solution passes the tests.
|
| 28 |
+
|
| 29 |
+
There is no train/validation ID or normalized-prompt overlap within each
|
| 30 |
+
configuration, according to the release validation report. However, 71 problems
|
| 31 |
+
in RL validation also occur in SFT training, and 48 problems in the new SFT
|
| 32 |
+
validation set occur in RL training. The configurations preserve separate
|
| 33 |
+
experiments, not a leakage-free shared SFT-to-RL partition.
|
| 34 |
+
|
| 35 |
+
## Reusing the experimental subsets
|
| 36 |
|
| 37 |
+
The recorded size-matched historical SFT subsets contain 14,043 rows and RL
|
| 38 |
+
subsets contain 12,168. Release SFT subset exports exclude the new holdout and
|
| 39 |
+
therefore need not remain equal-size. Full-corpus configurations have the larger
|
| 40 |
+
counts listed above. Use recorded memberships rather than a new random sample
|
| 41 |
+
when reproducing those experiments.
|
| 42 |
|
| 43 |
```bash
|
| 44 |
# Original 21,879-row SFT pool, in original order:
|
|
|
|
| 47 |
python scripts/build_taco_leetcode.py --kind rl --arm no_graph --output arm.parquet
|
| 48 |
```
|
| 49 |
|
| 50 |
+
Run these commands from the repository root. The build script also accepts a
|
| 51 |
+
frozen source export through `--source DIR`; it repackages the prepared data,
|
| 52 |
+
rather than collecting or filtering the upstream datasets from scratch.
|
| 53 |
+
Source records, IDs, and split hashes are in
|
| 54 |
+
[metadata/taco_leetcode/](../metadata/taco_leetcode/).
|
metadata/release_files.json
CHANGED
|
@@ -9,10 +9,10 @@
|
|
| 9 |
"bytes": 38,
|
| 10 |
"sha256": "6c1257632e97376c4342ba9ce2d0a6a1c84d7c2519a0711a29969970c6e3cd6c"
|
| 11 |
},
|
| 12 |
-
"CHANGELOG.md": {
|
| 13 |
-
"bytes":
|
| 14 |
-
"sha256": "
|
| 15 |
-
},
|
| 16 |
"data/kodcode/rl/train.parquet": {
|
| 17 |
"bytes": 31938297,
|
| 18 |
"sha256": "a23ea34d57279ae59d7068c4bbd55df08df49b3d4ca42853a49302365d54f224"
|
|
@@ -45,18 +45,18 @@
|
|
| 45 |
"bytes": 195929,
|
| 46 |
"sha256": "3f637a2b0f6e466335dddd08834fa56d1eaabf7b1792bf9cbbda21c95501e362"
|
| 47 |
},
|
| 48 |
-
"docs/kodcode.md": {
|
| 49 |
-
"bytes":
|
| 50 |
-
"sha256": "
|
| 51 |
-
},
|
| 52 |
"docs/rl_verification.md": {
|
| 53 |
"bytes": 1147,
|
| 54 |
"sha256": "958f38e86ff1429bc7063e58d359a39aa2358f1a3c3d2444d42ae7d9539b89c1"
|
| 55 |
},
|
| 56 |
-
"docs/taco_leetcode.md": {
|
| 57 |
-
"bytes":
|
| 58 |
-
"sha256": "
|
| 59 |
-
},
|
| 60 |
"LICENSE": {
|
| 61 |
"bytes": 1094,
|
| 62 |
"sha256": "b7b3bf61277c2f6891b3a714ddd0f8dbde92a343f50ac3718afe88c0de2fef18"
|
|
@@ -113,14 +113,14 @@
|
|
| 113 |
"bytes": 1802,
|
| 114 |
"sha256": "e1aff965903d91f5f489463c4acac910e30be9f5ffc90104e7d3f788f99b5bfd"
|
| 115 |
},
|
| 116 |
-
"NOTICE.md": {
|
| 117 |
-
"bytes":
|
| 118 |
-
"sha256": "
|
| 119 |
-
},
|
| 120 |
-
"README.md": {
|
| 121 |
-
"bytes":
|
| 122 |
-
"sha256": "
|
| 123 |
-
},
|
| 124 |
"requirements.txt": {
|
| 125 |
"bytes": 46,
|
| 126 |
"sha256": "f099c62b8f276a0de63c9b76c820e07b76fa3bb6b4c24c2e1760af1a5e9f4a49"
|
|
|
|
| 9 |
"bytes": 38,
|
| 10 |
"sha256": "6c1257632e97376c4342ba9ce2d0a6a1c84d7c2519a0711a29969970c6e3cd6c"
|
| 11 |
},
|
| 12 |
+
"CHANGELOG.md": {
|
| 13 |
+
"bytes": 633,
|
| 14 |
+
"sha256": "08fd8a2a82cbe10cdcbf83b47afce41282eb39a65f399381dc74e9b0315e3443"
|
| 15 |
+
},
|
| 16 |
"data/kodcode/rl/train.parquet": {
|
| 17 |
"bytes": 31938297,
|
| 18 |
"sha256": "a23ea34d57279ae59d7068c4bbd55df08df49b3d4ca42853a49302365d54f224"
|
|
|
|
| 45 |
"bytes": 195929,
|
| 46 |
"sha256": "3f637a2b0f6e466335dddd08834fa56d1eaabf7b1792bf9cbbda21c95501e362"
|
| 47 |
},
|
| 48 |
+
"docs/kodcode.md": {
|
| 49 |
+
"bytes": 3465,
|
| 50 |
+
"sha256": "73cd962b131b9c10cdb8b7db8b97922ed76f15208643fcfcab2d3b0384a7781f"
|
| 51 |
+
},
|
| 52 |
"docs/rl_verification.md": {
|
| 53 |
"bytes": 1147,
|
| 54 |
"sha256": "958f38e86ff1429bc7063e58d359a39aa2358f1a3c3d2444d42ae7d9539b89c1"
|
| 55 |
},
|
| 56 |
+
"docs/taco_leetcode.md": {
|
| 57 |
+
"bytes": 2729,
|
| 58 |
+
"sha256": "5e3fa6304d97a9f1ece5738d5b578affaa39d2e7b8e0d7cf455908de2c439a4e"
|
| 59 |
+
},
|
| 60 |
"LICENSE": {
|
| 61 |
"bytes": 1094,
|
| 62 |
"sha256": "b7b3bf61277c2f6891b3a714ddd0f8dbde92a343f50ac3718afe88c0de2fef18"
|
|
|
|
| 113 |
"bytes": 1802,
|
| 114 |
"sha256": "e1aff965903d91f5f489463c4acac910e30be9f5ffc90104e7d3f788f99b5bfd"
|
| 115 |
},
|
| 116 |
+
"NOTICE.md": {
|
| 117 |
+
"bytes": 1203,
|
| 118 |
+
"sha256": "737565466cf2e235747d49e57360e3f0fbca44ec7bbf9a8e106634a091a1033f"
|
| 119 |
+
},
|
| 120 |
+
"README.md": {
|
| 121 |
+
"bytes": 6761,
|
| 122 |
+
"sha256": "ebd005e1867798e507823cd96e679bf7e92a46d7b2ae0e675af712b07b9753a6"
|
| 123 |
+
},
|
| 124 |
"requirements.txt": {
|
| 125 |
"bytes": 46,
|
| 126 |
"sha256": "f099c62b8f276a0de63c9b76c820e07b76fa3bb6b4c24c2e1760af1a5e9f4a49"
|