Dataset Viewer
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
name: string
version: string
date: timestamp[s]
seed: int64
held_out_families: list<item: string>
child 0, item: string
all_families: list<item: string>
child 0, item: string
generator_sha256: struct<framework.py: string, families_a.py: string, families_b.py: string, families_c.py: string, bu (... 15 chars omitted)
child 0, framework.py: string
child 1, families_a.py: string
child 2, families_b.py: string
child 3, families_c.py: string
child 4, build.py: string
stage_b: struct<file: string, rows: int64, per_family: struct<rotate_list: int64, group_by_key: int64, stack_ (... 1465 chars omitted)
child 0, file: string
child 1, rows: int64
child 2, per_family: struct<rotate_list: int64, group_by_key: int64, stack_class: int64, fact_recursive: int64, longest_w (... 951 chars omitted)
child 0, rotate_list: int64
child 1, group_by_key: int64
child 2, stack_class: int64
child 3, fact_recursive: int64
child 4, longest_word: int64
child 5, dict_filter: int64
child 6, list_intersection: int64
child 7, binary_search: int64
child 8, freq_map: int64
child 9, title_case: int64
child 10, parse_kv_pairs: int64
child 11, flatten_recursive: int64
child 12, parse_duration: int64
child 13, balanced_parens: int64
child 14, flatten_once: int64
child 15, cumulative_sum: int64
child 16, pow_recursive: int64
child 17, longest_common_prefix: int64
child 18, count_substri
...
omitted)
child 0, generated: int64
child 1, assembled: int64
child 2, kept: int64
child 3, acceptance: double
child 4, discards: struct<>
child 5, dedup: struct<dups: int64, cap_drops: int64>
child 0, dups: int64
child 1, cap_drops: int64
child 6, mutation_mean: double
child 7, mutation_min: double
child 8, seconds: double
child 5, sha256: string
child 6, verify_file: string
child 7, verify_sha256: string
gates: struct<stage_b_answers_pass_tests: string, stage_b_buggy_drafts_fail: string, stage_c_tests_pass_ref (... 145 chars omitted)
child 0, stage_b_answers_pass_tests: string
child 1, stage_b_buggy_drafts_fail: string
child 2, stage_c_tests_pass_reference: string
child 3, stage_c_mutation: string
child 4, cross_set_overlap_dropped: int64
child 5, subprocess_reverify_sample: struct<stage_b: string, stage_c: string>
child 0, stage_b: string
child 1, stage_c: string
notes: list<item: string>
child 0, item: string
audit: struct<sampled: int64, original_pass: int64, broken_fail: int64, findings: int64, verdict: string, r (... 19 chars omitted)
child 0, sampled: int64
child 1, original_pass: int64
child 2, broken_fail: int64
child 3, findings: int64
child 4, verdict: string
child 5, report_file: string
findings: list<item: null>
child 0, item: null
original_pass: int64
broken_fail: int64
verdict: string
sampled: int64
to
{'sampled': Value('int64'), 'original_pass': Value('int64'), 'broken_fail': Value('int64'), 'findings': List(Value('null')), 'verdict': Value('string')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2951, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2461, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2486, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 547, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 430, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
name: string
version: string
date: timestamp[s]
seed: int64
held_out_families: list<item: string>
child 0, item: string
all_families: list<item: string>
child 0, item: string
generator_sha256: struct<framework.py: string, families_a.py: string, families_b.py: string, families_c.py: string, bu (... 15 chars omitted)
child 0, framework.py: string
child 1, families_a.py: string
child 2, families_b.py: string
child 3, families_c.py: string
child 4, build.py: string
stage_b: struct<file: string, rows: int64, per_family: struct<rotate_list: int64, group_by_key: int64, stack_ (... 1465 chars omitted)
child 0, file: string
child 1, rows: int64
child 2, per_family: struct<rotate_list: int64, group_by_key: int64, stack_class: int64, fact_recursive: int64, longest_w (... 951 chars omitted)
child 0, rotate_list: int64
child 1, group_by_key: int64
child 2, stack_class: int64
child 3, fact_recursive: int64
child 4, longest_word: int64
child 5, dict_filter: int64
child 6, list_intersection: int64
child 7, binary_search: int64
child 8, freq_map: int64
child 9, title_case: int64
child 10, parse_kv_pairs: int64
child 11, flatten_recursive: int64
child 12, parse_duration: int64
child 13, balanced_parens: int64
child 14, flatten_once: int64
child 15, cumulative_sum: int64
child 16, pow_recursive: int64
child 17, longest_common_prefix: int64
child 18, count_substri
...
omitted)
child 0, generated: int64
child 1, assembled: int64
child 2, kept: int64
child 3, acceptance: double
child 4, discards: struct<>
child 5, dedup: struct<dups: int64, cap_drops: int64>
child 0, dups: int64
child 1, cap_drops: int64
child 6, mutation_mean: double
child 7, mutation_min: double
child 8, seconds: double
child 5, sha256: string
child 6, verify_file: string
child 7, verify_sha256: string
gates: struct<stage_b_answers_pass_tests: string, stage_b_buggy_drafts_fail: string, stage_c_tests_pass_ref (... 145 chars omitted)
child 0, stage_b_answers_pass_tests: string
child 1, stage_b_buggy_drafts_fail: string
child 2, stage_c_tests_pass_reference: string
child 3, stage_c_mutation: string
child 4, cross_set_overlap_dropped: int64
child 5, subprocess_reverify_sample: struct<stage_b: string, stage_c: string>
child 0, stage_b: string
child 1, stage_c: string
notes: list<item: string>
child 0, item: string
audit: struct<sampled: int64, original_pass: int64, broken_fail: int64, findings: int64, verdict: string, r (... 19 chars omitted)
child 0, sampled: int64
child 1, original_pass: int64
child 2, broken_fail: int64
child 3, findings: int64
child 4, verdict: string
child 5, report_file: string
findings: list<item: null>
child 0, item: null
original_pass: int64
broken_fail: int64
verdict: string
sampled: int64
to
{'sampled': Value('int64'), 'original_pass': Value('int64'), 'broken_fail': Value('int64'), 'findings': List(Value('null')), 'verdict': Value('string')}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
AGA-Code Stage B + Stage C Datasets
Procedurally generated, execution-verified training data for AGA-Code
(aga_code.py), built under Guy's no-distillation rule: no teacher traces,
no third-party data — every instance is a procedurally generated original
with correctness established by running the code.
Files
| File | Content |
|---|---|
stage_b.jsonl |
Deep-CoT SFT examples: instruction / think / critique / revise / answer / tests / family / difficulty / seed — consumed by stage_deepcot (<task>/<think>/<critique>/<revise>/<answer> sections) |
stage_c.jsonl |
Problem bank for stage_exec_grounded: instruction / tests / family / difficulty / seed / tier / mutation_score — no reference solutions (training file) |
stage_c_verify.jsonl |
Same rows as stage_c.jsonl plus reference_solution — held out for our own verification, NEVER fed to the model |
manifest_v1.json |
SHA-256s, counts, seed, gate results, per-family distribution, held-out family list, audit summary |
BUILD_LOG.md |
Per-family counts, discard counts and reasons, design decisions, known warts |
audit_report_full.json |
Independent audit re-execution results (pilot: audit_report_pilot.json) |
Construction
- 60 program-generator families (string/list/dict ops, arithmetic,
recursion, sorting/searching, number theory, parsing, simple OOP) with
randomized parameters, 12 think skeletons, 7 grounded bug templates +
clean-critique templates — all seeded with seed 1147 (
MASTER_SEED). - Stage B: each instance runs its reference + auto-generated tests; the answer is kept only if the tests PASS. ~80% of examples pair the reference with a real structurally-built bug (off-by-one, wrong operator, missing return, wrong variable, wrong edge, swapped branch, missing case) and a grounded critique/revise; ~20% are already-correct drafts whose critique explicitly says no bug was found and whose revise is a no-op.
- Stage C: problems are kept only if (a) the tests pass on the reference AND (b) at least one trivial-wrong solution fails the tests AND (c) a mutation score (≥5 mutants, up to 10, killed by the tests) ≥ 0.6. Instructions state the exact signature; examples are embedded worked asserts. Three tiers: easy (5,000 — single-function problems so an 11M model sees non-zero pass rates from the start), standard (3,500 — fresh instances from Stage B families, in-distribution), held_out (1,500 — whole families held out of Stage B, for transfer measurement).
- Held-out families (never in Stage B):
caesar_cipher, run_length_encode, merge_sorted, prime_factors, collatz_steps, quicksort, csv_parse_line, eval_expr, bank_account, matrix_multiply. - Dedup: SHA-256 on
(instruction, answer)for Stage B,(instruction, tests)for Stage C; seed-1147 shuffle; no family > 10%, no instruction phrasing > 5%; no instruction overlap between Stage B and Stage C (checked on normalized text). - Tokenizer note: the build performs no model generation or decoding, so
no tokenizer is used; it is compatible with
aga_code.py >= v0.1.7's fixedTokWrapper(ByteLevel decoder +skip_special_tokens=False).
Generator provenance
- Generator seed: 1147
- Generator script hashes (SHA-256): see
manifest_v1.json(generator_sha256— recorded as run) - All 60 family names: see
manifest_v1.json(all_families)
Scale
- Stage B: 25,000 examples (50 families; 10 held out). Difficulty: medium 12,680 / hard 7,546 / easy 4,774. Clean-critique fraction 20.4%.
- Stage C: 10,000 problems — easy 5,000 / standard 3,500 / held_out 1,500. Mutation score per problem ≥ 0.857 as shipped (gate ≥ 0.6); tier means 0.996 / 0.993 / 0.972.
- Gates: 100% of Stage B answers pass their tests; 100% of Stage C tests pass on references, reject a trivial-wrong solution, and kill ≥ 60% of mutants; B/C instruction overlap 0 after drop + top-up.
- Independent audit (
audit.py): 50/50 shipped answers pass, 50/50 hand-broken versions fail — PASS. SeeBUILD_LOG.mdfor the full story, including the one known coverage wart (fib_recursivein Stage C).
- Downloads last month
- 69