# Public Research Archive: When AI Judge Scores Invert, Inflate, and Mis-Pool

 Companion archive for [`/when-ai-judge-scores-invert-and-inflate/`](https://zidingz.com/when-ai-judge-scores-invert-and-inflate/) and the [LaTeX preprint (`preprint.pdf`)](./preprint.pdf) ([`preprint.tex`](./preprint.tex)).

## Contents

- `preprint.pdf` / `preprint.tex` — Self-contained paper with Propositions 1–2, empirical tables (`C1`–`C4`), and vector figures.
- `PLAN.md` / `RESULT.md` — Pre-registered hypotheses (`H1`–`H3`, `C4`), SHA-256 input locks, and verified results.
- `code/judge_diagnostics.py` & `code/test_judge_diagnostics.py` — Zero-dependency Python diagnostic suite (`4/4` unit tests) implementing:
  1. `lincoln_petersen_audit` (exact conditional covariance gap + zero-label pass-overlap lift calibration),
  2. `provenance_scaffolding_audit` (generator provenance & surface scaffolding decomposition),
  3. `rationale_decoupling_audit` (`RS` vs `RA` bare-answer rejection vs supplied-rationale sycophancy),
  4. `safe_pool_center` & `pool_centering_audit` (cancellation-safe max-pivot centering).
- `code/score_hf_mps.py`, `code/run_c1_c4_offline.py`, `code/analyze_flagship.py` — Deterministic single-token scoring and aggregation pipeline.
- `out/RESULTS.json`, `out/c1_c4_offline.json`, `out/INPUT_MANIFEST.json` — Complete aggregate metrics and SHA-256 item manifests (no raw third-party texts redistributed).
- `independent/REVIEW.md`, `independent/recompute.py`, `independent/RECOMPUTED.json` — Blind two-stage independent verification (`0.0` diff on `490` `C2`/`C3` metrics; `<= 1.11e-16` on `324` `C1` cells).

## Quickstart

```bash
python3 -m unittest discover -s code -p "test_*.py"
python3 code/judge_diagnostics.py selftest
```

## Four Low-Friction Ways to Extend or Falsify This Work

1. **Score frontier reasoning judges on the frozen `480`-item `C2` & `240`-item `C3` manifests:** Reconstruct the exact public HuggingFace rows pinned by SHA-256 in `out/INPUT_MANIFEST.json` (`allenai/reward-bench`, `allenai/reward-bench-2`) and test whether `o3-mini`, `Claude`, `Gemini`, or `DeepSeek-R1` eliminate the `-30` pp `human`-vs-`GPT-4` provenance penalty and unaided `arm A` chance collapse.
2. **Audit your own multi-judge filter with `lincoln_petersen_audit`:** Pass any two binary judge pass masks `(pass_a, pass_b)` to `code/judge_diagnostics.py` to compute unlabeled overlap lift before trusting capture-recapture union recall.
3. **Fit selectivity-indexed overlap curves across `q in [0.05, 0.50]`:** Test whether replacing single-scalar `alpha = 0.4212` with `alpha(q)` removes the `-0.077` cross-benchmark over-correction on `RB2`.
4. **Drop `safe_pool_center` into RLHF / GRPO group-advantage normalizers:** Test tie preservation under skewed importance weights or mixed-precision (`bf16`/`fp32`) reward baselines.
