This guide outlines how to verify HalfLife's temporal reranking logic across three layers: Proof, Scientific IR Metrics, and Unit Integrity.
Ensure your infrastructure is running:
docker-compose up -d qdrant redisRun the E2E demo to see HalfLife defeat the "Authority Trap" across 5 domains (AI, Web, Python, Consensus, Data).
halflife demoGoal: Verify that GPT-5 (2026) correctly overrides BERT (2018) when the query includes "today" or "latest".
Run the Temporal Confusion Benchmark (TCB) to aggregate reproducible metrics (nDCG, MRR, TF).
halflife benchmark- nDCG@3: Normalized Discounted Cumulative Gain.
- MRR: Mean Reciprocal Rank.
- TF (Temporal Freshness): % of results that are from the target era.
Compare HalfLife against 4 different temporal variants (Exponential, Linear, Learned, Baseline).
halflife evaluate --ablationVerify the core engine and store logic.
pytestTo verify the LangChain or LlamaIndex SDKs, see the snippets in README.md.