Repository navigation
Conversation
- temporal.py: temporal expression parser -> (lo,hi) window; patterns: last-N, N-days/weeks-ago (digits+words), last week/month, between X-Y, before/after month, in-month, this month/year - boost_ranking(): additive RRF boost for in-window sessions - run_eval.py: --temporal flag (default OFF) + --temporal-boost (0.0022) - modal_fast50.py: bake temporal.py into image; LMEVAL_TEMPORAL=1 passthrough - test_temporal.py: 21 unit tests (parser + boost math), all passing
…volume cache Two bugs in the A/B harness found before burning Modal credits: - LMEVAL_TEMPORAL was read at module level inside the container, so the env var never reached the worker: a --temporal run would silently execute the baseline. The flag now travels through the shard spec. - Shard cache keyed only by strategy: a temporal shard would resume from the stale 470Q baseline volume entry. Volume paths are now variant-keyed (hybrid vs hybrid_temporal).
ajianaz
force-pushed
the
test/1119-temporal-boost
branch
from
August 27, 2026 03:25
d6dd72c to
db6b5ff
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Why
Temporal reasoning is the single largest measured gap (12.8 Q-worth of k10→k5 loss in the 500Q run). Sessions with relevant dates systematically lose to old distractors because embeddings cannot see dates. A harness-side date-window boost is zero-model post-processing — consistent with the single-model (EmbeddingGemma) decision; no new downloads, no runtime deps. Default OFF preserves baseline behavior for A/B.
Testing