SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.18207 · 2026

PaperSearchQA: Learning to Search and Reason over Scientific Papers with RLVR

Yuhui Zhang, Serena Yeung-Levy, James Burgess, Alejandro Lozano, Emma Lundberg, Duo Peng, Jan Hansen, Min Woo Sun

arXiv · PDF · Open in the Atlas

Code that ran

3 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 1 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2601.18207.json · badge: /api/ran/2601.18207.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Future-House/paper-qa canonical (classifier label)
classifier basis: census
3 ran · 1 no recorded run
FunctionStatusWhere it lives
cluster_bboxes Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Future-House/paper-qa/packages/paper-qa-pypdf/src/paperqa_pypdf/utils.py
code served (permissive licence) · get_code("5fb2e59ae3e7e705")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
from collections import defaultdict

# Construct test bounding boxes
# These are (x0, y0, x1, y1) tuples representing bounding box coordinates
bboxes = [
    (10.0, 20.0, 50.0, 60.0),
    (15.0, 25.0, 55.0, 65.0),
    (200.0, 300.0, 250.0, 350.0),
    (205.0, 305.0, 255.0, 355.0),
    (500.0, 500.0, 600.0, 600.0),
]

tolerance = 50.0

ARGS = {
    "bboxes": bboxes,
    "tolerance": tolerance,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
llm_parse_json Ran
ran; our contract draft was wrong, not the code
Future-House/paper-qa/src/paperqa/core.py
code served (permissive licence) · get_code("53ece280e96c2710")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import re
from pydantic import JsonValue

# Test cases for llm_parse_json function
# The function takes a single parameter: text (str)

# Case 1: Simple JSON in code block
text1 = """
json
{"summary": "This is a test", "relevance_score": 8}

"""

# Case 2: JSON with thinking tags
text2 = """
<think>Some reasoning here</think>
json
{"summary": "Extracted summary", "relevance_score": 7}

"""

# Case 3: JSON with fraction in relevance score
text3 = """
json
{"summary": "Test with fraction", "relevance_score": "8/10"}

"""

# Case 4: Plain text without JSON structure
text4 = """
This is just plain text without any JSON
"""

# Case 5: JSON with newlines in string values
text5 = """
json
{"summary": "Multi
line
summary", "relevance_score": 9}

"""

# Case 6: JSON with missing braces (edge case)
text6 = """
"summary": "Missing braces", "relevance_score": 5

"""

# Case 7: Malformed but recoverable JSON with score field
text7 = """
json
{"summary": "Test summary", "score": 6}

"""

# Case 8: JSON with relevance as different field name
text8 = """
json
{"summary": "Another test", "relevance": 4}

"""

# Use the first test case as the main ARGS
ARGS = {
    "text": text1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pydantic — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
pad_image_with_border Ran
ran; our contract draft was wrong, not the code
Future-House/paper-qa/packages/paper-qa-nemotron/src/paperqa_nemotron/reader.py
code served (permissive licence) · get_code("fe2bf14ac9ef8ea5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

from PIL import Image

# Create a small test image
test_image = Image.new('RGB', (100, 80), color=(200, 150, 100))

ARGS = {
    'image': test_image,
    'border': 60,
    'pad_color': (255, 255, 255)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
cosine_similarity Not yet run
unverified (harvested, no recorded run)
Future-House/paper-qa/src/paperqa/llms.py
code served (permissive licence) · get_code("cdede7ba6aa0b49b")
How it ran

no invocation recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Search agents are language models (LMs) that reason and search knowledge bases (or the web) to answer questions; recent methods supervise only the final answer accuracy using reinforcement learning with verifiable rewards (RLVR). Most RLVR search agents tackle general-domain QA, which limits their relevance to technical AI systems in science, engineering, and medicine. In this work we propose training agents to search and reason over scientific papers -this tests technical questionanswering, it is directly relevant to real scientists, and the capabilities will be crucial to future AI Scientist systems. Concretely, we release a search corpus of 16 million biomedical paper abstracts and construct a challenging factoid QA dataset called PaperSearchQA with 60k samples answerable from the corpus, along with benchmarks. We train search agents in this environment to outperform non-RL retrieval baselines; we also perform further quantitative analysis and observe interesting agent behaviors like planning, reasoning, and selfverification. Our corpus, datasets, and benchmarks are usable with the popular Search-R1 codebase for RLVR training and released on Hugging Face. Finally, our data creation methods are scalable and easily extendable to other scientific domains.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2601.18207")
get_code_for_paper("2601.18207")
have("2601.18207")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2601.18207.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2601.18207.svg)](https://syntology.ai/paper/2601.18207)

Connect an agent — have() is free.