REVIEW 4 major objections 6 minor 18 references
PseudoSeer: a Search Engine for Pseudocode
T0 review · 4 major / 6 minor · reviewed 2026-08-12 · deepseek-v4-flash
Pith's one-line read PseudoSeer is a search engine that retrieves academic papers by indexing and ranking the pseudocode inside them, alongside title, abstract, author, and reference fields.
desk verdict A plausible, clearly-described pseudocode search engine with no quantitative evaluation — the artifact is new but the effectiveness claim remains unverified. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The load-bearing mechanism is a weighted BM25 ranking over an inverted-index search engine with five facets: title, abstract, authors, references, and LaTeX pseudocode. BM25 scores documents by query-term frequency with saturation, inverse document frequency, and length normalization; the engine multiplies field scores by hand-selected weights—2 for title, abstract, and references, 1 for LaTeX and authors—so a combined query ranks a paper by the sum of its per-field BM25 scores. The distinctive choice is tokenizing raw LaTeX as ordinary text, which keeps commands such as \For and \If in the index and preserves the structure of the pseudocode.
What would settle it
Take a set of, say, 50 papers with pseudocode and a list of queries with known relevant results; run the engine under three conditions—raw LaTeX tokens with the stated weights, stripped LaTeX with equal weights, and raw LaTeX with equal weights—and have raters score the top results. If the stated configuration does not rank known-relevant papers above the alternatives, the engine's ranking advantage is not supported.
Extended reading notes
Core claim
The paper's central claim is that a pseudocode search engine can retrieve relevant academic documents by indexing and ranking the raw LaTeX of algorithm environments alongside standard bibliographic fields. The system stores pseudocode as tokenized text without stripping LaTeX commands, so structural markers such as \For and \If are searchable, and it indexes surrounding reference text for thematic queries. Retrieval uses BM25 with field weights: title, abstract, and references are weighted 2, while LaTeX pseudocode and authors are weighted 1. Combined facet searches sum these weighted scores, and quoted phrases trigger exact matching. The paper presents the design and shows results pages, treating manual inspection of those pages as the current evaluation.
Load-bearing premise
The load-bearing premise is that the two hand-chosen indexing and ranking choices—keeping raw LaTeX commands as searchable tokens and giving title/abstract/references twice the weight of LaTeX/author fields—produce results users find relevant; the paper does not run an experiment that compares them to alternatives.
Editorial extensions
If this is right
- Users can locate papers by the algorithms they contain, for example by searching the LaTeX facet for a loop or conditional structure, not just by keywords in the title or abstract.
- Combined facet searches let a researcher intersect an author name with a pseudocode construct, a capability ordinary academic search engines do not offer.
- Quoted exact-match queries give a way to find papers containing a precise phrase such as "bubble sort" within a chosen field.
- The weighted BM25 scheme provides a deterministic ranking for both single-field and multi-field queries over a corpus of about 320,000 pseudocode blocks.
Reading between the lines
- The raw-LaTeX tokenization implies that queries phrased in natural language, such as "a loop that checks a condition," will not match code tokens like \If; a normalization or synonym layer would be needed, which the paper leaves for future work.
- Because extraction depends on the \begin{algorithm} environment, the engine's coverage is bounded by that convention; measuring recall against a hand-labeled sample of papers with pseudocode in other formats would quantify the gap.
- The same facet-weighted BM25 recipe could transfer to other structured document content such as equations, tables, or figures, since the paper's real contribution is showing that structural markup can be indexed as text.
- The field weights are chosen rather than learned or tested; a user study or offline relevance benchmark comparing the stated weights against equal weights would directly test their effect.
Signed reviews
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper describes PseudoSeer, an Elasticsearch-based search engine that indexes arXiv papers containing LaTeX-style pseudocode and allows facet-based retrieval over titles, abstracts, authors, references, and pseudocode snippets. The authors describe data collection from the arXiv-pseudocode dataset of about 320,000 snippets from 2.2 million papers, a tokenization and indexing strategy that retains raw LaTeX commands for code fields, a weighted BM25 ranking scheme with hand-set field weights, and a web interface. The evaluation consists of manually inspecting a few example queries, and the paper states that enhanced evaluation is future work.
Significance. If the system's ranking were validated, this would be a useful tool for searching algorithm and pseudocode content in the academic literature, complementing prior work on formula search and structured-document retrieval. The paper's concrete description, the availability of the underlying arXiv-pseudocode dataset, and the demonstration of a working interface are strengths. However, the central usability claim—that PseudoSeer 'facilitates efficient retrieval'—is not supported by any quantitative or user-based evaluation, and the ranking weights and indexing choices are justified only by assertion. The significance is therefore conditional on future validation.
major comments (4)
- [Section 7 (Evaluation)] The paper's only evaluation is manual inspection of a few demo queries, and Section 7 explicitly states that 'Enhanced evaluation will be a focus of future.' Because the abstract and introduction claim that PseudoSeer 'facilitates efficient retrieval' of papers containing pseudocode, the absence of a relevance test is load-bearing. Please add a quantitative evaluation, such as known-item retrieval, a judged relevance set with precision/recall or nDCG, or at least a user study, and compare against a baseline such as an unweighted BM25 search over the same fields.
- [Section 6 (Ranking)] The field weights (1 for LaTeX and authors, 2 for title and abstract) are chosen by assertion, described only as 'based on the potential relevance of the fields in real-world use cases.' No experiments, ablations, sensitivity analysis, or user data support these values. Since ranking is the user-facing output of a search engine, these weights are a load-bearing component of the 'efficient retrieval' claim. Please provide at least a simple ablation (equal weights vs. the chosen weights, or a scan over a small set of weight values) on a small set of queries with relevance judgments.
- [Section 5.1 (Indexing Code)] The decision to index raw LaTeX commands rather than converting pseudocode to plain text is justified by a plausible example (preserving \For and \If as structural cues), but no experiment compares the two indexing approaches. Users might phrase queries in natural language, and it is not self-evident that tokens such as \For or \EndIf improve ranked retrieval. Please evaluate both indexing strategies on a common query set, or otherwise justify the choice with evidence.
- [Section 3 (Data Collection)] The paper notes that papers and pseudocode that could not be parsed and indexed without errors were omitted, and that some references could not be extracted. No statistics are given for how many items were dropped or how this omission may bias retrieval. This is not a fatal flaw, but it limits the scope of the claim that the engine searches the full arXiv pseudocode corpus; please quantify the omission rate and discuss the potential bias.
minor comments (6)
- [Section 4 (Search Interface)] The text says 'radio buttons' but also says users 'can select multiple buttons simultaneously'; these are contradictory, so please clarify whether the fields are checkboxes or radio buttons with combined search enabled by a separate control.
- [Section 3 (Data Collection)] The sentence 'Dataset is carefully chosen' is missing an article, and there are several other grammatical issues throughout (e.g., 'broad range of search queries' should be 'a broad range'); a copy edit would improve readability.
- [Section 2 (Related Work)] There is a typo in 'such as and Hu et al. (2005)', and the reference list contains 'Proceedings of the the 16th conference'; please correct these citation errors.
- [Section 4 (Search Interface)] The text refers to 'the pseudoseer link' and 'the arxiv-pseudocode repository on GitHub' without giving URLs; please include the actual links in the final version.
- [Section 6 (Ranking)] The paper does not state the values of the BM25 parameters k1 and b, even though they are part of the ranking function; please report the settings used in Elasticsearch.
- [Figures] Figures 1, 4, 5, and 6 are referenced in the text but not visible in the manuscript text supplied; please ensure the figures and captions are correctly embedded in the submission.
Circularity Check
No significant circularity: PseudoSeer's ranking and indexing choices are stated design decisions, not fitted or self-referential reductions.
full rationale
The paper's derivation chain is linear and factual: it takes the arXiv pseudocode dataset from Toksoz et al. (2024), augments it with references and weblinks, indexes LaTeX code as raw text while cleaning reference text, and ranks with BM25 using hand-assigned field weights. No step is defined in terms of the search engine's output, and no parameter is fitted to the evaluation. The field weights in Section 6 are justified by stated assumptions about likely relevance, not by optimizing against the manual inspection in Section 7, so no 'prediction' is forced by construction. The principal self-citation, Toksoz et al. (2024), supplies an external dataset artifact accessible via GitHub; it is an input resource rather than a uniqueness theorem or an unverified premise used to invalidate alternatives. The paper's own concession that 'Enhanced evaluation will be a focus of future' (Section 7) identifies a validity gap for the efficiency claim, but that is a correctness risk, not a circularity: the ranking could be ineffective, yet it would still be non-circular because it was not derived from the evaluation. Accordingly, the circularity score is 0.
Assumptions & free parameters
free parameters (2)
- Facet weights for combined searches =
LaTeX and authors: 1; title, abstract, references: 2
- BM25 parameters k1 and b =
Not specified in the paper
assumptions (4)
- standard math BM25 ranking formula is an established retrieval model.
- domain assumption Pseudocode is represented by \begin{algorithm} blocks in arXiv LaTeX.
- domain assumption Raw LaTeX commands are useful index tokens.
- domain assumption Hand-picked facet weights reflect user relevance.
Cite this review
Pith. "Pith review of PseudoSeer: a Search Engine for Pseudocode." pith.science (2026). https://pith.science/paper/TFEDEUDE
@misc{pith2026241112649,
author = {Pith},
title = {Pith review of: PseudoSeer: a Search Engine for Pseudocode},
year = {2026},
howpublished = {\url{https://pith.science/paper/TFEDEUDE}},
note = {Machine review of arXiv:2411.12649}
}
read the original abstract
A novel pseudocode search engine is designed to facilitate efficient retrieval and search of academic papers containing pseudocode. By leveraging Elasticsearch, the system enables users to search across various facets of a paper, such as the title, abstract, author information, and LaTeX code snippets, while supporting advanced features like combined facet searches and exact-match queries for more targeted results. A description of the data acquisition process is provided, with arXiv as the primary data source, along with methods for data extraction and text-based indexing, highlighting how different data elements are stored and optimized for search. A weighted BM25-based ranking algorithm is used by the search engine, and factors considered when prioritizing search results for both single and combined facet searches are described. We explain how each facet is weighted in a combined search. Several search engine results pages are displayed. Finally, there is a brief overview of future work and potential evaluation methodology for assessing the effectiveness and performance of the search engine is described.
Figures
Figures from the paper (3 more)
Reference graph
Works this paper leans on
-
[1]
URL: " 'urlintro :=
ENTRY address author booktitle chapter edition editor howpublished institution journal key month note number organization pages publisher school series title type volume year eprint doi pubmed url lastchecked label extra.label sort.label short.list INTEGERS output.state before.all mid.sentence after.sentence after.block STRINGS urlintro eprinturl eprintpr...
-
[2]
write newline
" write newline "" before.all 'output.state := FUNCTION n.dashify 't := "" t empty not t #1 #1 substring "-" = t #1 #2 substring "--" = not "--" * t #2 global.max substring 't := t #1 #1 substring "-" = "-" * t #2 global.max substring 't := while if t #1 #1 substring * t #2 global.max substring 't := if while FUNCTION word.in bbl.in capitalize " " * FUNCT...
-
[3]
http://arxiv.org/abs/1:dir:dab86b296e3c3216e2241968f0d63b68e8209d3c Grobid
2008--2023. http://arxiv.org/abs/1:dir:dab86b296e3c3216e2241968f0d63b68e8209d3c Grobid . https://github.com/kermitt2/grobid
work page 2008
-
[4]
Lukas Blecher, Guillem Cucurull, Thomas Scialom, and Robert Stojnic. 2023. http://arxiv.org/abs/2308.13418 Nougat: Neural optical understanding for academic documents
arXiv 2023
-
[5]
Kenny Davila, Srirangaraj Setlur, David Doermann, Bhargava Urala Kota, and Venu Govindaraju. 2021. https://doi.org/10.1109/TPAMI.2020.2992028 Chart mining: A survey of methods for automated chart analysis . IEEE Transactions on Pattern Analysis and Machine Intelligence, 43(11):3799--3819
arXiv 2021
-
[6]
Yufang Hou, Charles Jochim, Martin Gleize, Francesca Bonin, and Debasis Ganguly. 2019. Identification of tasks, datasets, evaluation metrics, and numeric scores for scientific leaderboards construction. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Florence, Italy, 27 July -- 2 August 2019
work page 2019
-
[7]
Yufang Hou, Charles Jochim, Martin Gleize, Francesca Bonin, and Debasis Ganguly. 2021. Tdmsci: A specialized corpus for scientific literature entity tagging of tasks datasets and metrics. In Proceedings of the the 16th conference of the European Chapter of the Association for Computational Linguistics, Online, 19--23 April 2021
work page 2021
-
[8]
Yunhua Hu, Hang Li, Yunbo Cao, Dmitriy Meyerzon, and Qinghua Zheng. 2005. https://doi.org/10.1145/1065385.1065418 Automatic extraction of titles from general documents using machine learning . In Proceedings of the 5th ACM/IEEE-CS Joint Conference on Digital Libraries, JCDL '05, page 145–154, New York, NY, USA. Association for Computing Machinery
Show all 18 references
-
[9]
Marcin Kardas, Piotr Czapla, Pontus Stenetorp, Sebastian Ruder, Sebastian Riedel, Ross Taylor, and Robert Stojnic. 2020. http://arxiv.org/abs/2004.14356 Axcell: Automatic extraction of results from machine learning papers . CoRR, abs/2004.14356
2020 arXiv
-
[10]
Matican, and Corneliu C
Michael Kohlhase, Bogdan A. Matican, and Corneliu C. Prodescu. 2012. Mathwebsearch 0.5 – scaling an open formula search engine. In Intelligent Computer Mathematics, LNAI, pages 342--357. Springer
2012
-
[11]
Michael Kohlhase and Ioan Şucan. 2006. A search engine for mathematical formulae. In Proceedings of Artificial Intelligence and Symbolic Computation, AISC’2006, LNAI, pages 241--253. Springer
2006
-
[12]
Sumith Kulal, Panupong Pasupat, Kartik Chandra, Mina Lee, Oded Padon, Alex Aiken, and Percy Liang. 2019. http://arxiv.org/abs/1906.04908 Spoc: Search-based pseudocode to code . CoRR, abs/1906.04908
2019 arXiv
-
[13]
Parag Mali, Puneeth Kukkadapu, Mahshad Mahdavi, and Richard Zanibbi. 2020. http://arxiv.org/abs/2003.08005 Scanssd: Scanning single shot detector for mathematical formulas in PDF document images . CoRR, abs/2003.08005
2020 arXiv
-
[14]
Ahmed Nassar, Nikolaos Livathinos, Maksym Lysak, and Peter Staar. 2022. http://arxiv.org/abs/2203.01017 Tableformer: Table structure understanding with transformers
2022 arXiv
-
[15]
Ioana Normann and Michael Kohlhase. 2007. Extended formula normalization for \( \)-retrieval and sharing of mathematical knowledge. In MKM/Calculemus - Towards Mechanized Mathematical Assistants, LNAI, pages 266--279. Springer
2007
-
[16]
Yusuke Oda, Hiroyuki Fudaba, Graham Neubig, Hideaki Hata, Sakriani Sakti, Tomoki Toda, and Satoshi Nakamura. 2015. https://api.semanticscholar.org/CorpusID:15979705 Learning to generate pseudo-code from source code using statistical machine translation (t) . 2015 30th IEEE/ACM...
2015
-
[17]
Lee Giles
Levent Toksoz, Gang Tan, and C. Lee Giles. 2024. https://doi.org/10.1109/IRI62200.2024.00061 Automatic pseudocode extraction at scale . In 2024 IEEE International Conference on Information Reuse and Integration for Data Science (IRI), pages 264--269
2024
-
[18]
Maksym Zavershynskyi, Alex Skidanov, and Illia Polosukhin. 2018. http://arxiv.org/abs/1807.03168 Naps: Natural program synthesis dataset
2018 arXiv
Reviewed August 12, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.