Repository navigation
feat(eval): track Supersede supersession gap and add offline scaffold - #106
autohub-claude[bot] wants to merge 4 commits into
Conversation
Track arXiv:2606.27472 (bounded self-maintained memory vs full context on LongMemEval knowledge-update). Apache-2.0 code and MIT dataset pinned by commit/revision/sha256 in docs/eval/supersede.md. runners/supersede_gap is stdlib-only and offline: it fails closed on the pinned oracle file, builds deterministic plain / supersede_oracle write plans (has_answer labels never reach a payload), defines the current/stale/other classifiers, and emits a not_scored report with cold and matured slots. Paper numbers are baselines, never AutoMem scores. Refs #105 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Local pre-PR review (P2): session order does not establish stale vs current on the pinned oracle file. 9 knowledge-update questions ask for the earlier value (initially / previous / before X) and 5 need both, so marking the earlier evidence stale, and invalidating it in supersede_oracle, would hit the evidence that holds the gold (e.g. 07741c44, 9bbe84a2, 031748ae). Annotate them (HISTORICAL / MIXED, hand-audited over all 72 non-abstention questions with a gold-in-flagged-turn cross-check) and report them as their own strata, excluded from the three rates and from oracle links like abstention. Pinned shape is now both_labeled 56, late_only 2, historical 9, mixed 5, abstention 6: 58 scored questions and 58 oracle links (was 72). Refs #105 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Local review round 2 (P2): on the pinned file, 3 scorable questions (2133c1b5, 7a87bd0c, e61a7584) start their later session hours after question_date (same day). The probe's end = question_date cutoff would hide every turn of that session, so no write path could ever yield a current verdict, even in the oracle arm. Derive a clock_conflict stratum (any evidence turn at or after question_date; equality counts because end inclusivity is unverified) and exclude it from the three rates and from oracle links. end keeps its documented meaning: reconciling it is left as an owner decision for the live adapter. Pinned shape: both_labeled 53, late_only 2, historical 9, mixed 5, clock_conflict 3, abstention 6 -> 55 scored questions, 55 oracle links. Refs #105 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f12cde8c77
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Codex review (P2, adapter.py classify_text): with no stale-value sidecar the only way to call classify_text was an empty collection, which made every answer look stale-free. aggregate then accepted those verdicts as fully scored: stale rate 0.0 even when every answer held the obsolete value, and an answer holding both values read as current. That contradicts the documented contract that answer-level stale stays null without annotations. stale_values=None now means "annotation unavailable": classify_text returns class null with detail stale_values_unlabeled, and aggregate reports not_scored for that reason instead of producing rates. An explicit empty collection still means "annotated: no stale value". The test that pinned the old empty-list behaviour is replaced. Refs #105 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Babysit: verified green at
Agent did not merge. Tracks #105. |
|
Closed in the pre-launch backlog sweep. This item has no AutoMem score and no product decision waiting on it. The branch is kept, and the lead is carried in the benchmark watchlist ( Comes back when: a no-reader retrieval smoke on local embeddings is approved and the live adapter is written. Reopening is fine at any time. |
Summary
Refs #105 (tracking issue; it keeps open checklist items, so this is deliberately not a closing reference).
docs/eval/supersede.mdtracks arXiv:2606.27472 "Supersede": license check (code Apache-2.0, dataset MIT), pins by commit/revision/sha256, the mapping to AutoMem (supersedes_memory_id,t_invalid,INVALIDATED_BY,current_onlyrecall), theplainvssupersede_oraclevariants, current/stale/other scoring, and cold/matured reporting perdocs/eval/maturation.md. Paper numbers are listed as baselines on a different construct. They are never AutoMem scores.runners/supersede_gap/is an offline scaffold: stdlib only, no network, no model calls, no AutoMem calls, no upstream code or data vendored. It fails closed on the pinnedlongmemeval_oracle.json(sha256 + shape), builds deterministic write plans, defines the retrieval- and answer-level classifiers, and can only emit anot_scoredreport (paper_comparable: false,matured: not_run).runners/test_supersede_adapter.py: 28 unit tests (SUPERSEDE_ORACLE_JSON=<file>adds a pinned-file shape test).Review Contract
has_answerlabels, so it is an upper bound for the read path, not a measure of AutoMem detecting revisions.has_answernever reaches a write payload (tested).nullunless every scorable question has a verdict.Two local review findings, fixed before opening this PR
Both were verified against the sha256-pinned file before fixing.
07741c44"initially keep my old sneakers",9bbe84a2"previous goal",031748ae). They are now annotated (HISTORICAL/MIXED; one reviewer's audit of all 72 non-abstention questions, cross-checked by searching the gold in the flagged turns) and form their own strata.2133c1b5,7a87bd0cande61a7584the whole later session starts hours afterquestion_date(same day), soend = question_dateexcludes it and no write path could answer them. They form a derivedclock_conflictstratum.endkeeps its documented meaning; reconciling it is left as an owner decision for the live adapter.Pinned shape:
both_labeled53,late_only2,historical9,mixed5,clock_conflict3,abstention6, so 55 scored questions and 55 oracle links. The 70 / 72 figures in #105's body predate these corrections; the doc is current. The local review gate is capped at two iterations, so the second fix has focused tests but no third local pass.Verification
python3.12 -m unittest discover -s runners -p 'test_*.py': 265 tests OK (14 skipped)python3.12 -m unittest discover -s scripts -p 'test_*.py': 63 tests OK821a2034...620c, re-hashed after download):SUPERSEDE_ORACLE_JSON=... python3.12 -m unittest runners.test_supersede_adapterOK, 28 tests, 0 skipped. A CLI run on the pinned file wrote anot_scoredreport with 55 oracle links, none on an excluded stratum.Risk notes
docs/experiments/registry and dashboard are untouched (as in the sibling scaffold PRs feat(eval): add memprobe offline adapter scaffold #101 and feat(eval): add mempoison offline adapter scaffold #103).Implementation harness: Claude Code (claude-sonnet-5-5) via the AutoHub kernel worker. GitHub identity: AutoHub GitHub App.
🤖 Generated with Claude Code