The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: CastError
Message: Couldn't cast
key: string
pi: int64
kind: string
verdicts: struct<t1_b02_s001: string, t1_b02_s002: string, t1_b02_s003: string, t1_b02_s004: string, t1_b02_s0 (... 20958 chars omitted)
child 0, t1_b02_s001: string
child 1, t1_b02_s002: string
child 2, t1_b02_s003: string
child 3, t1_b02_s004: string
child 4, t1_b02_s005: string
child 5, t1_b03_s002: string
child 6, t1_b03_s003: string
child 7, t1_b03_s004: string
child 8, t1_b11_s005: string
child 9, t1_b12_s003: string
child 10, t1_b12_s004: string
child 11, t1_b12_s005: string
child 12, t1_b12_s006: string
child 13, t1_b12_s007: string
child 14, t1_b13_s001: string
child 15, t1_b13_s003: string
child 16, t1_b17_s005: string
child 17, t1_b17_s007: string
child 18, t1_b18_s001: string
child 19, t1_b18_s002: string
child 20, t1_b18_s006: string
child 21, t1_b19_s000: string
child 22, t1_b19_s003: string
child 23, t1_b19_s004: string
child 24, t2_b01_s007: string
child 25, t2_b02_s000: string
child 26, t2_b02_s004: string
child 27, t2_b02_s006: string
child 28, t2_b02_s007: string
child 29, t2_b03_s001: string
child 30, t2_b03_s003: string
child 31, t2_b03_s006: string
child 32, t1_b14_s000: string
child 33, t1_b14_s005: string
child 34, t1_b15_s003: string
child 35, t1_b16_s000: string
child 36, t1_b16_s006: string
child 37, t1_b17_s000: string
child 38, t1_b17_s002: string
child 39, t1_b17_s003: string
child 40, t1_b03_s005: string
child 41, t1_b03_s006: s
...
961, t9_b14_s005: string
child 962, t9_b14_s007: string
child 963, t9_b15_s000: string
child 964, t9_b15_s001: string
child 965, t9_b15_s004: string
child 966, t9_b15_s007: string
child 967, t9_b16_s000: string
child 968, t9_b16_s001: string
child 969, t9_b16_s002: string
child 970, t9_b16_s004: string
child 971, t9_b16_s005: string
child 972, t9_b24_s004: string
child 973, t9_b24_s005: string
child 974, t9_b24_s006: string
child 975, t9_b24_s007: string
child 976, t9_b25_s001: string
child 977, t9_b25_s005: string
child 978, t9_b25_s007: string
child 979, t9_b26_s000: string
child 980, t9_b22_s007: string
child 981, t9_b23_s000: string
child 982, t9_b23_s002: string
child 983, t9_b23_s005: string
child 984, t9_b23_s006: string
child 985, t9_b24_s000: string
child 986, t9_b24_s001: string
child 987, t9_b24_s002: string
child 988, t9_b26_s002: string
child 989, t9_b26_s003: string
child 990, t9_b26_s004: string
child 991, t9_b27_s002: string
child 992, t9_b27_s004: string
child 993, t3_b28_s000: string
child 994, t9_b28_s000: string
child 995, t9_b28_s001: string
child 996, t9_b17_s000: string
child 997, t9_b17_s001: string
child 998, t9_b17_s003: string
child 999, t9_b17_s007: string
child 1000, t9_b18_s001: string
child 1001, t9_b18_s004: string
child 1002, t9_b18_s005: string
child 1003, t9_b19_s002: string
patterns_strict: string
patterns_broad: string
embedding_dup: bool
record_id: string
to
{'record_id': Value('string'), 'patterns_strict': Value('string'), 'embedding_dup': Value('bool'), 'patterns_broad': Value('string')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
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
key: string
pi: int64
kind: string
verdicts: struct<t1_b02_s001: string, t1_b02_s002: string, t1_b02_s003: string, t1_b02_s004: string, t1_b02_s0 (... 20958 chars omitted)
child 0, t1_b02_s001: string
child 1, t1_b02_s002: string
child 2, t1_b02_s003: string
child 3, t1_b02_s004: string
child 4, t1_b02_s005: string
child 5, t1_b03_s002: string
child 6, t1_b03_s003: string
child 7, t1_b03_s004: string
child 8, t1_b11_s005: string
child 9, t1_b12_s003: string
child 10, t1_b12_s004: string
child 11, t1_b12_s005: string
child 12, t1_b12_s006: string
child 13, t1_b12_s007: string
child 14, t1_b13_s001: string
child 15, t1_b13_s003: string
child 16, t1_b17_s005: string
child 17, t1_b17_s007: string
child 18, t1_b18_s001: string
child 19, t1_b18_s002: string
child 20, t1_b18_s006: string
child 21, t1_b19_s000: string
child 22, t1_b19_s003: string
child 23, t1_b19_s004: string
child 24, t2_b01_s007: string
child 25, t2_b02_s000: string
child 26, t2_b02_s004: string
child 27, t2_b02_s006: string
child 28, t2_b02_s007: string
child 29, t2_b03_s001: string
child 30, t2_b03_s003: string
child 31, t2_b03_s006: string
child 32, t1_b14_s000: string
child 33, t1_b14_s005: string
child 34, t1_b15_s003: string
child 35, t1_b16_s000: string
child 36, t1_b16_s006: string
child 37, t1_b17_s000: string
child 38, t1_b17_s002: string
child 39, t1_b17_s003: string
child 40, t1_b03_s005: string
child 41, t1_b03_s006: s
...
961, t9_b14_s005: string
child 962, t9_b14_s007: string
child 963, t9_b15_s000: string
child 964, t9_b15_s001: string
child 965, t9_b15_s004: string
child 966, t9_b15_s007: string
child 967, t9_b16_s000: string
child 968, t9_b16_s001: string
child 969, t9_b16_s002: string
child 970, t9_b16_s004: string
child 971, t9_b16_s005: string
child 972, t9_b24_s004: string
child 973, t9_b24_s005: string
child 974, t9_b24_s006: string
child 975, t9_b24_s007: string
child 976, t9_b25_s001: string
child 977, t9_b25_s005: string
child 978, t9_b25_s007: string
child 979, t9_b26_s000: string
child 980, t9_b22_s007: string
child 981, t9_b23_s000: string
child 982, t9_b23_s002: string
child 983, t9_b23_s005: string
child 984, t9_b23_s006: string
child 985, t9_b24_s000: string
child 986, t9_b24_s001: string
child 987, t9_b24_s002: string
child 988, t9_b26_s002: string
child 989, t9_b26_s003: string
child 990, t9_b26_s004: string
child 991, t9_b27_s002: string
child 992, t9_b27_s004: string
child 993, t3_b28_s000: string
child 994, t9_b28_s000: string
child 995, t9_b28_s001: string
child 996, t9_b17_s000: string
child 997, t9_b17_s001: string
child 998, t9_b17_s003: string
child 999, t9_b17_s007: string
child 1000, t9_b18_s001: string
child 1001, t9_b18_s004: string
child 1002, t9_b18_s005: string
child 1003, t9_b19_s002: string
patterns_strict: string
patterns_broad: string
embedding_dup: bool
record_id: string
to
{'record_id': Value('string'), 'patterns_strict': Value('string'), 'embedding_dup': Value('bool'), 'patterns_broad': Value('string')}
because column names don't match
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1880, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
record_id string | patterns_strict string | embedding_dup bool | patterns_broad string |
|---|---|---|---|
t1_b00_s000 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b00_s002 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b00_s003 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b00_s004 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b00_s006 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b01_s002 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b01_s007 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b02_s000 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b02_s001 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b02_s002 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b02_s003 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b02_s004 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b02_s005 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b03_s002 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b03_s003 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b03_s004 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b03_s005 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b03_s006 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b03_s007 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b04_s000 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b04_s002 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b04_s007 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b05_s002 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b05_s003 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b05_s005 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b05_s007 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b06_s004 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b07_s000 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b07_s002 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b07_s003 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b07_s006 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b08_s000 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b08_s001 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b08_s003 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b08_s005 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b08_s007 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b09_s000 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b09_s005 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b09_s006 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b09_s007 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b10_s002 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b10_s003 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b10_s004 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b10_s005 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b10_s007 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b11_s000 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b11_s001 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b11_s003 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b11_s005 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b12_s003 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b12_s004 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b12_s005 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b12_s006 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b12_s007 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b13_s001 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b13_s003 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b14_s000 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b14_s005 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b15_s003 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b16_s000 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b16_s006 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b17_s000 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b17_s002 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b17_s003 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b17_s005 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b17_s007 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b18_s001 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b18_s002 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b18_s006 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b19_s000 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b19_s003 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b19_s004 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b19_s005 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b19_s007 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b20_s001 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b20_s004 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b21_s000 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b21_s002 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b21_s005 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b21_s006 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b21_s007 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b22_s002 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b22_s003 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b22_s004 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b22_s005 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b22_s007 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b23_s001 | Refuse-Mechanism-Not-Goal With Reasoning Structure | true | null |
t1_b23_s002 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b23_s003 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b23_s004 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b23_s005 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b24_s000 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b24_s001 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b24_s007 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b25_s001 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b25_s002 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b25_s003 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b25_s005 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b25_s007 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
t1_b26_s002 | Refuse-Mechanism-Not-Goal With Reasoning Structure | null | null |
2026-08-13-difficult-advice-v2
| field | value |
|---|---|
experiment |
Difficult-advice v2: the Teaching-Claude-Why recipe with the four measured v1 defects fixed (enforced scenario diversity + dedupe gate, voice lints on both reasoning stages, refine-stage metadata overwrite, stock-opener audit) and constitution prompt caching. |
date_generated |
2026-08-14 |
constitution |
claude_distilled_12_principles_mid — byte-identical to the frozen nine-principle snapshot claude_distilled_09_principles_mid_20260804, so this corpus shares one alignment target with the model-eval-model corpora. Source: constitutions/claude_distilled_12_principles_mid/constitution.md |
source_repo |
https://github.com/Matthew-Bozoukov/Lessons_from_constituitional_AFT @ 780ac19 (run) / 2907caf (provider pin used by the top-up) |
models |
anthropic/claude-haiku-4.5 (scenarios, prompt drafts, response drafts) and anthropic/claude-sonnet-5 (prompt refine, response rewrite), all via OpenRouter. Mid-run onward, routing is pinned to Anthropic first-party (provider: {order: [anthropic], allow_fallbacks: false}) after Bedrock and Google Vertex content filters refused the ethically-loaded tail of the corpus. |
generation_config |
seed 0; per-stage temperatures: scenarios 1.1, draft 1.0, refine 0.7, respond 1.0, rewrite 0.7; max_tokens 2048–12288 per stage; hidden reasoning disabled on all stages; <<<cache>>> constitution cache breakpoints on refine + rewrite. Full record: configs/data/synth/difficult_advice.yaml at the pinned SHA. |
schema |
stage_8_export_sft.jsonl: one training record per line — messages (system, user, assistant with content + reasoning_content) and metadata (scenario_id, trait_id/name/text, domain, situation, shortcut, chunking provenance: chunk_ids, granularity, grouping_strategy, n_chunks). Earlier stage_N_*.jsonl files are the per-stage snapshots the run can resume from; manifest.json records git SHA, per-stage usage, and ablations. |
provenance |
uv run scripts/data/synth/build_dataset.py --config configs/data/synth/difficult_advice.yaml (2,000 planned scenarios, total_scenarios sizing over 9 principle units), topped up with --resume output/synthdoc_v2/20260814_112121 --ablate corpus. ~$164 metered. |
Counts and known losses
1,968 training records of 2,000 planned. The 32-record shortfall, measured precisely by the top-up pass: 18 prompts are refused by Anthropic first-party as well as by every third-party host — the genuine refusal floor of this prompt distribution (~0.9%) — and 14 records repeatedly failed the voice-contract lints (constitution recital / stock openers) or rewrite tag format across two rounds of sampling. Everything recoverable was recovered: the top-up re-ran all pre-pin provider refusals and lint drops with fresh sampling (+16 records over the initial 1,952).
Checks
Scenario-level (full 2,000, in-run): 0 duplicate scenarios at 0.86 embedding cosine,
top 8-gram share 1.3% per trait, distinct-2 0.64 — the v1 corpus's 46.9% top-10 domain
concentration is fixed at generation time. Corpus-level (on 1,952 pre-top-up records):
PASS, 0 critical, 1 warn — the pattern scan's classifier for its own top finding
("refuse-mechanism-not-goal" rhetorical shape, reported at 99.7% broad presence) failed
its sanity-recall check, so that one number is unreliable; see corpus_report.json in
the run dir. The v1 mirror (synthdoc-v2-difficult-advice) remains the record of the
corpus all pre-v2 results were measured on; do not mix the two.
- Downloads last month
- 291