--- license: cc-by-sa-4.0 language: - en pretty_name: Bar Exam QA Hints size_categories: - 1K | | `run1/` | First full pipeline run over all 1,195 questions, sharded across three Colab sessions. | | `ai_generated/` | Hints written directly by chat assistants, one file per assistant (see below). | ## `ai_generated/` | File | Written by | Rows | Mean words (helpful / unhelpful) | `needs_review = true` | |---|---|---|---|---| | `gpt_generated.jsonl` | ChatGPT | 1,195 | 17.2 / 17.3 | 672 | | `copilot_generated.jsonl` | Microsoft Copilot | 1,195 | 18.2 / 16.1 | 424 | All rows in both files have `unhelpful_kind = "uninformative"`, no duplicate `idx` values, and no empty hints. ### Inside `run1/` #### `run1/gen/`: raw generation output (one file per Colab shard) | File | What it is | |---|---| | `gen_shard_0.jsonl` | Hints generated for shard 0 of the questions (Colab account 1) | | `gen_shard_1.jsonl` | Hints generated for shard 1 (Colab account 2) | | `gen_shard_2.jsonl` | Hints generated for shard 2 (Colab account 3) | **Why it exists:** the questions were split into three shards so three free Colab accounts could generate hints in parallel. Each shard writes to its own file, so an interrupted session can resume where it stopped. This is unedited model output. **Do not use it directly in experiments.** #### `run1/final/`: merged and filtered output | File | Rows | What it is | Use | |---|---|---|---| | `final_full.jsonl` | 886 | All shards merged. Keeps every generated row and adds two audit columns: `clean` (true/false) and `flags` (the checks the row failed). | Audit trail: shows which rows were dropped and why. | | `final_clean.jsonl` | 807 | The rows of `final_full` with `clean = true`. The 79 dropped rows failed at least one check: hint too close to an option's wording (helpful 51, unhelpful 15), hint lengths too far apart (40), or hints too similar to each other (1). | First filtered version. Superseded by v2. | | `final_clean_v2.jsonl` | 738 | `final_clean` with 69 more rows removed, where the unhelpful hint was a near-paraphrase of the helpful one (average word overlap between the two hints 0.43, against 0.15 in the rows kept). The hint text is unchanged. | **Use this file for the confidence experiments.** | **Why it exists:** turns the raw shard output into one filtered dataset. Each filtering stage is saved as its own file so every step can be traced or redone. **Notes** - `final_full` covers 886 of the 1,195 source questions. The other 309 have no generated row in run1. - Columns in the clean files: `uid`, `question`, `options`, `correct_option`, `helpful_hint`, `unhelpful_hint`, `negative_type`. There is no `idx` or `split` column, so use `uid` to join back to `prep/`. - `final_clean_v2` has 391 `easy` and 347 `hard` negatives. The v2 filter removed mostly `hard` rows (53 of 69), because same-area hints are the ones most likely to paraphrase each other. ## Fields | Field | Description | |---|---| | `idx` | Original example ID | | `split` | `train`, `validation`, or `test` | | `question` | `prompt` + `"\n\n"` + `question`, leaving out whichever part is empty | | `options` | The four options, A–D | | `correct_option` | `A`, `B`, `C`, or `D` | | `helpful_hint` | Names the legal issue or rule. Never states the answer, an option letter, or wording copied from an option. | | `unhelpful_hint` | Same style and length (±15%) as the helpful hint, about a different rule | | `negative_type` | `easy`: rule from a different area of law. `hard`: same area of law, different doctrine. Alternates by row position, about 50/50. | | `unhelpful_kind` | `uninformative` (gives no information favoring any option) | | `needs_review` | `true` when `gold_passage` is empty or unrelated, so the hint relies on general knowledge of the rule | | `source` | Which generator wrote the row | ## Limitations - No lawyer has reviewed the hints. - The `needs_review` rate differs a lot between generators, so the generators applied the flag differently. Do not treat it as a measure of quality. - Some source rows are missing their shared fact pattern or have a mismatched `gold_passage`. - The hints follow the source answer key as given. ## License CC BY-SA 4.0, inherited from `reglab/barexam_qa`. ## Citation Please cite the source benchmark: *A Reasoning-Focused Legal Retrieval Benchmark* (Zheng et al., CS&Law 2025) — https://reglab.github.io/legal-rag-benchmarks/