Datasets:
Initial reviewer pack — condensed verifiable archive for EMNLP 2026 submission
Browse files- README.md +184 -0
- figures/dml_estimation_framework.pdf +0 -0
- figures/dml_estimation_framework.png +3 -0
- figures/fig01_admission_forest.pdf +0 -0
- figures/fig01_admission_forest.png +3 -0
- figures/fig02_rank_delta_forest.pdf +0 -0
- figures/fig02_rank_delta_forest.png +3 -0
- figures/fig03_post_rank_forest.pdf +0 -0
- figures/fig03_post_rank_forest.png +3 -0
- figures/fig04_three_outcome_grid.pdf +0 -0
- figures/fig04_three_outcome_grid.png +3 -0
- figures/fig05_admission_vs_rank_scatter.pdf +0 -0
- figures/fig05_admission_vs_rank_scatter.png +3 -0
- figures/fig06_marginal_vs_partial.pdf +0 -0
- figures/fig06_marginal_vs_partial.png +3 -0
- figures/fig07_variant_grid_admission.pdf +0 -0
- figures/fig07_variant_grid_admission.png +3 -0
- figures/fig08_variant_grid_rank.pdf +0 -0
- figures/fig08_variant_grid_rank.png +3 -0
- figures/fig09_compare_rag_vs_snippet.pdf +0 -0
- figures/fig09_compare_rag_vs_snippet.png +3 -0
- figures/fig10_compare_ddg_vs_searxng.pdf +0 -0
- figures/fig10_compare_ddg_vs_searxng.png +3 -0
- figures/fig11_compare_llama_vs_qwen.pdf +0 -0
- figures/fig11_compare_llama_vs_qwen.png +3 -0
- figures/fig12_compare_pool20_vs_pool50.pdf +0 -0
- figures/fig12_compare_pool20_vs_pool50.png +3 -0
- figures/fig13_admission_detail.pdf +0 -0
- figures/fig13_admission_detail.png +3 -0
- figures/fig14_robust_survivors.pdf +0 -0
- figures/fig14_robust_survivors.png +3 -0
- figures/fig_admission_pooled.pdf +0 -0
- figures/fig_admission_pooled.png +3 -0
- figures/fig_admission_variants.pdf +0 -0
- figures/fig_admission_variants.png +3 -0
- figures/fig_probing_layerwise.pdf +0 -0
- figures/fig_probing_layerwise.png +3 -0
- figures/fig_probing_pooling.pdf +0 -0
- figures/fig_probing_pooling.png +3 -0
- figures/fig_saliency.pdf +0 -0
- figures/fig_saliency.png +3 -0
- tables/ablation_summary.csv +25 -0
- tables/admission_probe_headline.csv +9 -0
- tables/dml_all_specs_all_slices.csv +217 -0
- tables/probing_peaks_per_variant.csv +49 -0
- tables/saliency_summary.csv +9 -0
- tables/table2_dml_headline.csv +19 -0
- verify.py +102 -0
README.md
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: cc-by-4.0
|
| 5 |
+
pretty_name: GEODML — EMNLP 2026 Reviewer Pack (Condensed)
|
| 6 |
+
size_categories:
|
| 7 |
+
- n<1K
|
| 8 |
+
tags:
|
| 9 |
+
- causal-inference
|
| 10 |
+
- double-ml
|
| 11 |
+
- dml
|
| 12 |
+
- llm
|
| 13 |
+
- reranker
|
| 14 |
+
- search
|
| 15 |
+
- geo
|
| 16 |
+
- generative-engine-optimization
|
| 17 |
+
- interpretability
|
| 18 |
+
- probing
|
| 19 |
+
- saliency
|
| 20 |
+
- ablation
|
| 21 |
+
- emnlp
|
| 22 |
+
- emnlp-2026
|
| 23 |
+
- reproducibility
|
| 24 |
+
task_categories:
|
| 25 |
+
- text-ranking
|
| 26 |
+
- text-classification
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
# GEODML — EMNLP 2026 reviewer pack
|
| 30 |
+
|
| 31 |
+
A **condensed** companion to the EMNLP 2026 submission **"Causal
|
| 32 |
+
Analysis of LLM Search Rerankers via Double/Debiased Machine
|
| 33 |
+
Learning."** Designed for fast verification, not full reproduction.
|
| 34 |
+
|
| 35 |
+
- **This pack** (5.6 MB) — every paper claim as a CSV + every figure
|
| 36 |
+
as PDF/PNG + a one-shot `verify.py` claim-checker.
|
| 37 |
+
- **Full reproducibility dataset** (1.8 GB) →
|
| 38 |
+
[`ValerianFourel/geodml-emnlp-2026`](https://huggingface.co/datasets/ValerianFourel/geodml-emnlp-2026)
|
| 39 |
+
— raw LLM rerank outputs, page features, DFS confounders, and the
|
| 40 |
+
full DML/probing/saliency/ablation code.
|
| 41 |
+
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
## Setup (60 seconds)
|
| 45 |
+
|
| 46 |
+
```bash
|
| 47 |
+
# 1. Pull the reviewer pack
|
| 48 |
+
huggingface-cli download ValerianFourel/geodml-emnlp-2026-reviewer \
|
| 49 |
+
--repo-type=dataset --local-dir ./geodml-reviewer
|
| 50 |
+
cd geodml-reviewer
|
| 51 |
+
|
| 52 |
+
# 2. Install
|
| 53 |
+
pip install pandas
|
| 54 |
+
|
| 55 |
+
# 3. Run the one-shot claim-checker
|
| 56 |
+
python verify.py
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
`verify.py` prints every headline number alongside its
|
| 60 |
+
paper-text expected value and a tolerance. The last line says either
|
| 61 |
+
|
| 62 |
+
```
|
| 63 |
+
All paper claims VERIFIED against the tables.
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
or it lists which claims fall outside tolerance.
|
| 67 |
+
|
| 68 |
+
---
|
| 69 |
+
|
| 70 |
+
## What is what
|
| 71 |
+
|
| 72 |
+
### `tables/` — condensed paper claims (CSV)
|
| 73 |
+
|
| 74 |
+
| File | Rows | What it is |
|
| 75 |
+
|---|---|---|
|
| 76 |
+
| `table2_dml_headline.csv` | 18 | **The paper's Table 2.** Spec B (mutually-controlled) DML coefficients for 6 treatments × 3 outcomes, pooled across all slices. Columns: outcome, treatment, coef, se, ci_lo, ci_hi, p_val, sig_stars, n, coef_promoter_dir. |
|
| 77 |
+
| `dml_all_specs_all_slices.csv` | 216 | Every fitted DML model — Spec A (marginal) and Spec B (partial), across 11 slices (POOLED + 10 sub-slices), 6 treatments, 3 outcomes. Columns: spec, slice, treatment, outcome, coef, se, p_val, n, bonferroni_sig. |
|
| 78 |
+
| `probing_peaks_per_variant.csv` | ~56 | Peak linear-probe ROC AUC per (variant, treatment, pooling). Columns: variant, treatment, pooling, peak_layer, peak_roc_auc, layer_0_roc_auc. |
|
| 79 |
+
| `admission_probe_headline.csv` | 8 | The admission pre-commitment story — L0, peak, and final-layer ROC AUC of the `Y1_admission_inctx` probe across 4 variants × 2 poolings. |
|
| 80 |
+
| `saliency_summary.csv` | 8 | Llama-3.3-70B vs Qwen-2.5-72B gradient-saliency ratios on 4 treatments. Numbers >1 mean the model attends more to treatment tokens than to surrounding tokens. |
|
| 81 |
+
| `ablation_summary.csv` | 24 | Mean / median / std Δrank when treatment tokens are ablated, per (treatment, prompt, frame). |
|
| 82 |
+
| `freshness_leakage_diagnostic.md` | — | Year-token leakage diagnostic for T6 freshness — included as a methodological caveat. |
|
| 83 |
+
|
| 84 |
+
### `figures/` — every PDF + PNG the paper references
|
| 85 |
+
|
| 86 |
+
Each figure is included as both PDF (for camera-ready) and PNG (for
|
| 87 |
+
quick HTML preview).
|
| 88 |
+
|
| 89 |
+
| File | What it is |
|
| 90 |
+
|---|---|
|
| 91 |
+
| `dml_estimation_framework.{pdf,png}` | The DML estimation framework diagram (data flow). |
|
| 92 |
+
| `fig01_admission_forest.{pdf,png}` | Forest plot of Spec B coefficients on Y1 admission. |
|
| 93 |
+
| `fig02_rank_delta_forest.{pdf,png}` | Forest plot on Y2 = rank_delta. |
|
| 94 |
+
| `fig03_post_rank_forest.{pdf,png}` | Forest plot on Y3 = rank_post. |
|
| 95 |
+
| `fig04_three_outcome_grid.{pdf,png}` | All three outcomes side-by-side. |
|
| 96 |
+
| `fig05_admission_vs_rank_scatter.{pdf,png}` | Y1 vs Y2 per treatment — admission and promotion magnitude correlate. |
|
| 97 |
+
| `fig06_marginal_vs_partial.{pdf,png}` | Spec A vs Spec B (does mutual control change the story?). |
|
| 98 |
+
| `fig07_variant_grid_admission.{pdf,png}` | Y1 across the 4 prompt variants. |
|
| 99 |
+
| `fig08_variant_grid_rank.{pdf,png}` | Y2 across the 4 prompt variants. |
|
| 100 |
+
| `fig09_compare_rag_vs_snippet.{pdf,png}` | RAG vs snippet-only prompt comparison. |
|
| 101 |
+
| `fig10_compare_ddg_vs_searxng.{pdf,png}` | DuckDuckGo vs SearXNG SERP-backend comparison. |
|
| 102 |
+
| `fig11_compare_llama_vs_qwen.{pdf,png}` | Llama vs Qwen reranker comparison. |
|
| 103 |
+
| `fig12_compare_pool20_vs_pool50.{pdf,png}` | Top-20 vs top-50 candidate-pool comparison. |
|
| 104 |
+
| `fig13_admission_detail.{pdf,png}` | Detail view of admission coefficients with CIs. |
|
| 105 |
+
| `fig14_robust_survivors.{pdf,png}` | The robust-winners frame (slice-stable treatments). |
|
| 106 |
+
| `fig_probing_layerwise.{pdf,png}` | Layer-wise probe ROC AUC per treatment. |
|
| 107 |
+
| `fig_probing_pooling.{pdf,png}` | Probe ROC AUC by token-pooling strategy. |
|
| 108 |
+
| `fig_admission_pooled.{pdf,png}` | Admission probe across layers, pooled across variants. |
|
| 109 |
+
| `fig_admission_variants.{pdf,png}` | Admission probe across layers, split by variant. |
|
| 110 |
+
| `fig_saliency.{pdf,png}` | Diverging-bar saliency-ratio chart (Llama vs Qwen). |
|
| 111 |
+
|
| 112 |
+
### `verify.py` — one-shot claim checker
|
| 113 |
+
|
| 114 |
+
Reads every CSV in `tables/` and asserts each headline number against
|
| 115 |
+
its paper-text value within tolerance. Exits 0 on PASS, 1 on FAIL.
|
| 116 |
+
Run after every pull to confirm the data matches what the paper says.
|
| 117 |
+
|
| 118 |
+
---
|
| 119 |
+
|
| 120 |
+
## Headline numbers — Table 2 (Spec B POOLED)
|
| 121 |
+
|
| 122 |
+
DML coefficients with `has_llms_txt` as a confounder (not a treatment),
|
| 123 |
+
across 6 canonical content treatments.
|
| 124 |
+
|
| 125 |
+
| Treatment | Y1 selected | Y2 Δrank | Y3 rank_post |
|
| 126 |
+
|---|---|---|---|
|
| 127 |
+
| T5 topical competence | **+0.037***\* | **−0.530***\* | **−0.299***\* |
|
| 128 |
+
| T2a Q-headings | **+0.016***\* | **+0.136***\* | **−0.041*** |
|
| 129 |
+
| T3 schema (JSON-LD) | **−0.014***\* | **−0.051*** | **+0.095***\* |
|
| 130 |
+
| T6 freshness | **−0.005***\* | **−0.061***\* | +0.005 |
|
| 131 |
+
| T4 citation authority | +0.001 | **−0.023*** | **−0.015*** |
|
| 132 |
+
| T1b stats density | −0.000 | −0.003 | −0.002 |
|
| 133 |
+
|
| 134 |
+
**Sign convention:** `+Y1`, `+Y2`, `−Y3` ⇒ URL favoured by the LLM.
|
| 135 |
+
**Stars:** `***` < .001, `**` < .01, `*` < .05.
|
| 136 |
+
|
| 137 |
+
---
|
| 138 |
+
|
| 139 |
+
## Admission pre-commitment probe
|
| 140 |
+
|
| 141 |
+
Linear probe for the binary admission outcome on the LLM's *internal
|
| 142 |
+
activations* at each layer. Averaged across the 4 prompt variants,
|
| 143 |
+
mean pooling over context tokens.
|
| 144 |
+
|
| 145 |
+
| Quantity | Value | Interpretation |
|
| 146 |
+
|---|---|---|
|
| 147 |
+
| Layer 0 ROC AUC | 0.671 | Embedding alone — weak admission signal. |
|
| 148 |
+
| Peak ROC AUC | 0.862 | At layer 60 (~75% network depth). |
|
| 149 |
+
| L0 → peak gain | +0.191 | Genuine compositional integration. |
|
| 150 |
+
|
| 151 |
+
---
|
| 152 |
+
|
| 153 |
+
## Saliency (gradient attribution)
|
| 154 |
+
|
| 155 |
+
Saliency ratio = mean |∇| on treatment tokens / mean |∇| on
|
| 156 |
+
surrounding-context tokens. `>1` means the model attends more to the
|
| 157 |
+
treatment than to context; `<1` means it ignores it.
|
| 158 |
+
|
| 159 |
+
| Treatment | Llama-3.3-70B | Qwen-2.5-72B | DML direction | Reading |
|
| 160 |
+
|---|---|---|---|---|
|
| 161 |
+
| T1b stats density | 0.89× | **1.93×** | null | Qwen looks at stats but DML says it doesn't move ranks. |
|
| 162 |
+
| T2a Q-headings | 1.05× | 0.90× | promoter | Comparable attention; works for both. |
|
| 163 |
+
| T3 schema | **0.19×** | **0.40×** | demoter | Both models ignore JSON-LD — DML demoter is consistent. |
|
| 164 |
+
|
| 165 |
+
---
|
| 166 |
+
|
| 167 |
+
## Citation
|
| 168 |
+
|
| 169 |
+
```bibtex
|
| 170 |
+
@inproceedings{fourel2026geodml,
|
| 171 |
+
title = {Causal Analysis of LLM Search Rerankers via Double/Debiased Machine Learning},
|
| 172 |
+
author = {Fourel, Valerian},
|
| 173 |
+
year = {2026},
|
| 174 |
+
booktitle = {Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing}
|
| 175 |
+
}
|
| 176 |
+
```
|
| 177 |
+
|
| 178 |
+
## License
|
| 179 |
+
|
| 180 |
+
CC BY 4.0 — free reuse with attribution.
|
| 181 |
+
|
| 182 |
+
## Contact
|
| 183 |
+
|
| 184 |
+
valerian.fourel@gmail.com
|
figures/dml_estimation_framework.pdf
ADDED
|
Binary file (36.9 kB). View file
|
|
|
figures/dml_estimation_framework.png
ADDED
|
Git LFS Details
|
figures/fig01_admission_forest.pdf
ADDED
|
Binary file (33.3 kB). View file
|
|
|
figures/fig01_admission_forest.png
ADDED
|
Git LFS Details
|
figures/fig02_rank_delta_forest.pdf
ADDED
|
Binary file (32 kB). View file
|
|
|
figures/fig02_rank_delta_forest.png
ADDED
|
Git LFS Details
|
figures/fig03_post_rank_forest.pdf
ADDED
|
Binary file (31.9 kB). View file
|
|
|
figures/fig03_post_rank_forest.png
ADDED
|
Git LFS Details
|
figures/fig04_three_outcome_grid.pdf
ADDED
|
Binary file (50.7 kB). View file
|
|
|
figures/fig04_three_outcome_grid.png
ADDED
|
Git LFS Details
|
figures/fig05_admission_vs_rank_scatter.pdf
ADDED
|
Binary file (32.1 kB). View file
|
|
|
figures/fig05_admission_vs_rank_scatter.png
ADDED
|
Git LFS Details
|
figures/fig06_marginal_vs_partial.pdf
ADDED
|
Binary file (30.9 kB). View file
|
|
|
figures/fig06_marginal_vs_partial.png
ADDED
|
Git LFS Details
|
figures/fig07_variant_grid_admission.pdf
ADDED
|
Binary file (14.5 kB). View file
|
|
|
figures/fig07_variant_grid_admission.png
ADDED
|
Git LFS Details
|
figures/fig08_variant_grid_rank.pdf
ADDED
|
Binary file (14.6 kB). View file
|
|
|
figures/fig08_variant_grid_rank.png
ADDED
|
Git LFS Details
|
figures/fig09_compare_rag_vs_snippet.pdf
ADDED
|
Binary file (33.4 kB). View file
|
|
|
figures/fig09_compare_rag_vs_snippet.png
ADDED
|
Git LFS Details
|
figures/fig10_compare_ddg_vs_searxng.pdf
ADDED
|
Binary file (37.1 kB). View file
|
|
|
figures/fig10_compare_ddg_vs_searxng.png
ADDED
|
Git LFS Details
|
figures/fig11_compare_llama_vs_qwen.pdf
ADDED
|
Binary file (35.5 kB). View file
|
|
|
figures/fig11_compare_llama_vs_qwen.png
ADDED
|
Git LFS Details
|
figures/fig12_compare_pool20_vs_pool50.pdf
ADDED
|
Binary file (34.7 kB). View file
|
|
|
figures/fig12_compare_pool20_vs_pool50.png
ADDED
|
Git LFS Details
|
figures/fig13_admission_detail.pdf
ADDED
|
Binary file (32.8 kB). View file
|
|
|
figures/fig13_admission_detail.png
ADDED
|
Git LFS Details
|
figures/fig14_robust_survivors.pdf
ADDED
|
Binary file (30.4 kB). View file
|
|
|
figures/fig14_robust_survivors.png
ADDED
|
Git LFS Details
|
figures/fig_admission_pooled.pdf
ADDED
|
Binary file (34.2 kB). View file
|
|
|
figures/fig_admission_pooled.png
ADDED
|
Git LFS Details
|
figures/fig_admission_variants.pdf
ADDED
|
Binary file (23.5 kB). View file
|
|
|
figures/fig_admission_variants.png
ADDED
|
Git LFS Details
|
figures/fig_probing_layerwise.pdf
ADDED
|
Binary file (47 kB). View file
|
|
|
figures/fig_probing_layerwise.png
ADDED
|
Git LFS Details
|
figures/fig_probing_pooling.pdf
ADDED
|
Binary file (37.9 kB). View file
|
|
|
figures/fig_probing_pooling.png
ADDED
|
Git LFS Details
|
figures/fig_saliency.pdf
ADDED
|
Binary file (36 kB). View file
|
|
|
figures/fig_saliency.png
ADDED
|
Git LFS Details
|
tables/ablation_summary.csv
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
frame,prompt,treatment,n_ablations,mean_delta_r,median_delta_r,std_delta_r
|
| 2 |
+
full,biased,T1b_stats_density,3124,-0.015,0.0,1.7145
|
| 3 |
+
full,biased,T2a_question_headings,10750,0.0269,0.0,1.431
|
| 4 |
+
full,biased,T3_structured_data_new,11303,0.0084,0.0,1.3022
|
| 5 |
+
full,biased,T5_topical_comp,3245,-0.1673,0.0,2.5493
|
| 6 |
+
full,biased,T6_freshness,2756,0.041,0.0,1.2667
|
| 7 |
+
full,biased,T7_source_earned,1822,-0.219,0.0,2.3205
|
| 8 |
+
full,neutral,T1b_stats_density,4776,-0.005,0.0,1.0837
|
| 9 |
+
full,neutral,T2a_question_headings,17342,-0.0034,0.0,0.8264
|
| 10 |
+
full,neutral,T3_structured_data_new,18366,-0.005,0.0,0.846
|
| 11 |
+
full,neutral,T5_topical_comp,4835,0.0378,0.0,2.208
|
| 12 |
+
full,neutral,T6_freshness,4663,-0.0006,0.0,0.791
|
| 13 |
+
full,neutral,T7_source_earned,3122,-0.0003,0.0,0.9527
|
| 14 |
+
robust_winners,biased,T1b_stats_density,713,-0.0266,0.0,1.0267
|
| 15 |
+
robust_winners,biased,T2a_question_headings,2498,0.0156,0.0,0.7684
|
| 16 |
+
robust_winners,biased,T3_structured_data_new,2663,0.0293,0.0,0.6029
|
| 17 |
+
robust_winners,biased,T5_topical_comp,737,-0.1235,0.0,1.77
|
| 18 |
+
robust_winners,biased,T6_freshness,626,0.0128,0.0,0.3344
|
| 19 |
+
robust_winners,biased,T7_source_earned,331,-0.0181,0.0,1.1172
|
| 20 |
+
robust_winners,neutral,T1b_stats_density,746,0.0,0.0,0.3514
|
| 21 |
+
robust_winners,neutral,T2a_question_headings,2642,0.0,0.0,0.4044
|
| 22 |
+
robust_winners,neutral,T3_structured_data_new,2820,0.0028,0.0,0.3442
|
| 23 |
+
robust_winners,neutral,T5_topical_comp,784,0.0459,0.0,0.9128
|
| 24 |
+
robust_winners,neutral,T6_freshness,652,0.0,0.0,0.557
|
| 25 |
+
robust_winners,neutral,T7_source_earned,364,0.0192,0.0,0.5323
|
tables/admission_probe_headline.csv
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
variant,pooling,layer_0,layer_peak,auc_peak,layer_last,auc_last,delta_L0_to_peak
|
| 2 |
+
biased,last_token,0.522,60,0.8823,80,0.8384,0.3603
|
| 3 |
+
biased,mean,0.6971,56,0.8902,80,0.8447,0.1931
|
| 4 |
+
neutral,last_token,0.521,61,0.8757,80,0.8127,0.3547
|
| 5 |
+
neutral,mean,0.6399,53,0.8675,80,0.8023,0.2276
|
| 6 |
+
biased_rag,last_token,0.4847,60,0.8651,80,0.8272,0.3804
|
| 7 |
+
biased_rag,mean,0.6909,73,0.8768,80,0.8558,0.1859
|
| 8 |
+
neutral_rag,last_token,0.5093,53,0.8589,80,0.8191,0.3496
|
| 9 |
+
neutral_rag,mean,0.6563,60,0.87,80,0.8185,0.2137
|
tables/dml_all_specs_all_slices.csv
ADDED
|
@@ -0,0 +1,217 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
spec,slice,treatment,outcome,coef,se,p_val,n,bonferroni_sig
|
| 2 |
+
A,POOLED,treat_stats_density,selected,-0.0005,0.0003,0.11304,200000,False
|
| 3 |
+
A,POOLED,treat_question_headings,selected,0.0118,0.0029,4e-05,200000,True
|
| 4 |
+
A,POOLED,treat_structured_data,selected,-0.026,0.0027,0.0,200000,True
|
| 5 |
+
A,POOLED,T4_citation_authority_code,selected,0.0009,0.0007,0.21549,185176,False
|
| 6 |
+
A,POOLED,treat_topical_comp,selected,0.0221,0.0094,0.01841,200000,False
|
| 7 |
+
A,POOLED,treat_freshness,selected,-0.0061,0.0007,0.0,200000,True
|
| 8 |
+
A,VAR:biased,treat_stats_density,selected,-0.0011,0.0005,0.02666,55430,False
|
| 9 |
+
A,VAR:biased,treat_question_headings,selected,0.0154,0.0053,0.00378,57964,False
|
| 10 |
+
A,VAR:biased,treat_structured_data,selected,-0.037,0.0051,0.0,57964,True
|
| 11 |
+
A,VAR:biased,T4_citation_authority_code,selected,-0.0017,0.0011,0.13565,46294,False
|
| 12 |
+
A,VAR:biased,treat_topical_comp,selected,0.0117,0.0186,0.53062,51098,False
|
| 13 |
+
A,VAR:biased,treat_freshness,selected,-0.0121,0.0014,0.0,57964,True
|
| 14 |
+
A,VAR:neutral,treat_stats_density,selected,0.0004,0.0005,0.43819,55430,False
|
| 15 |
+
A,VAR:neutral,treat_question_headings,selected,0.0024,0.0046,0.60395,57964,False
|
| 16 |
+
A,VAR:neutral,treat_structured_data,selected,-0.0084,0.0044,0.05607,57964,False
|
| 17 |
+
A,VAR:neutral,T4_citation_authority_code,selected,0.0002,0.0009,0.79294,46294,False
|
| 18 |
+
A,VAR:neutral,treat_topical_comp,selected,0.034,0.0157,0.03014,51098,False
|
| 19 |
+
A,VAR:neutral,treat_freshness,selected,0.0013,0.0012,0.29809,57964,False
|
| 20 |
+
A,VAR:biased_rag,treat_stats_density,selected,-0.0014,0.0005,0.0067,55430,False
|
| 21 |
+
A,VAR:biased_rag,treat_question_headings,selected,0.0172,0.0054,0.0016,57964,False
|
| 22 |
+
A,VAR:biased_rag,treat_structured_data,selected,-0.046,0.0052,0.0,57964,True
|
| 23 |
+
A,VAR:biased_rag,T4_citation_authority_code,selected,0.0028,0.0012,0.01465,46294,False
|
| 24 |
+
A,VAR:biased_rag,treat_topical_comp,selected,0.0033,0.0187,0.86137,51098,False
|
| 25 |
+
A,VAR:biased_rag,treat_freshness,selected,-0.0156,0.0014,0.0,57964,True
|
| 26 |
+
A,VAR:neutral_rag,treat_stats_density,selected,0.0006,0.0004,0.09237,55430,False
|
| 27 |
+
A,VAR:neutral_rag,treat_question_headings,selected,0.0091,0.0046,0.04649,57964,False
|
| 28 |
+
A,VAR:neutral_rag,treat_structured_data,selected,0.003,0.0044,0.49587,57964,False
|
| 29 |
+
A,VAR:neutral_rag,T4_citation_authority_code,selected,0.0005,0.0008,0.5623,46294,False
|
| 30 |
+
A,VAR:neutral_rag,treat_topical_comp,selected,0.0389,0.0154,0.01169,51098,False
|
| 31 |
+
A,VAR:neutral_rag,treat_freshness,selected,0.0032,0.0012,0.00714,57964,False
|
| 32 |
+
A,ENG:ddg,treat_stats_density,selected,-0.0002,0.0005,0.71736,87008,False
|
| 33 |
+
A,ENG:ddg,treat_question_headings,selected,0.0121,0.005,0.01636,89160,False
|
| 34 |
+
A,ENG:ddg,treat_structured_data,selected,-0.0264,0.0049,0.0,89160,True
|
| 35 |
+
A,ENG:ddg,T4_citation_authority_code,selected,0.0017,0.0008,0.0362,87984,False
|
| 36 |
+
A,ENG:ddg,treat_topical_comp,selected,0.0355,0.024,0.13947,52328,False
|
| 37 |
+
A,ENG:ddg,treat_freshness,selected,-0.0026,0.0013,0.04881,89160,False
|
| 38 |
+
A,ENG:searxng,treat_stats_density,selected,-0.0006,0.0004,0.12829,134712,False
|
| 39 |
+
A,ENG:searxng,treat_question_headings,selected,0.0084,0.0034,0.01481,142696,False
|
| 40 |
+
A,ENG:searxng,treat_structured_data,selected,-0.0265,0.0032,0.0,142696,True
|
| 41 |
+
A,ENG:searxng,T4_citation_authority_code,selected,-0.0013,0.0012,0.26395,97192,False
|
| 42 |
+
A,ENG:searxng,treat_topical_comp,selected,0.0096,0.0109,0.37888,152064,False
|
| 43 |
+
A,ENG:searxng,treat_freshness,selected,-0.0098,0.0009,0.0,142696,True
|
| 44 |
+
A,MOD:Llama,treat_stats_density,selected,-0.0009,0.0004,0.0157,110860,False
|
| 45 |
+
A,MOD:Llama,treat_question_headings,selected,0.0143,0.0037,0.00011,115928,True
|
| 46 |
+
A,MOD:Llama,treat_structured_data,selected,-0.0244,0.0035,0.0,115928,True
|
| 47 |
+
A,MOD:Llama,T4_citation_authority_code,selected,0.0007,0.0009,0.38913,92588,False
|
| 48 |
+
A,MOD:Llama,treat_topical_comp,selected,0.0345,0.0128,0.00691,102196,False
|
| 49 |
+
A,MOD:Llama,treat_freshness,selected,-0.0056,0.001,0.0,115928,True
|
| 50 |
+
A,MOD:Qwen2.5,treat_stats_density,selected,0.0001,0.0004,0.70987,110860,False
|
| 51 |
+
A,MOD:Qwen2.5,treat_question_headings,selected,0.0089,0.0038,0.01781,115928,False
|
| 52 |
+
A,MOD:Qwen2.5,treat_structured_data,selected,-0.0259,0.0036,0.0,115928,True
|
| 53 |
+
A,MOD:Qwen2.5,T4_citation_authority_code,selected,0.0012,0.0008,0.15312,92588,False
|
| 54 |
+
A,MOD:Qwen2.5,treat_topical_comp,selected,0.0132,0.013,0.3078,102196,False
|
| 55 |
+
A,MOD:Qwen2.5,treat_freshness,selected,-0.0069,0.001,0.0,115928,True
|
| 56 |
+
A,POOL:20,treat_stats_density,selected,-0.001,0.0005,0.02845,102896,False
|
| 57 |
+
A,POOL:20,treat_question_headings,selected,0.0101,0.0041,0.01374,107552,False
|
| 58 |
+
A,POOL:20,treat_structured_data,selected,-0.0352,0.0038,0.0,107552,True
|
| 59 |
+
A,POOL:20,T4_citation_authority_code,selected,-0.0001,0.0009,0.87831,95016,False
|
| 60 |
+
A,POOL:20,treat_topical_comp,selected,0.023,0.015,0.12441,93456,False
|
| 61 |
+
A,POOL:20,treat_freshness,selected,-0.0091,0.001,0.0,107552,True
|
| 62 |
+
A,POOL:50,treat_stats_density,selected,-0.0003,0.0004,0.49995,118824,False
|
| 63 |
+
A,POOL:50,treat_question_headings,selected,0.0108,0.0037,0.00347,124304,False
|
| 64 |
+
A,POOL:50,treat_structured_data,selected,-0.0162,0.0035,0.0,124304,True
|
| 65 |
+
A,POOL:50,T4_citation_authority_code,selected,0.002,0.0009,0.03061,90160,False
|
| 66 |
+
A,POOL:50,treat_topical_comp,selected,0.0247,0.0123,0.04462,110936,False
|
| 67 |
+
A,POOL:50,treat_freshness,selected,-0.0046,0.001,0.0,124304,True
|
| 68 |
+
B,POOLED,treat_stats_density,selected,-0.0005,0.0003,0.12311,200000,False
|
| 69 |
+
B,POOLED,treat_question_headings,selected,0.0156,0.0029,0.0,200000,True
|
| 70 |
+
B,POOLED,treat_structured_data,selected,-0.0141,0.0031,0.0,200000,True
|
| 71 |
+
B,POOLED,T4_citation_authority_code,selected,0.0009,0.0007,0.18613,185176,False
|
| 72 |
+
B,POOLED,treat_topical_comp,selected,0.0366,0.0095,0.00012,200000,True
|
| 73 |
+
B,POOLED,treat_freshness,selected,-0.0047,0.0008,0.0,200000,True
|
| 74 |
+
A,POOLED,treat_stats_density,rank_delta,-0.0042,0.0026,0.11064,200000,False
|
| 75 |
+
A,POOLED,treat_question_headings,rank_delta,0.1173,0.024,0.0,200000,True
|
| 76 |
+
A,POOLED,treat_structured_data,rank_delta,-0.122,0.0217,0.0,200000,True
|
| 77 |
+
A,POOLED,T4_citation_authority_code,rank_delta,-0.0233,0.0084,0.00543,200000,False
|
| 78 |
+
A,POOLED,treat_topical_comp,rank_delta,-0.4886,0.0738,0.0,200000,True
|
| 79 |
+
A,POOLED,treat_freshness,rank_delta,-0.0542,0.006,0.0,200000,True
|
| 80 |
+
A,VAR:biased,treat_stats_density,rank_delta,0.003,0.0042,0.47423,54683,False
|
| 81 |
+
A,VAR:biased,treat_question_headings,rank_delta,0.0679,0.0511,0.18385,56183,False
|
| 82 |
+
A,VAR:biased,treat_structured_data,rank_delta,-0.0953,0.0468,0.04182,56183,False
|
| 83 |
+
A,VAR:biased,T4_citation_authority_code,rank_delta,-0.0464,0.0115,5e-05,47616,True
|
| 84 |
+
A,VAR:biased,treat_topical_comp,rank_delta,-0.6114,0.1736,0.00043,46770,True
|
| 85 |
+
A,VAR:biased,treat_freshness,rank_delta,-0.0703,0.0129,0.0,56183,True
|
| 86 |
+
A,VAR:neutral,treat_stats_density,rank_delta,-0.0014,0.0032,0.65535,83750,False
|
| 87 |
+
A,VAR:neutral,treat_question_headings,rank_delta,0.1098,0.0322,0.00065,87771,True
|
| 88 |
+
A,VAR:neutral,treat_structured_data,rank_delta,-0.1413,0.0298,0.0,87771,True
|
| 89 |
+
A,VAR:neutral,T4_citation_authority_code,rank_delta,-0.0046,0.0093,0.61784,65155,False
|
| 90 |
+
A,VAR:neutral,treat_topical_comp,rank_delta,-0.3708,0.1007,0.00023,81896,True
|
| 91 |
+
A,VAR:neutral,treat_freshness,rank_delta,-0.0661,0.0082,0.0,87771,True
|
| 92 |
+
A,VAR:biased_rag,treat_stats_density,rank_delta,0.0008,0.0045,0.85977,47640,False
|
| 93 |
+
A,VAR:biased_rag,treat_question_headings,rank_delta,0.1572,0.0552,0.00439,48952,False
|
| 94 |
+
A,VAR:biased_rag,treat_structured_data,rank_delta,-0.151,0.0486,0.00187,48952,False
|
| 95 |
+
A,VAR:biased_rag,T4_citation_authority_code,rank_delta,-0.0288,0.0117,0.0142,43443,False
|
| 96 |
+
A,VAR:biased_rag,treat_topical_comp,rank_delta,-0.3282,0.1908,0.08541,39092,False
|
| 97 |
+
A,VAR:biased_rag,treat_freshness,rank_delta,-0.0573,0.0137,3e-05,48952,True
|
| 98 |
+
A,VAR:neutral_rag,treat_stats_density,rank_delta,-0.0009,0.0027,0.73571,64804,False
|
| 99 |
+
A,VAR:neutral_rag,treat_question_headings,rank_delta,0.1699,0.0322,0.0,67909,True
|
| 100 |
+
A,VAR:neutral_rag,treat_structured_data,rank_delta,-0.1003,0.0294,0.00065,67909,True
|
| 101 |
+
A,VAR:neutral_rag,T4_citation_authority_code,rank_delta,-0.0008,0.0076,0.92026,53281,False
|
| 102 |
+
A,VAR:neutral_rag,treat_topical_comp,rank_delta,-0.3665,0.1028,0.00036,59333,True
|
| 103 |
+
A,VAR:neutral_rag,treat_freshness,rank_delta,-0.044,0.008,0.0,67909,True
|
| 104 |
+
A,ENG:ddg,treat_stats_density,rank_delta,0.0012,0.0048,0.80743,86258,False
|
| 105 |
+
A,ENG:ddg,treat_question_headings,rank_delta,-0.0219,0.046,0.63366,88321,False
|
| 106 |
+
A,ENG:ddg,treat_structured_data,rank_delta,-0.2546,0.0425,0.0,88321,True
|
| 107 |
+
A,ENG:ddg,T4_citation_authority_code,rank_delta,-0.0024,0.011,0.82842,82765,False
|
| 108 |
+
A,ENG:ddg,treat_topical_comp,rank_delta,-1.4154,0.2259,0.0,47884,True
|
| 109 |
+
A,ENG:ddg,treat_freshness,rank_delta,-0.1099,0.0112,0.0,88321,True
|
| 110 |
+
A,ENG:searxng,treat_stats_density,rank_delta,-0.0013,0.0028,0.65063,164619,False
|
| 111 |
+
A,ENG:searxng,treat_question_headings,rank_delta,0.2293,0.0239,0.0,172494,True
|
| 112 |
+
A,ENG:searxng,treat_structured_data,rank_delta,-0.0457,0.0216,0.03425,172494,False
|
| 113 |
+
A,ENG:searxng,T4_citation_authority_code,rank_delta,-0.053,0.0105,0.0,126730,True
|
| 114 |
+
A,ENG:searxng,treat_topical_comp,rank_delta,-0.1701,0.0739,0.02143,179207,False
|
| 115 |
+
A,ENG:searxng,treat_freshness,rank_delta,-0.0302,0.0061,0.0,172494,True
|
| 116 |
+
A,MOD:Llama,treat_stats_density,rank_delta,0.0036,0.003,0.23344,124403,False
|
| 117 |
+
A,MOD:Llama,treat_question_headings,rank_delta,0.0918,0.0312,0.00324,129382,False
|
| 118 |
+
A,MOD:Llama,treat_structured_data,rank_delta,-0.1425,0.0282,0.0,129382,True
|
| 119 |
+
A,MOD:Llama,T4_citation_authority_code,rank_delta,-0.0168,0.0107,0.11558,104381,False
|
| 120 |
+
A,MOD:Llama,treat_topical_comp,rank_delta,-0.6311,0.1005,0.0,111772,True
|
| 121 |
+
A,MOD:Llama,treat_freshness,rank_delta,-0.0651,0.0077,0.0,129382,True
|
| 122 |
+
A,MOD:Qwen2.5,treat_stats_density,rank_delta,-0.0057,0.003,0.05395,126474,False
|
| 123 |
+
A,MOD:Qwen2.5,treat_question_headings,rank_delta,0.1348,0.0277,0.0,131433,True
|
| 124 |
+
A,MOD:Qwen2.5,treat_structured_data,rank_delta,-0.1245,0.0254,0.0,131433,True
|
| 125 |
+
A,MOD:Qwen2.5,T4_citation_authority_code,rank_delta,-0.031,0.0075,4e-05,105114,True
|
| 126 |
+
A,MOD:Qwen2.5,treat_topical_comp,rank_delta,-0.2897,0.0903,0.00134,115319,False
|
| 127 |
+
A,MOD:Qwen2.5,treat_freshness,rank_delta,-0.0546,0.007,0.0,131433,True
|
| 128 |
+
A,POOL:20,treat_stats_density,rank_delta,-0.0073,0.0032,0.02291,112637,False
|
| 129 |
+
A,POOL:20,treat_question_headings,rank_delta,0.2197,0.0296,0.0,116981,True
|
| 130 |
+
A,POOL:20,treat_structured_data,rank_delta,-0.0045,0.0262,0.86248,116981,False
|
| 131 |
+
A,POOL:20,T4_citation_authority_code,rank_delta,-0.0258,0.0076,0.00063,105269,True
|
| 132 |
+
A,POOL:20,treat_topical_comp,rank_delta,0.0114,0.1036,0.91208,99674,False
|
| 133 |
+
A,POOL:20,treat_freshness,rank_delta,-0.0214,0.0074,0.00363,116981,False
|
| 134 |
+
A,POOL:50,treat_stats_density,rank_delta,0.0046,0.0035,0.19036,138240,False
|
| 135 |
+
A,POOL:50,treat_question_headings,rank_delta,0.0581,0.0299,0.0522,143834,False
|
| 136 |
+
A,POOL:50,treat_structured_data,rank_delta,-0.1975,0.0273,0.0,143834,True
|
| 137 |
+
A,POOL:50,T4_citation_authority_code,rank_delta,-0.0202,0.0156,0.19362,104226,False
|
| 138 |
+
A,POOL:50,treat_topical_comp,rank_delta,-0.7318,0.0957,0.0,127417,True
|
| 139 |
+
A,POOL:50,treat_freshness,rank_delta,-0.0853,0.0074,0.0,143834,True
|
| 140 |
+
B,POOLED,treat_stats_density,rank_delta,-0.0027,0.0027,0.31517,200000,False
|
| 141 |
+
B,POOLED,treat_question_headings,rank_delta,0.1359,0.0245,0.0,200000,True
|
| 142 |
+
B,POOLED,treat_structured_data,rank_delta,-0.0506,0.0245,0.0392,200000,False
|
| 143 |
+
B,POOLED,T4_citation_authority_code,rank_delta,-0.0234,0.0087,0.00738,200000,False
|
| 144 |
+
B,POOLED,treat_topical_comp,rank_delta,-0.5303,0.0747,0.0,200000,True
|
| 145 |
+
B,POOLED,treat_freshness,rank_delta,-0.0608,0.0066,0.0,200000,True
|
| 146 |
+
A,POOLED,treat_stats_density,post_rank,-0.0024,0.0019,0.19176,200000,False
|
| 147 |
+
A,POOLED,treat_question_headings,post_rank,-0.048,0.0184,0.00892,200000,False
|
| 148 |
+
A,POOLED,treat_structured_data,post_rank,0.1225,0.0173,0.0,200000,True
|
| 149 |
+
A,POOLED,T4_citation_authority_code,post_rank,-0.0184,0.0064,0.00414,200000,False
|
| 150 |
+
A,POOLED,treat_topical_comp,post_rank,-0.2141,0.0594,0.00031,200000,True
|
| 151 |
+
A,POOLED,treat_freshness,post_rank,0.015,0.0048,0.00169,200000,False
|
| 152 |
+
A,VAR:biased,treat_stats_density,post_rank,-0.0008,0.0026,0.74255,64977,False
|
| 153 |
+
A,VAR:biased,treat_question_headings,post_rank,0.0225,0.03,0.45391,67034,False
|
| 154 |
+
A,VAR:biased,treat_structured_data,post_rank,0.1258,0.0282,1e-05,67034,True
|
| 155 |
+
A,VAR:biased,T4_citation_authority_code,post_rank,0.005,0.0083,0.55197,47616,False
|
| 156 |
+
A,VAR:biased,treat_topical_comp,post_rank,-0.1205,0.1073,0.2615,53449,False
|
| 157 |
+
A,VAR:biased,treat_freshness,post_rank,0.0381,0.0078,0.0,67034,True
|
| 158 |
+
A,VAR:neutral,treat_stats_density,post_rank,-0.0016,0.0026,0.5227,85958,False
|
| 159 |
+
A,VAR:neutral,treat_question_headings,post_rank,-0.0401,0.0274,0.14376,90099,False
|
| 160 |
+
A,VAR:neutral,treat_structured_data,post_rank,0.1145,0.0263,1e-05,90099,True
|
| 161 |
+
A,VAR:neutral,T4_citation_authority_code,post_rank,-0.0118,0.0077,0.12359,65155,False
|
| 162 |
+
A,VAR:neutral,treat_topical_comp,post_rank,-0.1332,0.0903,0.13999,83113,False
|
| 163 |
+
A,VAR:neutral,treat_freshness,post_rank,0.0159,0.0072,0.02723,90099,False
|
| 164 |
+
A,VAR:biased_rag,treat_stats_density,post_rank,-0.0057,0.0029,0.04808,60283,False
|
| 165 |
+
A,VAR:biased_rag,treat_question_headings,post_rank,-0.0707,0.0319,0.02684,62162,False
|
| 166 |
+
A,VAR:biased_rag,treat_structured_data,post_rank,0.1112,0.0301,0.00022,62162,True
|
| 167 |
+
A,VAR:biased_rag,T4_citation_authority_code,post_rank,-0.001,0.0087,0.90577,43443,False
|
| 168 |
+
A,VAR:biased_rag,treat_topical_comp,post_rank,-0.3582,0.1169,0.00219,46890,False
|
| 169 |
+
A,VAR:biased_rag,treat_freshness,post_rank,0.0207,0.0083,0.01278,62162,False
|
| 170 |
+
A,VAR:neutral_rag,treat_stats_density,post_rank,-0.0004,0.0026,0.88732,66908,False
|
| 171 |
+
A,VAR:neutral_rag,treat_question_headings,post_rank,-0.0538,0.0308,0.08092,70121,False
|
| 172 |
+
A,VAR:neutral_rag,treat_structured_data,post_rank,0.1429,0.0291,0.0,70121,True
|
| 173 |
+
A,VAR:neutral_rag,T4_citation_authority_code,post_rank,-0.0144,0.0079,0.06678,53281,False
|
| 174 |
+
A,VAR:neutral_rag,treat_topical_comp,post_rank,-0.3077,0.1044,0.00322,60241,False
|
| 175 |
+
A,VAR:neutral_rag,treat_freshness,post_rank,0.0026,0.008,0.7423,70121,False
|
| 176 |
+
A,ENG:ddg,treat_stats_density,post_rank,0.0048,0.0028,0.08743,99103,False
|
| 177 |
+
A,ENG:ddg,treat_question_headings,post_rank,-0.0021,0.0288,0.94243,101894,False
|
| 178 |
+
A,ENG:ddg,treat_structured_data,post_rank,0.0401,0.0274,0.14336,101894,False
|
| 179 |
+
A,ENG:ddg,T4_citation_authority_code,post_rank,-0.0052,0.0076,0.49666,82765,False
|
| 180 |
+
A,ENG:ddg,treat_topical_comp,post_rank,-0.5142,0.1426,0.00031,50082,True
|
| 181 |
+
A,ENG:ddg,treat_freshness,post_rank,-0.0211,0.0073,0.00397,101894,False
|
| 182 |
+
A,ENG:searxng,treat_stats_density,post_rank,-0.0091,0.0024,0.00015,179023,True
|
| 183 |
+
A,ENG:searxng,treat_question_headings,post_rank,-0.0198,0.0195,0.31086,187522,False
|
| 184 |
+
A,ENG:searxng,treat_structured_data,post_rank,0.1487,0.0181,0.0,187522,True
|
| 185 |
+
A,ENG:searxng,T4_citation_authority_code,post_rank,-0.037,0.0114,0.0012,126730,False
|
| 186 |
+
A,ENG:searxng,treat_topical_comp,post_rank,-0.1502,0.0613,0.01418,193611,False
|
| 187 |
+
A,ENG:searxng,treat_freshness,post_rank,0.0452,0.005,0.0,187522,True
|
| 188 |
+
A,MOD:Llama,treat_stats_density,post_rank,-0.0051,0.0021,0.01327,138621,False
|
| 189 |
+
A,MOD:Llama,treat_question_headings,post_rank,-0.0278,0.0215,0.19675,144317,False
|
| 190 |
+
A,MOD:Llama,treat_structured_data,post_rank,0.1354,0.0202,0.0,144317,True
|
| 191 |
+
A,MOD:Llama,T4_citation_authority_code,post_rank,-0.0064,0.0073,0.38109,104381,False
|
| 192 |
+
A,MOD:Llama,treat_topical_comp,post_rank,-0.1981,0.0755,0.0087,120201,False
|
| 193 |
+
A,MOD:Llama,treat_freshness,post_rank,0.0201,0.0056,0.00032,144317,True
|
| 194 |
+
A,MOD:Qwen2.5,treat_stats_density,post_rank,-0.0006,0.0021,0.76898,139505,False
|
| 195 |
+
A,MOD:Qwen2.5,treat_question_headings,post_rank,-0.0436,0.0213,0.04029,145099,False
|
| 196 |
+
A,MOD:Qwen2.5,treat_structured_data,post_rank,0.0968,0.02,0.0,145099,True
|
| 197 |
+
A,MOD:Qwen2.5,T4_citation_authority_code,post_rank,-0.0137,0.0078,0.07772,105114,False
|
| 198 |
+
A,MOD:Qwen2.5,treat_topical_comp,post_rank,-0.2278,0.0738,0.00201,123492,False
|
| 199 |
+
A,MOD:Qwen2.5,treat_freshness,post_rank,0.0133,0.0055,0.01634,145099,False
|
| 200 |
+
A,POOL:20,treat_stats_density,post_rank,-0.0017,0.0026,0.50025,125051,False
|
| 201 |
+
A,POOL:20,treat_question_headings,post_rank,-0.0255,0.0232,0.27216,129913,False
|
| 202 |
+
A,POOL:20,treat_structured_data,post_rank,0.1714,0.0217,0.0,129913,True
|
| 203 |
+
A,POOL:20,T4_citation_authority_code,post_rank,-0.0043,0.0082,0.59819,105269,False
|
| 204 |
+
A,POOL:20,treat_topical_comp,post_rank,-0.0559,0.083,0.50044,108269,False
|
| 205 |
+
A,POOL:20,treat_freshness,post_rank,0.0366,0.006,0.0,129913,True
|
| 206 |
+
A,POOL:50,treat_stats_density,post_rank,-0.0005,0.0022,0.82512,153075,False
|
| 207 |
+
A,POOL:50,treat_question_headings,post_rank,-0.0182,0.021,0.38753,159503,False
|
| 208 |
+
A,POOL:50,treat_structured_data,post_rank,0.0822,0.0197,3e-05,159503,True
|
| 209 |
+
A,POOL:50,T4_citation_authority_code,post_rank,-0.016,0.0092,0.08221,104226,False
|
| 210 |
+
A,POOL:50,treat_topical_comp,post_rank,-0.3308,0.0737,1e-05,135424,True
|
| 211 |
+
A,POOL:50,treat_freshness,post_rank,0.0037,0.0054,0.49703,159503,False
|
| 212 |
+
B,POOLED,treat_stats_density,post_rank,-0.0015,0.0019,0.40542,200000,False
|
| 213 |
+
B,POOLED,treat_question_headings,post_rank,-0.0408,0.0187,0.02907,200000,False
|
| 214 |
+
B,POOLED,treat_structured_data,post_rank,0.0949,0.0196,0.0,200000,True
|
| 215 |
+
B,POOLED,T4_citation_authority_code,post_rank,-0.0154,0.0066,0.01905,200000,False
|
| 216 |
+
B,POOLED,treat_topical_comp,post_rank,-0.2995,0.0601,0.0,200000,True
|
| 217 |
+
B,POOLED,treat_freshness,post_rank,0.0051,0.0053,0.3334,200000,False
|
tables/probing_peaks_per_variant.csv
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
variant,treatment,pooling,peak_layer,peak_roc_auc,layer_0_roc_auc
|
| 2 |
+
biased,T1b_stats_density,last_token,62,0.9834,0.8611
|
| 3 |
+
biased,T1b_stats_density,mean,32,0.9877,0.9798
|
| 4 |
+
biased,T2a_question_headings,last_token,54,0.9868,0.8805
|
| 5 |
+
biased,T2a_question_headings,mean,24,0.9893,0.98
|
| 6 |
+
biased,T3_structured_data,last_token,35,0.9847,0.8744
|
| 7 |
+
biased,T3_structured_data,mean,18,0.9874,0.9797
|
| 8 |
+
biased,T4_citation_authority,last_token,30,0.9917,0.8955
|
| 9 |
+
biased,T4_citation_authority,mean,71,0.9938,0.9739
|
| 10 |
+
biased,T5_topical_comp,last_token,68,0.9649,0.8261
|
| 11 |
+
biased,T5_topical_comp,mean,46,0.974,0.9605
|
| 12 |
+
biased,T6_freshness,last_token,70,0.9859,0.8752
|
| 13 |
+
biased,T6_freshness,mean,73,0.9894,0.9829
|
| 14 |
+
biased,T7_llms_txt,last_token,19,0.9862,0.8794
|
| 15 |
+
biased,T7_llms_txt,mean,24,0.9896,0.9812
|
| 16 |
+
biased,T7_source_earned,last_token,68,0.9857,0.5644
|
| 17 |
+
biased,T7_source_earned,mean,48,0.9981,0.9856
|
| 18 |
+
biased,Y1_admission_inctx,last_token,60,0.8823,0.522
|
| 19 |
+
biased,Y1_admission_inctx,mean,56,0.8902,0.6971
|
| 20 |
+
neutral,T2a_question_headings,last_token,54,0.9868,0.8805
|
| 21 |
+
neutral,T2a_question_headings,mean,24,0.9893,0.98
|
| 22 |
+
neutral,T5_topical_comp,last_token,68,0.9649,0.8261
|
| 23 |
+
neutral,T5_topical_comp,mean,46,0.974,0.9605
|
| 24 |
+
neutral,T6_freshness,last_token,70,0.9859,0.8752
|
| 25 |
+
neutral,T6_freshness,mean,73,0.9894,0.9829
|
| 26 |
+
neutral,T7_source_earned,last_token,68,0.9805,0.5644
|
| 27 |
+
neutral,T7_source_earned,mean,48,0.9981,0.9856
|
| 28 |
+
neutral,Y1_admission_inctx,last_token,61,0.8757,0.521
|
| 29 |
+
neutral,Y1_admission_inctx,mean,53,0.8675,0.6399
|
| 30 |
+
biased_rag,T2a_question_headings,last_token,54,0.9868,0.8805
|
| 31 |
+
biased_rag,T2a_question_headings,mean,24,0.9893,0.98
|
| 32 |
+
biased_rag,T5_topical_comp,last_token,68,0.9649,0.8261
|
| 33 |
+
biased_rag,T5_topical_comp,mean,46,0.974,0.9605
|
| 34 |
+
biased_rag,T6_freshness,last_token,70,0.9859,0.8752
|
| 35 |
+
biased_rag,T6_freshness,mean,73,0.9894,0.9829
|
| 36 |
+
biased_rag,T7_source_earned,last_token,72,0.9868,0.5194
|
| 37 |
+
biased_rag,T7_source_earned,mean,48,0.9982,0.9858
|
| 38 |
+
biased_rag,Y1_admission_inctx,last_token,60,0.8651,0.4847
|
| 39 |
+
biased_rag,Y1_admission_inctx,mean,73,0.8768,0.6909
|
| 40 |
+
neutral_rag,T2a_question_headings,last_token,54,0.9868,0.8805
|
| 41 |
+
neutral_rag,T2a_question_headings,mean,24,0.9893,0.98
|
| 42 |
+
neutral_rag,T5_topical_comp,last_token,68,0.9649,0.8261
|
| 43 |
+
neutral_rag,T5_topical_comp,mean,46,0.974,0.9605
|
| 44 |
+
neutral_rag,T6_freshness,last_token,70,0.9859,0.8752
|
| 45 |
+
neutral_rag,T6_freshness,mean,73,0.9894,0.9829
|
| 46 |
+
neutral_rag,T7_source_earned,last_token,31,0.9816,0.5194
|
| 47 |
+
neutral_rag,T7_source_earned,mean,48,0.9982,0.9858
|
| 48 |
+
neutral_rag,Y1_admission_inctx,last_token,53,0.8589,0.5093
|
| 49 |
+
neutral_rag,Y1_admission_inctx,mean,60,0.87,0.6563
|
tables/saliency_summary.csv
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model,treatment,saliency_ratio,n_treatment_tokens,n_other_tokens
|
| 2 |
+
Llama-3.3-70B,T2a_question_headings,1.048,2935,104901
|
| 3 |
+
Llama-3.3-70B,T1b_stats_density,0.894,64276,104901
|
| 4 |
+
Llama-3.3-70B,T7_source_earned,0.686,10321,104901
|
| 5 |
+
Llama-3.3-70B,T3_structured_data_new,0.189,66,104901
|
| 6 |
+
Qwen-2.5-72B,T1b_stats_density,1.93,106258,104754
|
| 7 |
+
Qwen-2.5-72B,T7_source_earned,1.074,10329,104754
|
| 8 |
+
Qwen-2.5-72B,T2a_question_headings,0.904,2935,104754
|
| 9 |
+
Qwen-2.5-72B,T3_structured_data_new,0.401,66,104754
|
tables/table2_dml_headline.csv
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
outcome,treatment,coef,se,ci_lo,ci_hi,p_val,sig_stars,n,coef_promoter_dir
|
| 2 |
+
selected,T1b stats density,-0.0005,0.0003,-0.0011,0.0001,0.12311,,200000,-0.0005
|
| 3 |
+
selected,T2a Q-headings,0.0156,0.0029,0.0099,0.0214,0.0,***,200000,0.0156
|
| 4 |
+
selected,T3 schema (JSON-LD),-0.0141,0.0031,-0.0201,-0.0081,0.0,***,200000,-0.0141
|
| 5 |
+
selected,T4 citation authority,0.0009,0.0007,-0.0004,0.0023,0.18613,,185176,0.0009
|
| 6 |
+
selected,T5 topical competence,0.0366,0.0095,0.018,0.0553,0.00012,***,200000,0.0366
|
| 7 |
+
selected,T6 freshness,-0.0047,0.0008,-0.0064,-0.0031,0.0,***,200000,-0.0047
|
| 8 |
+
rank_delta,T1b stats density,-0.0027,0.0027,-0.0079,0.0025,0.31517,,200000,-0.0027
|
| 9 |
+
rank_delta,T2a Q-headings,0.1359,0.0245,0.0879,0.1839,0.0,***,200000,0.1359
|
| 10 |
+
rank_delta,T3 schema (JSON-LD),-0.0506,0.0245,-0.0987,-0.0025,0.0392,*,200000,-0.0506
|
| 11 |
+
rank_delta,T4 citation authority,-0.0234,0.0087,-0.0405,-0.0063,0.00738,**,200000,-0.0234
|
| 12 |
+
rank_delta,T5 topical competence,-0.5303,0.0747,-0.6767,-0.3838,0.0,***,200000,-0.5303
|
| 13 |
+
rank_delta,T6 freshness,-0.0608,0.0066,-0.0737,-0.0478,0.0,***,200000,-0.0608
|
| 14 |
+
post_rank,T1b stats density,-0.0015,0.0019,-0.0052,0.0021,0.40542,,200000,0.0015
|
| 15 |
+
post_rank,T2a Q-headings,-0.0408,0.0187,-0.0774,-0.0042,0.02907,*,200000,0.0408
|
| 16 |
+
post_rank,T3 schema (JSON-LD),0.0949,0.0196,0.0565,0.1332,0.0,***,200000,-0.0949
|
| 17 |
+
post_rank,T4 citation authority,-0.0154,0.0066,-0.0283,-0.0025,0.01905,*,200000,0.0154
|
| 18 |
+
post_rank,T5 topical competence,-0.2995,0.0601,-0.4172,-0.1818,0.0,***,200000,0.2995
|
| 19 |
+
post_rank,T6 freshness,0.0051,0.0053,-0.0052,0.0154,0.3334,,200000,-0.0051
|
verify.py
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""verify.py — read every condensed table and print/assert each paper claim.
|
| 3 |
+
|
| 4 |
+
Run from the reviewer-pack root:
|
| 5 |
+
|
| 6 |
+
python verify.py
|
| 7 |
+
|
| 8 |
+
Exits with code 0 if all assertions pass (within a 2e-3 tolerance on
|
| 9 |
+
coefficient values), prints any mismatches otherwise.
|
| 10 |
+
"""
|
| 11 |
+
from __future__ import annotations
|
| 12 |
+
|
| 13 |
+
import sys
|
| 14 |
+
from pathlib import Path
|
| 15 |
+
|
| 16 |
+
import pandas as pd
|
| 17 |
+
|
| 18 |
+
ROOT = Path(__file__).resolve().parent
|
| 19 |
+
TABLES = ROOT / "tables"
|
| 20 |
+
|
| 21 |
+
TOL = 2e-3 # tolerance on coef/AUC equality checks
|
| 22 |
+
|
| 23 |
+
def banner(s: str) -> None:
|
| 24 |
+
print(f"\n{'═' * 78}\n {s}\n{'═' * 78}")
|
| 25 |
+
|
| 26 |
+
def claim(desc: str, actual: float, expected: float, tol: float = TOL) -> bool:
|
| 27 |
+
ok = abs(actual - expected) <= tol
|
| 28 |
+
tick = "PASS" if ok else "FAIL"
|
| 29 |
+
print(f" [{tick}] {desc}\n actual={actual:.4f} expected={expected:.4f} diff={abs(actual-expected):.4f}")
|
| 30 |
+
return ok
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
def main() -> int:
|
| 34 |
+
fails = 0
|
| 35 |
+
|
| 36 |
+
# ─── Table 2 (DML Spec B POOLED) ────────────────────────────────
|
| 37 |
+
banner("Table 2 — DML Spec B headline (mutually-controlled, 6 treatments)")
|
| 38 |
+
t2 = pd.read_csv(TABLES / "table2_dml_headline.csv")
|
| 39 |
+
print(t2.to_string(index=False))
|
| 40 |
+
|
| 41 |
+
# Sample assertions — the paper's headline numbers
|
| 42 |
+
def lookup(outcome: str, t_pretty: str) -> float:
|
| 43 |
+
sub = t2[(t2.outcome == outcome) & (t2.treatment == t_pretty)]
|
| 44 |
+
return float(sub.iloc[0]["coef"])
|
| 45 |
+
|
| 46 |
+
banner("DML claim checks")
|
| 47 |
+
fails += not claim("T5 topical comp. selected", lookup("selected","T5 topical competence"), +0.037, tol=0.005)
|
| 48 |
+
fails += not claim("T2a Q-headings selected", lookup("selected","T2a Q-headings"), +0.016, tol=0.005)
|
| 49 |
+
fails += not claim("T3 schema selected", lookup("selected","T3 schema (JSON-LD)"), -0.014, tol=0.005)
|
| 50 |
+
fails += not claim("T6 freshness selected", lookup("selected","T6 freshness"), -0.005, tol=0.005)
|
| 51 |
+
fails += not claim("T5 topical comp. rank_delta", lookup("rank_delta","T5 topical competence"), -0.530, tol=0.02)
|
| 52 |
+
fails += not claim("T2a Q-headings rank_delta", lookup("rank_delta","T2a Q-headings"), +0.136, tol=0.02)
|
| 53 |
+
fails += not claim("T3 schema post_rank", lookup("post_rank","T3 schema (JSON-LD)"), +0.095, tol=0.01)
|
| 54 |
+
|
| 55 |
+
# ─── Admission probe headline ───────────────────────────────────
|
| 56 |
+
banner("Admission probe — pre-commitment headline (mean pooling)")
|
| 57 |
+
adm = pd.read_csv(TABLES / "admission_probe_headline.csv")
|
| 58 |
+
pooled = adm[adm.pooling == "mean"].mean(numeric_only=True)
|
| 59 |
+
print(adm[adm.pooling == "mean"].round(4).to_string(index=False))
|
| 60 |
+
|
| 61 |
+
banner("Admission probe claim checks (variant-averaged)")
|
| 62 |
+
fails += not claim("Layer 0 ROC AUC", pooled["layer_0"], 0.671, tol=0.02)
|
| 63 |
+
fails += not claim("Peak ROC AUC", pooled["auc_peak"], 0.860, tol=0.02)
|
| 64 |
+
fails += not claim("L0 → peak gain", pooled["delta_L0_to_peak"], 0.190, tol=0.03)
|
| 65 |
+
|
| 66 |
+
# ─── Saliency headline ──────────────────────────────────────────
|
| 67 |
+
banner("Saliency — Llama vs Qwen on 4 treatments")
|
| 68 |
+
sal = pd.read_csv(TABLES / "saliency_summary.csv")
|
| 69 |
+
print(sal.to_string(index=False))
|
| 70 |
+
|
| 71 |
+
banner("Saliency claim checks")
|
| 72 |
+
def sal_ratio(model: str, t: str) -> float:
|
| 73 |
+
return float(sal[(sal.model == model) & (sal.treatment == t)].iloc[0]["saliency_ratio"])
|
| 74 |
+
fails += not claim("Qwen attends to T1b stats (>>1)", sal_ratio("Qwen-2.5-72B", "T1b_stats_density"), 1.93, tol=0.05)
|
| 75 |
+
fails += not claim("Llama ~baseline on T1b (<1)", sal_ratio("Llama-3.3-70B","T1b_stats_density"), 0.89, tol=0.05)
|
| 76 |
+
fails += not claim("Llama ignores T3 schema (<<1)", sal_ratio("Llama-3.3-70B","T3_structured_data_new"),0.19, tol=0.05)
|
| 77 |
+
fails += not claim("Qwen ignores T3 schema (<<1)", sal_ratio("Qwen-2.5-72B", "T3_structured_data_new"),0.40, tol=0.05)
|
| 78 |
+
|
| 79 |
+
# ─── Ablation headline ──────────────────────────────────────────
|
| 80 |
+
banner("Ablation — mean Δrank per (treatment, prompt) on full frame")
|
| 81 |
+
abl = pd.read_csv(TABLES / "ablation_summary.csv")
|
| 82 |
+
full_abl = abl[abl.frame == "full"]
|
| 83 |
+
print(full_abl.to_string(index=False))
|
| 84 |
+
|
| 85 |
+
banner("Ablation claim checks")
|
| 86 |
+
def abl_mean(treatment, prompt) -> float:
|
| 87 |
+
sub = full_abl[(full_abl.treatment == treatment) & (full_abl.prompt == prompt)]
|
| 88 |
+
return float(sub.iloc[0]["mean_delta_r"])
|
| 89 |
+
fails += not claim("T5 sign flip — biased (promotes URL)", abl_mean("T5_topical_comp","biased"), -0.167, tol=0.03)
|
| 90 |
+
fails += not claim("T5 sign flip — neutral (demotes URL)", abl_mean("T5_topical_comp","neutral"), +0.038, tol=0.03)
|
| 91 |
+
|
| 92 |
+
print()
|
| 93 |
+
print(f"{'═' * 78}")
|
| 94 |
+
if fails:
|
| 95 |
+
print(f" {fails} claim(s) FAILED — please inspect the printed values.")
|
| 96 |
+
return 1
|
| 97 |
+
print(" All paper claims VERIFIED against the tables.")
|
| 98 |
+
return 0
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
if __name__ == "__main__":
|
| 102 |
+
sys.exit(main())
|