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.
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), counterfactual pairs are each evaluated across two document presentation orders under three prompt conditions: Baseline (), a 77-word Generic Control (), and a 77-word Evidence-Check instruction (). Let denote whether condition answers both counterfactual variants of pair under order accurately. Within each pair cluster, order outcomes are averaged first:
Because repeated orders and templated variants are dependent observations, resampling operates at the pair cluster 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% | ([-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
Referenced Artifacts & Sources
- EvidenceShift v2 Repository & Frozen Study Package (Alhibb/EvidenceShift). [https://github.com/Alhibb/EvidenceShift/blob/main/evidenceshift_v2/README.md] ↗
- EvidenceShift Counterfactual Challenge Study (challenge_v2/README.md). [https://github.com/Alhibb/EvidenceShift/tree/main/evidenceshift_v2/challenge_v2] ↗