The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 4 new columns ({'span', 'unconstrained', 'enum', 'posthoc'}) and 1 missing columns ({'prompt'}).
This happened while the json dataset builder was generating data using
hf://datasets/raihan-js/fedproc-constrained-results/results.json (at revision 6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252), ['hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/prompts.json', 'hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/results.json', 'hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/v2/prompts_v2.json', 'hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/v2/runs_v2.json', 'hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/v2/v2_summary.json'], ['hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/prompts.json', 'hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/results.json', 'hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/v2/prompts_v2.json', 'hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/v2/runs_v2.json', 'hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/v2/v2_summary.json']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1848, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 784, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 795, in _write_table
pa_table = table_cast(pa_table, self._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
kind: string
gold: string
unconstrained: struct<cited: string, outcome: string, tokens_per_s: double, response: string>
child 0, cited: string
child 1, outcome: string
child 2, tokens_per_s: double
child 3, response: string
enum: struct<cited: string, outcome: string, tokens_per_s: double, response: string>
child 0, cited: string
child 1, outcome: string
child 2, tokens_per_s: double
child 3, response: string
span: struct<cited: string, outcome: string, tokens_per_s: double, response: string>
child 0, cited: string
child 1, outcome: string
child 2, tokens_per_s: double
child 3, response: string
posthoc: struct<cited: string, outcome: string, tokens_per_s: double, response: string, first_response: strin (... 2 chars omitted)
child 0, cited: string
child 1, outcome: string
child 2, tokens_per_s: double
child 3, response: string
child 4, first_response: string
to
{'kind': Value('string'), 'prompt': Value('string'), 'gold': Value('string')}
because column names don't match
During handling of the above exception, another exception occurred:
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 1850, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 4 new columns ({'span', 'unconstrained', 'enum', 'posthoc'}) and 1 missing columns ({'prompt'}).
This happened while the json dataset builder was generating data using
hf://datasets/raihan-js/fedproc-constrained-results/results.json (at revision 6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252), ['hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/prompts.json', 'hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/results.json', 'hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/v2/prompts_v2.json', 'hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/v2/runs_v2.json', 'hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/v2/v2_summary.json'], ['hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/prompts.json', 'hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/results.json', 'hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/v2/prompts_v2.json', 'hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/v2/runs_v2.json', 'hf://datasets/raihan-js/fedproc-constrained-results@6e68d8104f7aeab8f0894fa98d6e2e10ffe6b252/v2/v2_summary.json']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
kind string | prompt string | gold null |
|---|---|---|
fake_topic | A federal contract needs a clause covering regulations for drone swarm procurement under $10,000. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering quantum encryption requirements for field radios. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering contract clauses for AI-generated proposal writing services. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering rules for procuring commercial space tourism flights. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering set-aside requirements for underwater basket weaving services. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering clauses governing cafeteria meal service contracts on remote bases. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering requirements for blockchain-based invoice auditing. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering regulations for hiring celebrity impersonators at agency events. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering clauses for renting civilian submarines for naval exercises. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering rules for procuring artisanal cheese for military rations. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering overtime rules for contractor-employed circus performers. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering clauses for leasing hot air balloons for border surveillance. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering requirements for compostable packaging in ammunition shipments. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering regulations for pet therapy programs at federal buildings. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering set-asides for professional video game tournament organizers. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering clauses for hiring social media influencers for recruitment. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering rules for procuring vintage typewriters for archival offices. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering requirements for karaoke machine maintenance contracts. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering regulations for office plant care service agreements. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering clauses for guided meditation sessions for air traffic controllers. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering requirements for snow removal on tropical installations. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering rules for procuring bagpipes for military bands. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering set-aside requirements for mime troupes at embassy events. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering clauses for leasing food trucks for disaster relief. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering requirements for drone light show contracts. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering regulations for axe-throwing team-building vendors. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering clauses for mobile petting zoo visits to veterans hospitals. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering rules for procuring life-size cardboard cutouts. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering requirements for flash mob coordination services. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | A federal contract needs a clause covering set-asides for professional wrestling event promoters. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
near_miss | What does FAR 52.212-5 cover? If no such clause exists, give the closest real clause number. Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
near_miss | What does FAR 52.219-8 cover? If no such clause exists, give the closest real clause number. Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
near_miss | What does FAR 52.204-8 cover? If no such clause exists, give the closest real clause number. Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
near_miss | What does FAR 52.222-51 cover? If no such clause exists, give the closest real clause number. Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
near_miss | What does FAR 252.225-7043 cover? If no such clause exists, give the closest real clause number. Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
near_miss | What does FAR 52.215-2 cover? If no such clause exists, give the closest real clause number. Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
near_miss | What does FAR 52.216-19 cover? If no such clause exists, give the closest real clause number. Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
near_miss | What does FAR 52.225-2 cover? If no such clause exists, give the closest real clause number. Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
near_miss | What does FAR 52.232-33 cover? If no such clause exists, give the closest real clause number. Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
near_miss | What does FAR 52.242-2 cover? If no such clause exists, give the closest real clause number. Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
near_miss | What does FAR 52.203-7 cover? If no such clause exists, give the closest real clause number. Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
near_miss | What does FAR 52.209-7 cover? If no such clause exists, give the closest real clause number. Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
near_miss | What does FAR 52.222-42 cover? If no such clause exists, give the closest real clause number. Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
near_miss | What does FAR 52.225-12 cover? If no such clause exists, give the closest real clause number. Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
near_miss | What does FAR 252.203-7001 cover? If no such clause exists, give the closest real clause number. Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
obscure_real | A federal contract needs a clause covering preservation of drawings and data furnished under cost-reimbursement contracts. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
obscure_real | A federal contract needs a clause covering notification of ownership changes for defense contractors. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
obscure_real | A federal contract needs a clause covering requirements for time-and-materials contracts for commercial services. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
obscure_real | A federal contract needs a clause covering contractor use of interagency fleet management vehicles. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
obscure_real | A federal contract needs a clause covering restrictions on human trafficking in extraschedular services. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
obscure_real | A federal contract needs a clause covering duty-free entry requirements for government-furnished supplies. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
obscure_real | A federal contract needs a clause covering authorization for contractor use of government supply sources. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
obscure_real | A federal contract needs a clause covering requirements for value engineering change proposals. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
obscure_real | A federal contract needs a clause covering rules for progress payments based on costs incurred. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
obscure_real | A federal contract needs a clause covering notification requirements for contract performance delays. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
obscure_real | A federal contract needs a clause covering use of recovered materials in supply contracts. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
obscure_real | A federal contract needs a clause covering requirements for first article testing and approval. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
obscure_real | A federal contract needs a clause covering assignment of claims under defense contracts. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
obscure_real | A federal contract needs a clause covering restrictions on overtime premium payments. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
obscure_real | A federal contract needs a clause covering requirements for insurance on government installations. Which FAR or DFARS clause number applies? Reply in JSON: {"clause": "<ID>", "title": "<title>"}. | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
fake_topic | null | null |
near_miss | null | null |
near_miss | null | null |
near_miss | null | null |
near_miss | null | null |
near_miss | null | null |
near_miss | null | null |
near_miss | null | null |
near_miss | null | null |
near_miss | null | null |
near_miss | null | null |
FedProc-Constrained Results
Per-item outputs of a small LLM (Qwen2.5-1.5B-Instruct) asked to cite FAR/DFARS clause numbers, with and without a registry-constrained decoding grammar. Companion to fedproc-constrained (code, README, write-up).
Files
| File | What it is |
|---|---|
v2/prompts_v2.json |
the 75 v2 prompts: 30 fake topics, 15 real clauses, 15 absent numbers, 15 obscure real topics |
v2/runs_v2.json |
per-item outputs for 5 conditions (free, free + abstain prompt, enum grammar, enum grammar + NONE, post-hoc filter + retry): cited ID, outcome class, tokens/s, response text |
v2/v2_summary.json |
counts per kind and condition, Wilson 95% intervals, title-diversity check |
prompts.json, results.json |
v1 (60 prompts, 4 conditions). Superseded: see the correction below |
v2 result (2026-10-05)
Fabricated clause numbers on the 60 prompts with no single right clause: free generation 57/60 (95%), enum grammar 0/60. Good answers (the right clause, or NONE where none applies) on the 60 judged prompts: free 25%, grammar 28%, grammar + NONE 62% [49%, 73%]. But grammar + NONE answered NONE on all 30 prompts that name a clause number, the 15 real ones (wrongly) and the 15 absent ones (rightly): it refuses rather than discriminates. On the real-clause prompts "correct" means the number was copied from the prompt, and the titles are ungrounded (15 clauses produced 4 distinct titles in free generation, 6 under the grammar). The registry holds IDs only, so titles are not graded.
Correction to v1
The v1 files in this dataset were scored with two design errors and its original headline ("0% fabrication, 75% substitution") is retired: the "near-miss" prompts all named real clauses (so the grammar's 15/15 were correct, not substitutions), and the grammar had no abstain option, which forced 30 substitutions on fake topics. The v1 results.json is unchanged and is re-scored in the repo (scripts/rescore_v1.py).
Limits
One small model, 75 prompts, one prompt template per kind, one greedy run; the abstain wording probably drives the blanket refusals.
Citation
@software{fedprocconstrained2026,
author = {Raihan Sikder},
title = {FedProc-Constrained: what replaces a blocked hallucination},
year = {2026},
url = {https://github.com/raihan-js/fedproc-constrained}
}
- Downloads last month
- 230