Repository navigation
Look up paper titles outside the catalog and say what a miss tried - #30
Merged
Merged
Conversation
About 30 of 39 production get_paper_info errors were titles of classics missing from the catalog. The public-metadata route rejects titles, and the MCP then claimed no Hugging Face Papers, arXiv, or Crossref record matched. A title the identifier route rejects now goes to the backend's exact-title search (papers/public-metadata/search). A paper matched only by its "Name:" prefix says that the full title differs. Misses now say whether an identifier or a title was tried, or that the lookup was down, and transient failures are no longer reported as not found. list_benchmarks with minimum_evaluations=0 sent min_eval_count=0, which the flat listing rejects with a 422. Values below 1 are now omitted there, which means no minimum; the grouped listing keeps 0. Bump pwc-mcp to 0.2.9. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Why
In the 32 h to 2026-10-16, ~30 of 39 production
pwc_get_paper_infoerrors were title lookups of papers missing from the catalog.public_papersent titles topapers/{ref}/public-metadata, which rejects them (400). The MCP then said "no public Hugging Face Papers, arXiv, or Crossref record matched it", which was false.Depends on huggingface/paperswithcode#552, which adds
GET /papers/public-metadata/search?title=.What
CatalogClient.public_paperreturns a record or aPublicPaperMiss(reason). When the identifier route returns 400, the reference goes to the title search, and the record carriesrequested_title.Name:prefix gets a note:No paper is titled exactly "…"; this is the paper with the same name, titled "…".list_benchmarksbug:minimum_evaluations=0(or a negative value) is omitted for the flat listing. Its API rejects 0 (ge=1), and omitting the value means no minimum. The grouped listing accepts 0 and keeps it.Verification
uv run --project mcp_server pytest mcp_server/tests: 79 passed. New tests cover the title fallback and caching, each miss wording, the renamed-title note, andminimum_evaluations0/-3/2/grouped.get_paper_infoagainst a local backend running #552 (port 8137), with live arXiv and Crossref:in_catalog=false, 1912.08531 (arXiv abs, PDF, code), with the renamed-title note. Chat's subtitle was wrong.in_catalog=false, arXiv 2007.06866 abs and PDF.in_catalog=false, Crossref DOI 10.1109/83.902291.list_benchmarks(task=image-classification, minimum_evaluations=0): OK.Chat-related: not merged or deployed without explicit approval. Merge after #552 is live, then redeploy the MCP.
🤖 Generated with Claude Code