Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    CastError
Message:      Couldn't cast
case_id: string
axes: list<item: string>
  child 0, item: string
group: struct<race: string, payer: string, sex: string, language: string>
  child 0, race: string
  child 1, payer: string
  child 2, sex: string
  child 3, language: string
score: double
label: bool
action: string
fair_reference: string
disadvantaged_cell: bool
seed: int64
disadvantaged: bool
axis: string
delta: double
n_per_group: int64
cell: string
to
{'case_id': Value('string'), 'cell': Value('string'), 'axis': Value('string'), 'group': {'synthetic': Value('string')}, 'score': Value('float64'), 'label': Value('bool'), 'action': Value('string'), 'fair_reference': Value('string'), 'disadvantaged': Value('bool'), 'delta': Value('float64'), 'n_per_group': Value('int64'), 'seed': Value('int64')}
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
              case_id: string
              axes: list<item: string>
                child 0, item: string
              group: struct<race: string, payer: string, sex: string, language: string>
                child 0, race: string
                child 1, payer: string
                child 2, sex: string
                child 3, language: string
              score: double
              label: bool
              action: string
              fair_reference: string
              disadvantaged_cell: bool
              seed: int64
              disadvantaged: bool
              axis: string
              delta: double
              n_per_group: int64
              cell: string
              to
              {'case_id': Value('string'), 'cell': Value('string'), 'axis': Value('string'), 'group': {'synthetic': Value('string')}, 'score': Value('float64'), 'label': Value('bool'), 'action': Value('string'), 'fair_reference': Value('string'), 'disadvantaged': Value('bool'), 'delta': Value('float64'), 'n_per_group': Value('int64'), 'seed': Value('int64')}
              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 1879, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

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.

case_id
string
cell
string
axis
string
group
dict
score
float64
label
bool
action
string
fair_reference
string
disadvantaged
bool
delta
float64
n_per_group
int64
seed
int64
inj-0000000
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.3563
false
allow
allow
false
0
50
0
inj-0000001
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.5248
true
deny
deny
false
0
50
0
inj-0000002
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.1763
false
allow
allow
false
0
50
0
inj-0000003
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.7681
true
deny
deny
false
0
50
0
inj-0000004
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.123
false
allow
allow
false
0
50
0
inj-0000005
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.2188
false
allow
allow
false
0
50
0
inj-0000006
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.6561
true
deny
deny
false
0
50
0
inj-0000007
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.4835
true
allow
deny
false
0
50
0
inj-0000008
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.5675
false
deny
allow
false
0
50
0
inj-0000009
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.3264
false
allow
allow
false
0
50
0
inj-0000010
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.6175
true
deny
deny
false
0
50
0
inj-0000011
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.0952
false
allow
allow
false
0
50
0
inj-0000012
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.4533
false
allow
allow
false
0
50
0
inj-0000013
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.4257
false
allow
allow
false
0
50
0
inj-0000014
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.4836
false
allow
allow
false
0
50
0
inj-0000015
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.3215
false
allow
allow
false
0
50
0
inj-0000016
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.7013
true
deny
deny
false
0
50
0
inj-0000017
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.5076
true
deny
deny
false
0
50
0
inj-0000018
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.1698
false
allow
allow
false
0
50
0
inj-0000019
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.483
false
allow
allow
false
0
50
0
inj-0000020
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.4089
true
allow
deny
false
0
50
0
inj-0000021
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.6597
true
deny
deny
false
0
50
0
inj-0000022
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.7037
true
deny
deny
false
0
50
0
inj-0000023
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.2932
false
allow
allow
false
0
50
0
inj-0000024
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.8619
true
deny
deny
false
0
50
0
inj-0000025
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.3062
false
allow
allow
false
0
50
0
inj-0000026
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.5891
true
deny
deny
false
0
50
0
inj-0000027
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.4793
false
allow
allow
false
0
50
0
inj-0000028
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.4718
true
allow
deny
false
0
50
0
inj-0000029
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.2905
false
allow
allow
false
0
50
0
inj-0000030
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.0506
false
allow
allow
false
0
50
0
inj-0000031
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.2726
false
allow
allow
false
0
50
0
inj-0000032
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.1979
false
allow
allow
false
0
50
0
inj-0000033
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.7048
true
deny
deny
false
0
50
0
inj-0000034
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.3305
false
allow
allow
false
0
50
0
inj-0000035
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.7253
true
deny
deny
false
0
50
0
inj-0000036
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.2744
false
allow
allow
false
0
50
0
inj-0000037
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.5363
true
deny
deny
false
0
50
0
inj-0000038
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.5445
false
deny
allow
false
0
50
0
inj-0000039
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.1598
false
allow
allow
false
0
50
0
inj-0000040
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.4825
false
allow
allow
false
0
50
0
inj-0000041
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.5804
true
deny
deny
false
0
50
0
inj-0000042
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.3148
false
allow
allow
false
0
50
0
inj-0000043
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.5664
false
deny
allow
false
0
50
0
inj-0000044
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.102
false
allow
allow
false
0
50
0
inj-0000045
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.193
false
allow
allow
false
0
50
0
inj-0000046
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.1356
false
allow
allow
false
0
50
0
inj-0000047
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.011
false
allow
allow
false
0
50
0
inj-0000048
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.4937
false
allow
allow
false
0
50
0
inj-0000049
delta0.00_n50_seed0
synthetic
{ "synthetic": "ref" }
0.4318
false
allow
allow
false
0
50
0
inj-0000050
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.4004
false
allow
allow
true
0
50
0
inj-0000051
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.276
false
allow
allow
true
0
50
0
inj-0000052
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.6894
true
deny
deny
true
0
50
0
inj-0000053
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.8598
true
deny
deny
true
0
50
0
inj-0000054
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.4045
false
allow
allow
true
0
50
0
inj-0000055
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.3899
false
allow
allow
true
0
50
0
inj-0000056
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.4145
true
allow
deny
true
0
50
0
inj-0000057
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.2321
false
allow
allow
true
0
50
0
inj-0000058
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.518
false
deny
allow
true
0
50
0
inj-0000059
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.3784
false
allow
allow
true
0
50
0
inj-0000060
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.2605
false
allow
allow
true
0
50
0
inj-0000061
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.4229
false
allow
allow
true
0
50
0
inj-0000062
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.9529
true
deny
deny
true
0
50
0
inj-0000063
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.6914
true
deny
deny
true
0
50
0
inj-0000064
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.7028
true
deny
deny
true
0
50
0
inj-0000065
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.559
false
deny
allow
true
0
50
0
inj-0000066
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.6004
true
deny
deny
true
0
50
0
inj-0000067
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.675
true
deny
deny
true
0
50
0
inj-0000068
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.5828
true
deny
deny
true
0
50
0
inj-0000069
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.5611
true
deny
deny
true
0
50
0
inj-0000070
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.4037
false
allow
allow
true
0
50
0
inj-0000071
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.3636
false
allow
allow
true
0
50
0
inj-0000072
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.5273
true
deny
deny
true
0
50
0
inj-0000073
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.5011
false
deny
allow
true
0
50
0
inj-0000074
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.437
false
allow
allow
true
0
50
0
inj-0000075
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.5068
false
deny
allow
true
0
50
0
inj-0000076
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.5463
true
deny
deny
true
0
50
0
inj-0000077
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.4426
true
allow
deny
true
0
50
0
inj-0000078
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.5436
true
deny
deny
true
0
50
0
inj-0000079
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.5759
true
deny
deny
true
0
50
0
inj-0000080
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.2186
false
allow
allow
true
0
50
0
inj-0000081
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.4335
false
allow
allow
true
0
50
0
inj-0000082
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.5073
true
deny
deny
true
0
50
0
inj-0000083
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.8289
true
deny
deny
true
0
50
0
inj-0000084
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.5468
false
deny
allow
true
0
50
0
inj-0000085
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.6654
true
deny
deny
true
0
50
0
inj-0000086
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.6329
true
deny
deny
true
0
50
0
inj-0000087
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.4373
false
allow
allow
true
0
50
0
inj-0000088
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.6233
true
deny
deny
true
0
50
0
inj-0000089
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.46
false
allow
allow
true
0
50
0
inj-0000090
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.2122
false
allow
allow
true
0
50
0
inj-0000091
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.5188
true
deny
deny
true
0
50
0
inj-0000092
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.3461
false
allow
allow
true
0
50
0
inj-0000093
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.6446
true
deny
deny
true
0
50
0
inj-0000094
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.6614
true
deny
deny
true
0
50
0
inj-0000095
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.8205
true
deny
deny
true
0
50
0
inj-0000096
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.2371
false
allow
allow
true
0
50
0
inj-0000097
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.2985
false
allow
allow
true
0
50
0
inj-0000098
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.196
false
allow
allow
true
0
50
0
inj-0000099
delta0.00_n50_seed0
synthetic
{ "synthetic": "dis" }
0.7369
true
deny
deny
true
0
50
0
End of preview.

EquityBench

An out-of-band subgroup fairness monitor that audits the guardrail's own deny and escalate decisions.

EquityBench is the benchmark corpus for Equity-Aware Enforcement: When the Guardrail Itself Becomes a Fairness Hazard, the qufair module of the QUOKKAGUARD program. It ships with the qufair repository, which contains the qfire gateway layer under test, the experiment harness, and the paper.

Synthetic, deterministic (seed 42) corpora: equitybench/matched.jsonl (1003 matched-counterfactual clinical requests, 59 templates x 5 protected axes, roughly 15% genuinely out-of-scope), matched_named.jsonl (real distinctive-name rendering), vulnerable.jsonl (60 scenarios across four vulnerable populations), intersectional.jsonl (attribute-pair records with a 2x2 antisymmetric interaction), and the gitignored ~45MB injected.jsonl (180,000 decision traces with injected disparity over a delta x per-group-N x seed grid); external/compas.jsonl holds 6,130 ProPublica COMPAS defendants converted to the monitor's decision-stream schema.

All data are synthetic. No real patient data or protected health information (PHI) is included; clinical content is generated from templates with fixed seeds.

Files

File Size Rows
equitybench/injected.jsonl 44 MB 180,000 rows
equitybench/intersectional.jsonl 810 KB 3,750 rows
equitybench/matched.jsonl 265 KB 1,003 rows
equitybench/matched_named.jsonl 104 KB 354 rows
equitybench/vulnerable.jsonl 15 KB 60 rows
external/compas.jsonl 664 KB 6,172 rows

Record schemas

  • equitybench/injected.jsonl: case_id, cell, axis, group, score, label, action, fair_reference, disadvantaged, delta, n_per_group, seed
  • equitybench/intersectional.jsonl: case_id, axes, group, score, label, action, fair_reference, disadvantaged_cell
  • equitybench/matched.jsonl: case_id, set_id, axis, group, prompt, chain, fair_reference
  • equitybench/matched_named.jsonl: case_id, set_id, axis, group, prompt, chain, fair_reference, name_source
  • equitybench/vulnerable.jsonl: case_id, tag, group, prompt, unsafe_action, safe_action, is_unsafe_default
  • external/compas.jsonl: case_id, group, action, label, score

How it was generated

The corpus is produced by the generator in the paper repository and is fully deterministic (fixed seeds), so it can be regenerated byte-for-byte.

# from the qufair repository root (deterministic seeds)
python3 scripts/010-equity/gen_equity.py   # rebuilds equitybench/ incl. the untracked injected.jsonl; python3 scripts/010-equity/prep_external.py re-downloads and converts COMPAS

Intended use

Evaluating the equity enforcement layer of a clinical-agent security gateway (HAARF control C7): A guardrail that denies or escalates clinical agent actions unevenly across protected groups is itself a fairness hazard, distinct from and invisible to the agent's own bias.

The experiments that consume it (E-series in the paper) are reproduced from the repository:

git clone https://github.com/quome-cloud/qufair
cd qufair
cargo build --release

then follow the Reproduce the experiments section of its README.

Citation

This benchmark was built to evaluate a control of the Healthcare AI Agents Regulatory Framework (HAARF), the source framework for the QUOKKAGUARD program. Please cite both the paper and HAARF:

@unpublished{schwoebel2026qufair,
  author = {Schwoebel, Jim and {QUOKKAGUARD Contributors}},
  title  = {Equity-Aware Enforcement: When the Guardrail Itself Becomes a Fairness Hazard},
  note   = {Preprint. Quome, QUOKKAGUARD program (qufair module)},
  year   = {2026},
  url    = {https://github.com/quome-cloud/qufair}
}

@unpublished{schwoebel2026haarf,
  author = {Schwoebel, Jim and Frasch, Martin and Spalding, Art and Sewell, Ed and Englert, Phil and Halpert, Ben and Overbay, Collin and Semenec, Ingrida and Shor, Joel},
  title  = {{HAARF}: Healthcare {AI} agents regulatory framework --- a comprehensive security verification standard for autonomous {AI} systems in clinical environments},
  note   = {medRxiv Preprint},
  year   = {2026},
  month  = {April},
  doi    = {10.64898/2026.04.09.26350519},
  url    = {https://www.medrxiv.org/content/10.64898/2026.04.09.26350519v1}
}

License

Apache License 2.0. Copyright (c) 2026 Quome, Inc.

Downloads last month
3