Repository navigation
Cached-score reproduction
Companion package for the paper:
Preference Is Not Position: Evaluating Reranking on NevIR in Fixed Hybrid Candidate Pools
Purpose
Replays the evaluation from saved per-query scores and regenerates the paper's
three tables, two figure data sets, and the auxiliary tiebreak results.
No GPU, API keys, or Qdrant service is required. You do not need to clone this
repository or install the full LinkRag-Eval project or its production dependencies.
Download and run
Download the standalone reproduction package
Use Python 3.11 or later. NumPy, pinned in requirements.txt, is the only
third-party dependency. On macOS or Linux, run:
curl -fL -o linkrag-nevir-reproduction.zip \
https://github.com/ql-link/LinkRag-Eval/releases/download/reproduction/linkrag-nevir-reproduction.zip
unzip linkrag-nevir-reproduction.zip
cd linkrag-nevir-reproduction
python3 -m venv .venv
.venv/bin/python -m pip install -r requirements.txt
.venv/bin/python -B -m unittest -v test_reproduction
.venv/bin/python -B reproduce.py --output reproducedUse a new output directory for each run; reproduced must not already exist.
Expected results
The tests should report 10 tests passed. The replay should finish with
VERIFIED_CACHE_REPLAY in reproduced/verification.json.
Output in reproduced/ |
Paper material |
|---|---|
table1-populations.csv |
Table I: evaluation populations |
table2-main.csv |
Table II: main comparison |
table3-l1-l2.csv |
Table III: pair-only and window scoring |
figure1-preference-position.csv |
Figure 1 data for all five methods |
figure2-decision-decomposition.csv |
Figure 2 decision-decomposition data |
auxiliary-tiebreak.csv |
Auxiliary tie-breaking results |
The package also writes detailed JSON results. Figure outputs are data sets,
not rendered copies of the paper figures. See the bundled README and scripts
for metric definitions and the mapping from saved inputs to outputs.
Scope and verification
This is a cached-score evaluation replay. It does not retrain models, run
live model inference, rebuild the retrieval pipeline, or reproduce timing
measurements. The cached scores are inputs to the evaluation.
On 2026-09-21, the public attachment was downloaded without authentication and
verified in a fresh virtual environment on macOS arm64 with Python 3.11.15 and
NumPy 2.4.6. All 10 bundled tests passed; the replay returned
VERIFIED_CACHE_REPLAY, verifying the checksums of 38 packaged files and
comparing 96,572 scalar fields (integers exactly, floating-point values with
absolute tolerance 1e-12).
Documentation note: the frozen archive's README retains an earlier
-v1.zip filename and a repository-cloning example. Use the filename and
standalone commands on this page. Its SELF_CHECK.md records an earlier
eight-test check; the ten-test result above is the current verification.
Attachment
linkrag-nevir-reproduction.zip— 40,912,182 bytes- SHA256:
d1ac1a19a29fb302fd7901a5853a5c8179ee17f21bb32d0f86cb9e38b46b6332
Use the attached linkrag-nevir-reproduction.zip. GitHub's automatically
generated Source code archives do not include the cached-score data package.