Repository navigation
Fix paper identity, Qwen-assisted PDF metadata, and chat evidence - #2
Merged
Merged
Conversation
QinXi-ai
force-pushed
the
codex/search-evidence-fixes
branch
from
September 6, 2026 14:58
afa5f09 to
ea40f8b
Compare
QinXi-ai
marked this pull request as ready for review
September 7, 2026 02:13
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.
Problem and behavior
Search could merge an original with a same-title repost. PDF imports could put license prose in the title, lose multiline titles and omit publication years. Chat retrieval omitted nearby explanations, and Web formulas appeared as plain Markdown.
Add independent arXiv discovery and prevent title-only/conflicting-DOI merges. PDF imports now combine geometry, optional source-located workspace-model extraction (including configured Qwen 27B), and exact arXiv/DOI lookup with title agreement. Conflicts and unknown fields remain explicit. Import UI/API reuse provider ownership, quota and dispatch protection; model failure has a visible fallback. Reimporting identical content can publish corrected metadata without downgrading an already verified version.
Chat context includes neighboring chunks/pages within a bounded source budget, preserves formula line breaks and renders KaTeX. Mixed valid/invalid citation answers are rejected, and location checks remain distinct from independent claim support. Download timeouts retain their type for existing pre-dispatch retries.
See
docs/PDF_METADATA.mdfor configuration and boundaries. Existing libraries are corrected by reimport, not automatically rewritten.Validation
Remaining limits
Real Qwen inference and real-model answer correctness are NOT_TESTED; no production credentials were used. Public arXiv PDF downloads remain intermittent (an actual read timeout was captured); upload succeeds and retry boundaries have automated coverage. Scanned PDF OCR and full formula-layout recovery are outside this change. Model source location is not semantic verification. No deployment or merge has been performed.