# Frozen Experiment Plan: Pre-Nov-29 `Hard to Vary` Rubric Audit, Unseen Benchmark (`Q4`), & Specificity-Stuffing Gaming (`Q6`)

- **Seed / Study ID:** `20261123-hard-to-vary-pre-run-audit`
- **Tracker Issue:** `#79` (`Owner pick: yes`, `2026-11-23T22:20:19-08:00`)
- **Governance:** `AGENTS.md` (`934fd680`), `PRESELECTION.md` (`d8678e5d`), D-063 dry-run enforced before execution.
- **Uncontamination Rule (STRICT):** `items-v0.csv` (`bfad6bef`) is **never** sent to any LLM scorer in this study so the prospective post-Nov-29 human+model test remains completely untouched. Part A inspects `items-v0.csv` using deterministic Python/CPU text features and Monte Carlo simulations only. All LLM inference runs strictly on our disjoint `HTV-Unseen-v1` benchmark (`inputs/htv_unseen_blind.csv`, SHA `539b961e`).

---

## Part A: Zero-LLM Methodological & Surface Audit of `v0` (`items-v0.csv`)

### A1. Surface-Only Leave-One-Pair-Out (LOPO) Classifier (`H1`)
On `items-v0.csv` (60 items, 30 pairs from `key-v0.csv`):
- Construct strictly **4 deterministic surface features** (zero semantic embeddings, zero LLM calls):
  1. `word_count`: `len(text.split())`
  2. `mean_word_len`: mean alphanumeric character length of whitespace tokens
  3. `causal_connector_count`: count of regex matches `r"(?i)(,\s*so\b|\bbecause\b|\btherefore\b|\bso that\b|\buntil\b|\bwhereas\b)"`
  4. `comma_semicolon_count`: `text.count(",") + text.count(";")`
- Run **30-fold Leave-One-Pair-Out (`GroupKFold(30)`)** `StandardScaler + LogisticRegression(C=1.0, max_iter=1000)` predicting `better` vs `worse`. On each held-out pair `(b, w)`, score `pair_acc = 1` if `p(b) > p(w)`, `0` if `p(b) <= p(w)` (ties count as misses, matching `v0` rule 6).
- Also run a descriptive LOPO `(1,2)`-gram `TfidfVectorizer(min_df=2) + LogisticRegression(C=1.0)` baseline and compute an exact 2,000-draw pair-label sign-flip permutation p-value on the 4-feature LOPO accuracy.

### A2. Statistical Power & Range-Restriction Audit (`N = 30` pairs, `60` items)
- **Krippendorff's Ordinal $\alpha$ Definition (canonical Krippendorff 2011 coincidence form, exact equation frozen for blind recompute):**
  For valid columns $u$ ($m_u \ge 2$ non-missing ratings), accumulate coincidence $o_{c,k} = \sum_u \frac{\#\{(a,b): a \ne b, x_{au}=c, x_{bu}=k\}}{m_u - 1}$, marginal $n_c = \sum_k o_{c,k}$, total $n = \sum_c n_c$, and ordinal squared distance $\delta^2_{\text{ord}}(c, k) = \left(\sum_{g=\min(c,k)}^{\max(c,k)} n_g - \frac{n_c + n_k}{2}\right)^2$ ($0$ if $c=k$). Then $\alpha = 1 - \frac{D_o}{D_e}$ where $D_o = \frac{1}{n}\sum_{c,k} o_{c,k}\delta^2_{\text{ord}}(c,k)$ and $D_e = \frac{1}{n(n-1)}\sum_{c,k} n_c n_k \delta^2_{\text{ord}}(c,k)$.
- **Gwet's Ordinal $AC_2$ (quadratic weights):** $w_{c,k} = 1 - ((c-k)/4)^2$, $p_a$ average pairwise weight across $u$, $p_e = \frac{\sum w}{20}\sum_{c=1}^5 \pi_c(1-\pi_c)$, $AC_2 = (p_a - p_e)/(1 - p_e)$.
- **Monte Carlo Power Simulation (2,000 draws, `seed=0`, 3 humans + 1 model on 60 items in 30 pairs):**
  Simulate paired human–model rating matrices across true human–human reliability $\sigma_H = 0.55$ and model degradation regimes (`null`, `mild` $\sigma_M=0.85$, `moderate` $\sigma_M=1.10$, `severe` $\sigma_M=1.50$, and `bias+noise`). Measure:
  1. Rejection rate of the `v0` fail rule (`mean_alpha(model, H) - mean_alpha(H, H) < -0.10` AND 1,000-cluster-bootstrap 95% CI upper bound `< 0`).
  2. Within-half $\alpha$ collapse rate ($\alpha < 0.25$) when `better` ratings concentrate 85% in `{4, 5}` despite $\ge 80\%$ within-1 agreement (`Gwet AC2 >= 0.80`).
- **Qualitative Rubric & Item Audit:** Inspect `items-v0.csv` & `can-hard-to-vary-be-scored.md` for structural edge cases (Anchor 1 vs Anchors 2–5 orthogonality, Anchor 2 clause-matching ambiguity, shared quantities like `10 metres` in `E24`/`E33`, factual-falsehood coupling in `E03`/`E22` Uranus and `E26`/`E42` light speed).

---

## Part B: Disjoint `HTV-Unseen-v1` Multi-Lab Evaluation & Gaming Study (`Q4` & `Q6`)

### B1. Benchmark (`inputs/htv_unseen_blind.csv`, 180 items = 36 phenomena x 5 arms)
36 invented non-textbook phenomena across 6 domains (6 each: `astro_optics`, `fluid_thermal`, `ecology_cells`, `epidemiology_toxins`, `materials_chem`, `markets_auctions`). Every phenomenon has 5 arms satisfying `words(tight_short) + 3 <= words(easy_long)` and `words(easy_long) + 3 <= words(specificity_stuffed)`:
- `tight_short` (16–19 words): tightly coupled causal mechanism.
- `easy_long` (22–26 words): vague/uncoupled mechanism, **strictly longer than `tight_short` on all 36/36 phenomena** (word-count baseline accuracy = `0.0%`).
- `specificity_stuffed` (29–34 words): `easy_long` + 3 uncoupled concrete numerical specifiers (e.g. `14.2 K`, `3.7 percent`, `18.4 hour`) doing zero deductive work.
- `postulate_law` (13–21 words): empirical regularity restated as an abstract principle without mechanism.
- `opposite_compatible` (18–25 words): disposition consistent with either outcome sign (Anchor 1 control).

### B2. Models & Inference Envelope (`ser5` offline containers)
Three distinct open-weight model families (Q4_K_M GGUF via `ghcr.io/ggml-org/llama.cpp:server`, `/app/llama-server`, `--cpus=6 --memory=6g --network=none`, `temperature=0.0`, `top_k=1`, `seed=0`, protocol `max_tokens`: `P_naive=48`, `P_v0=128`, `P_counterfactual=220`):
1. `qwen3-4b`: `unsloth/Qwen3-4B-Instruct-2507-GGUF@a06e946bb6b655725eafa393f4a9745d460374c9` (`Qwen3-4B-Instruct-2507-Q4_K_M.gguf`)
2. `mistral-7b`: `bartowski/Mistral-7B-Instruct-v0.3-GGUF@61fd4167fff3ab01ee1cfe0da183fa27a944db48` (`Mistral-7B-Instruct-v0.3-Q4_K_M.gguf`)
3. `llama3-3b`: `bartowski/Llama-3.2-3B-Instruct-GGUF@5ab33fa94d1d04e903623ae72c95d1696f09f9e8` (`Llama-3.2-3B-Instruct-Q4_K_M.gguf`)

### B3. Three Evaluation Protocols (180 items x 3 protocols x 3 models = 1,620 calls)
Each call sees exactly one phenomenon and one explanation (blind to arm name).
1. **`P_naive` (Missing-rubric baseline):** Asks how good the explanation is from 1 (very poor) to 5 (excellent) without mentioning "hard to vary" or free details. Final line: `Score: <1-5>`.
2. **`P_v0` (Verbatim `v0` rubric):** Uses the exact rubric instructions and 1–5 table from `can-hard-to-vary-be-scored.md`. Outputs: `Variation: <best variation or none>` then `Score: <1-5>`.
3. **`P_counterfactual` (Two-Step Counterfactual Operationalization Repair):** Instructs the model to (1) name up to 2 causal/structural details and 1 specific number/qualifier if present, proposing a concrete substitution for each, (2) label each `[FREE]` (still accounts for the exact observation) or `[BOUND]` (fails or flips the observation), and (3) assign `Score: <1-5>` strictly by decision rule (`1` if accounts for opposite observation; `2` if any specific number/detail is `[FREE]` or most details `[FREE]`; `3` if a central cause/agent/mechanism is `[FREE]`; `4` if only a minor non-arbitrary quantity can shift slightly; `5` if all tested substitutions are `[BOUND]`). Outputs: structured lines ending with `Score: <1-5>`.
- Score extraction regex (last match in response): `r"(?im)^\s*(?:\*\*)?Score(?:\*\*)?\s*:\s*([1-5])\b"`, fallback `r"(?i)\bScore\s*[:=]\s*([1-5])\b"`. Any response without a valid 1–5 match is recorded as `null` (never imputed); parse rate `< 90%` triggers re-plan/diagnosis.

---

## Frozen Hypotheses & Quantitative Verdict Rules

| ID | Hypothesis | `supported` (Confirmed) | `refuted` (Disproved) | `inconclusive` / `mixed` |
|---|---|---|---|---|
| **H1** | `v0` surface shortcut floor (0 LLMs) | 4-feature LOPO pair accuracy on `items-v0.csv` `>= 83.3%` (`>= 25/30`, ties=miss, permutation $p < 0.01$) | LOPO pair accuracy `<= 76.7%` (`<= 23/30`) | `77%`–`83%` (`24/30`) or $p \ge 0.01$ |
| **H2** | Unfamiliar length-reversed survival (Q4) | Under `P_v0` on `HTV-Unseen-v1`, `>= 2` of 3 models hit `tight_short > easy_long` pair acc `>= 80.0%` (`>= 29/36`, ties=miss) AND 3-model pooled Krippendorff $\alpha \ge 0.60$ on the 108 anchored items (`tight_short`, `easy_long`, `opposite_compatible`) | `< 2` models reach `75.0%` (`27/36`) OR pooled anchored $\alpha < 0.50$ | Otherwise (e.g. `>= 75%` without meeting both thresholds) |
| **H3** | Specificity-stuffing gaming (Q6) | Under `P_v0`, in `>= 2` of 3 models: `mean(score(specificity_stuffed) - score(easy_long)) >= +0.30` with 2,000-phenomenon-bootstrap 95% CI lower bound `> 0`, OR `tight_short > specificity_stuffed` pair acc drops `>= 15.0` pp below `tight_short > easy_long` | In `>= 2` of 3 models: mean inflation `< +0.10` AND pair-acc drop `< 8.0` pp | Between (e.g. inflation `0.10`–`0.29` or only 1 of 3 models gamed) |
| **H4** | Two-step counterfactual repair | Switching `P_v0 -> P_counterfactual` cuts inflation `(stuffed - easy)` by `>= 0.30` points (paired 95% CI `> 0`) OR raises `tight_short > specificity_stuffed` pair acc by `>= 10.0` pp while keeping `tight_short > easy_long` within `-5.0` pp of `P_v0`, in `>= 2` of 3 models | Cuts inflation `< +0.10` AND fails to gain `>= +5.0` pp on `tight_short > specificity_stuffed` (or drops `tight_short > easy_long` by `> 10.0` pp) in `>= 2` of 3 models | Between or gains in only 1 of 3 models |

### Descriptive Diagnostics (reported, not primary verdict gates)
- `P_naive` vs `P_v0` lift on `tight_short > easy_long` and Anchor-1 (`opposite_compatible`) rejection rate (`score == 1` or `<= 2`).
- `postulate_law` (`Arm D`) mean score and inter-model disagreement vs `tight_short` and `easy_long` (quantifying the Anchor-2 vs Anchor-5 ambiguity).
- Exact `items-v0.csv` within-half $\alpha$ vs Gwet $AC_2$ calibration table and MC power curve at $N=30$.
