Skip to content

analysis: retrieval cost, eligibility and conv-47 misses - #561

Open
fazpu wants to merge 4 commits into
mainfrom
analysis/retrieval-cost-conv47-20261109
Open

fazpu wants to merge 4 commits into
mainfrom
analysis/retrieval-cost-conv47-20261109

Conversation

@fazpu

@fazpu fazpu commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Summary

Record the retrieval-cost discussion in a detailed, non-binding analysis so the rationale, correctness constraints and alternatives survive the conversation. The owner authorized this analysis PR and measurement of existing behavior, then reinspection of conv-47's three misses. Optimization, ranking, history-policy and grader changes are not implemented here.

The analysis covers deployment versus project identity; document/version visibility and SQL filtering; one-snapshot eligibility and repeated work; candidate pools versus final results; loading selected content only; entity membership versus coverage-first ranking; representation consistency; immutable claims versus fact supersession; and historical retrieval metadata. It links the accepted D3/D56/D140/D142 contracts and inspected source.

Completed: detailed analysis, five-pass stage measurements, three representative query plans, three separate live embedding probes, product-fingerprint verification, GCS report verification and source-based inspection of all three latest misses. The owner authorized ANTIGRAVITY after Opus provider quota blocked review. Actual Gemini 4 Argon (High), invoked with --print-timeout 180m0s, APPROVED exact head bc9ff4b with no blockers. Final CI is green (integration/image checks path-filtered for analysis-only scope). No Opus sign-off is claimed. Existing full benchmark remains paused. No ingestion or answer/judge rerun is planned for this task.

Verification

Initial source inspection: engine main fb4a5f5. The relevant query engine, PostgreSQL P1 adapter and text-scope code are unchanged from the measured #542 merge. 120 direct-engine operations completed with zero negative results. Median facts/claims-sources wall times were 2.253s/1.478s with saved vectors, excluding live embedding and HTTP. Mixed eligibility/content SQL remains expensive; raw chunk-body reads and serialization are small. All 15 checked product fingerprints match. The original canonical score stays 17/20; all three references reached the reader. Two answers require inference of different strength; the third reference resolves to April 18 despite the April-10 question. The temporary database was removed after verified off-host archival. D56 reuse identities and all production code remain unchanged.

Contributor agreement

Signing on behalf of a legal entity (leave blank if accepting individually):

Proposed answering follow-up: compare general qualified-inference guidance on frozen context before a full-loop/held-out check; audit omission of explicitly stated physical constraints and exercise intentions without deriving diagnoses; maintain the April-10/April-18 source discrepancy alongside the unchanged canonical score. No prompt, judge, extraction or reference adjustment is implemented in this analytical PR.

@fazpu
fazpu marked this pull request as ready for review November 9, 2026 10:03

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant