--- license: mit language: - en pretty_name: PreAct-Bench task_categories: - text-classification - reinforcement-learning tags: - agents - tool-use - safety - world-models - benchmark - counterfactual size_categories: - 1K **Why two files?** `evidence[].value` is deliberately heterogeneous (boolean, > number or string). Arrow cannot infer a single column type from that, so the > Parquet copy stores every nested field as a JSON string and the JSONL keeps the > native structure. Use the JSONL when you need exact types: > `load_dataset("json", data_files="preact_bench.jsonl")`. ## Loading ```python from datasets import load_dataset ds = load_dataset("fahadhafeezofficial/preact-bench", split="train") test = ds.filter(lambda r: r["split"] == "test") ``` ## How labels are produced 1. A task is sampled from a fixed generator with a recorded seed. 2. A reference policy executes a trajectory in a deterministic tool sandbox. 3. At each step every candidate is forked: `fork(candidate)` returns `{success, harm, irreversible_harm, effects, state_digest}` without mutating the parent state. 4. Those fork results *are* the labels. A sample is re-verified on every build; 40/40 reproduced at release. No human annotation, no language-model judge, no post-hoc relabelling. ## Intended use Evaluating pre-action monitors, selective-risk gates and world models on decision-level, state-verified outcomes. Suitable for paired comparisons between policies that see the same state and candidate set. ## Out of scope - Real email/payment/file systems: the four families are simplified. - Multi-dimensional or long-horizon harm: harm is a scalar with an irreversibility flag. - Prevalence estimates: the generator balances exposed/unexposed states and reversible/irreversible actions, so rates will not transfer to real traffic without recalibration. - Languages other than English. ## Licence and provenance MIT. Generated by the CLSA repository's own code (`src/clsa/envs/`). No third-party data. All recipients, customers and orders are synthetic; no personal data is included. ## Citation ```bibtex @misc{hafeez2026preactbench, title = {PreAct-Bench: a deterministic benchmark of pre-action decision points}, author = {Hafeez, Fahad}, year = {2026}, note = {Newcastle University}, url = {https://huggingface.co/datasets/fahadhafeezofficial/preact-bench} } ```