# Post-Cutoff Judges: Prior Prejudice vs. Eventual Truth

This repository bundle contains the preregistered protocol, sanitized code, pinned dataset manifests, aggregate outputs, blind independent recompute, editorial figures, and LaTeX preprint for **Do AI judges track their own priors or eventual truth once training cutoffs separate the two?**

- **Blog note:** [/post-cutoff-judges-track-priors/](/post-cutoff-judges-track-priors/)
- **LaTeX preprint:** [preprint.pdf](preprint.pdf) · [preprint.tex](preprint.tex)
- **Series & pilot:** [Do AI judges track truth, or their own beliefs?](/ideas/judges-that-track-truth/) · [pilot v0 bundle](/research/judges-that-track-truth/README.md)

---

## Core Finding

Across `300` binary forecasting questions from [ForecastBench](https://arxiv.org/abs/2409.19839) resolved strictly **after** model cutoffs (`Corpus-2026`, `2026-02-05` to `2026-11-11`), three local open-weight instruction-tuned judges (`Qwen/Qwen2.5-1.5B-Instruct`, `HuggingFaceTB/SmolLM2-1.7B-Instruct`, and `Qwen/Qwen3-4B-Instruct-2507`) hold essentially random pre-resolution priors (`47.7%–50.7%` accuracy; AUROC `0.488–0.500` vs. crowd market AUROC `0.760`). This natural split creates `148–157` **Wrong-Prior** items per judge where belief and eventual truth pull in opposite directions.

Under every prompt intervention (`plain`, `instructed` to ignore prior belief, Popperian `hard_to_vary`, order-swapped pairwise comparison, and reversed `1–5` scale), all three judges reward alignment with their own prior ($\hat{\beta}_{\text{prior}} = +0.265\text{ to }+0.402$ under `instructed` OLS) and show zero positive signal for eventual truth ($\hat{\beta}_{\text{truth}} = -0.038\text{ to }-0.024$). On real post-cutoff human superforecaster rationales and `2026` Manifold comments with probabilities redacted (`[PROB]`), Wrong-Prior truth recovery sits at chance (`47.7%–53.6%`), while scores correlate consistently with argument length (`r = +0.16` to `+0.41`).

*(Citation note: Zahraei et al., *Prior Beliefs Prejudice LLM-as-Judge*, ACL 2026 Findings, was consulted via web search summary only; the full PDF was not read.)*

---

## What Is in This Bundle

| Path | Contents |
|---|---|
| [`preprint.pdf`](preprint.pdf) · [`preprint.tex`](preprint.tex) | Full technical preprint and LaTeX source with embedded vector figures under `figures/`. |
| [`PLAN.md`](PLAN.md) | Frozen evaluation plan written before scoring any real item, including decision rules and anticipated limits. |
| [`RESULT.md`](RESULT.md) | Complete results table across Arms 1, 2, and 3 plus measurement diagnostics and recompute diff. |
| [`MANIFEST_CORPORA.json`](MANIFEST_CORPORA.json) | Exact item counts and SHA-256 digests of the built evaluation JSONLs. |
| [`INPUTS_sha256.txt`](INPUTS_sha256.txt) | Pinned SHA-256 digests of all `ForecastBench` commit `86b92ba` JSONs and model revisions. |
| [`code/`](code/) | Self-contained scripts: `00_dryrun_fetch_and_audit.py` through `06_make_figures.py`, `judge_utils.py`, and `text_baseline.py`. |
| [`out/`](out/) | Aggregate JSON outputs: `corpus_audit.json`, `arm1_priors.json`, `arm2_results.json`, `arm3_results.json`, `verdict_summary.json`, and runtime metadata. |
| [`independent/`](independent/) | Blind independent recompute script (`recompute.py`), report (`REVIEW.md`), and verified output (`RECOMPUTED.json`) matching `1,101 / 1,110` fields within `<= 0.002`. |

Raw scraped third-party Manifold comment texts are excluded from this public archive; `code/00_dryrun_fetch_and_audit.py` and `code/01_build_corpora.py` reconstruct the inputs directly from pinned `ForecastBench` commits (`CC-BY-SA-4.0`) and the public read-only Manifold API (`api.manifold.markets/v0/`) with strict pre-resolution timestamp guards (`createdTime < min(freeze_ms, resolution_ms - 7d)`).

---

## Reproducing Locally

```bash
python3 -m venv .venv && source .venv/bin/activate
pip install torch transformers huggingface_hub numpy scipy scikit-learn

# 1. Fetch pinned ForecastBench JSONs (commit 86b92ba), Manifold snapshots, and HF revisions
python3 code/00_dryrun_fetch_and_audit.py

# 2. Build Corpus-2026 (N=300), Arm 2 (1,200 pre-cutoff arguments), and Arm 3A/3B human sets
python3 code/01_build_corpora.py

# 3. Evaluate Arm 1 priors, Arm 2 protocols, and Arm 3 human pairs (batch_size=1)
python3 code/02_eval_priors.py
python3 code/03_eval_arm2.py
python3 code/04_eval_arm3.py

# 4. Compute statistical summaries and run independent verification + figure export
python3 code/05_analyse.py
python3 independent/recompute.py
python3 code/06_make_figures.py
```

---

## Invitation for Future Work & Easy Entry Points to Extend

I explicitly invite independent replications, refutations, and extensions. Five low-friction ways to push past this baseline:

1. **Test frontier & reasoning API judges (`70B+`, closed APIs, thinking models):** Edit the `MODELS` list and add a logprob/sampling adapter alongside `next_logprobs()` in [`code/judge_utils.py`](code/judge_utils.py) to test whether frontier judges separate eventual truth from prior belief — and whether chain-of-thought reasoning increases or reduces prior rationalization.
2. **Sweep intermediate open-weight scales (`7B–72B`):** Add larger `Qwen2.5`, `Qwen3`, or `Llama-3` checkpoints to `MODELS` in [`code/judge_utils.py`](code/judge_utils.py) to map where the `1.7B -> 4B` instruction-following jump on reversed scales (`scale_reversal`) saturates, and whether a higher threshold unlocks truth signal.
3. **Replace synthetic Arm 2 pairs with expert-written explanations:** `Qwen2.5-1.5B-Instruct` generated fluent Weak arguments (`delta_qual <= 0` on two models). Drop human-crafted strong-vs-weak forecasting explanations matching the `arm2_arguments.jsonl` schema into `data/` before running [`code/03_eval_arm2.py`](code/03_eval_arm2.py).
4. **Causal belief editing instead of natural Wrong-Prior splits:** Use Arm 1's polarity-balanced `l_prior` scores to select neutral future claims, fine-tune or steer the model's belief on half of them via LoRA, and re-run [`code/03_eval_arm2.py`](code/03_eval_arm2.py) to obtain direct causal leverage over prior belief.
5. **Decompose `hard_to_vary` from free-form rating into atomic checks:** Because `Qwen3-4B-2507` flipped `delta_qual` strongly positive (`+0.0899`) under `hard_to_vary` while keeping `+0.4058` prior slope, replace single scalar ratings in [`code/03_eval_arm2.py`](code/03_eval_arm2.py) with structured binary sub-questions (identifying free parameters vs. falsifiable mechanisms) before aggregating scores.
