EvidenceShift v2 Protocol Reference: Freeze Digests, Serial Rate Pacing & Paired Cluster Scoring

Source-derived technical specification of the EvidenceShift Python 3.10+ evaluation runner, SHA-256 pre-run freezes, family/pair bootstrap estimators and construct-validity diagnostics.

Provenance & attribution: Protocol notes from Alhibb/EvidenceShift (evidenceshift_v2/README.md and challenge_v2/README.md). Working study, not peer-reviewed. Inspect upstream source ↗

Scope of the Protocol

EvidenceShift evaluates the answering stage of a document-grounded assistant in isolation using Python’s standard library (Python 3.10+, tested on 3.12.14) with zero external pip dependencies1. Rather than combining live web retrieval with generation, every case supplies a fixed packet of synthetic policy documents that may disagree in operative date, institutional authority, or completeness.

Cryptographic Freeze Before Execution

To prevent accidental post-hoc tuning of prompts or answer keys after inspecting model outputs, evidenceshift.py computes a deterministic SHA-256 freeze manifest covering the runner source, prompts, protocol, and dataset splits before test execution:

# Validate dataset structure and run the 24-test offline suite
python3 evidenceshift.py validate
python3 -m unittest discover -s tests -v

# Reproduce completed Gemini 3.8 Flash pilot analyses completely offline
python3 frozen_study/evidenceshift.py analyze runs/gemini-dev
python3 frozen_study/evidenceshift.py analyze runs/gemini-test

Any modification to a frozen file requires generating a new freeze manifest and writing outputs to a separate run directory; the analyzer refuses mismatched hashes or truncated JSONL records.

Paired Difference & Exploratory Cluster Bootstrap

In the counterfactual follow-up (challenge_v2), K=12K = 12 counterfactual pairs are each evaluated across two document presentation orders o∈{1,2}o \in \{1, 2\} under three prompt conditions: Baseline (BB), a 77-word Generic Control (GG), and a 77-word Evidence-Check instruction (EE). Let Yk,o(c)∈{0,1}Y_{k,o}^{(c)} \in \{0, 1\} denote whether condition cc answers both counterfactual variants of pair kk under order oo accurately. Within each pair cluster, order outcomes are averaged first:

Yˉk(c)=12(Yk,1(c)+Yk,2(c)),Δ^E−G=1K∑k=1K(Yˉk(E)−Yˉk(G))\bar{Y}_k^{(c)} = \frac{1}{2}\left(Y_{k,1}^{(c)} + Y_{k,2}^{(c)}\right), \qquad \hat{\Delta}_{E - G} = \frac{1}{K}\sum_{k=1}^{K}\left(\bar{Y}_k^{(E)} - \bar{Y}_k^{(G)}\right)

Because repeated orders and templated variants are dependent observations, resampling operates at the pair cluster k∈{1,…,12}k \in \{1, \dots, 12\} rather than treating the 144 individual API calls as independent trials2.

Empirical Summary Across Both Studies

Study Split Cases / Pairs API Calls Baseline Generic Control Evidence-Check Primary Diagnostic
Initial Pilot 40 cases (10 families) 160 100.0% n/a 100.0% Ceiling effect (+11.3% tokens)
Challenge v2 12 counterfactual pairs 144 79.2% 83.3% 75.0% Δ^E−G=−8.33 pp\hat{\Delta}_{E-G} = -8.33\text{ pp} ([-20.83, 0.0])

Construct-Validity Guardrail

Post-hoc inspection of challenge_v2/runs/test/error_audit.csv showed that all 25 scored failures (24 abstentions plus one response exceeding the explanation length limit) questioned whether unlabelled packet documents applied to the organization named in the question. Consistent with pre-freeze rules, labels were not edited to inflate accuracy; instead, the finding is documented as a benchmark construct-validity lesson, and blinded exports (review_blinded.csv) remain separated from review_private_key.json pending independent human semantic review.

Footnotes

  1. No network call occurs during validate, freeze, --plan, analyze, or unit tests. ↩

  2. With K=12K = 12 clusters, bootstrap intervals quantify exploratory sample variability only and do not support universal claims about prompting strategies. ↩

Referenced Artifacts & Sources

  1. EvidenceShift v2 Repository & Frozen Study Package (Alhibb/EvidenceShift). [https://github.com/Alhibb/EvidenceShift/blob/main/evidenceshift_v2/README.md] ↗
  2. EvidenceShift Counterfactual Challenge Study (challenge_v2/README.md). [https://github.com/Alhibb/EvidenceShift/tree/main/evidenceshift_v2/challenge_v2] ↗