SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2502.13668 · NAACL · 2025

PeerQA: A Scientific Question Answering Dataset from Peer Reviews

Iryna Gurevych, Tim Baumgärtner, Ted Briscoe

arXiv · PDF · Open in the Atlas

Code that ran

2 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 2 have no contract verdict; 0 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2502.13668.json · badge: /api/ran/2502.13668.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
ukplab/peerqa canonical (classifier label)
classifier basis not recorded on the link
2 ran · 2 no recorded run
FunctionStatusWhere it lives
find_in_list_of_dict Ran
ran on a synthesized input
ukplab/peerqa/extract_text_from_pdf.py
code served (permissive licence) · get_code("9d2444d497ae9ee6")
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 1, 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 torch.nn as nn
from typing import List, Dict, Any

# Construct a list of dictionaries with various key-value pairs
list_of_dicts = [
    {"name": "apple", "color": "red", "count": 5},
    {"name": "banana", "color": "yellow", "count": 3},
    {"name": "cherry", "color": "red", "count": 7},
    {"name": "date", "color": "brown", "count": 2},
]

# Define the arguments for find_in_list_of_dict
ARGS = {
    "l": list_of_dicts,
    "k": "color",
    "v": "red"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, 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
openai_generate Ran
ran on a synthesized input
ukplab/peerqa/generate_openai.py
code served (permissive licence) · get_code("dbe7cf8f4245f141")
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 1, 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 logging
from unittest.mock import Mock, MagicMock

logging.basicConfig(level=logging.INFO)

# Create a mock OpenAI client
mock_client = Mock()

# Create mock completion objects with usage information
def create_mock_completion():
    completion = Mock()
    completion.usage.prompt_tokens = 10
    completion.usage.completion_tokens = 5
    return completion

# Configure the mock client to return completions
mock_client.chat.completions.create.side_effect = [
    create_mock_completion(),
    create_mock_completion(),
]

# Create input messages for the model
inputs = [
    [{"role": "user", "content": "Hello, how are you?"}],
    [{"role": "user", "content": "What is 2+2?"}],
]

# Create IDs corresponding to inputs
ids = ["id_1", "id_2"]

# Model name from the supported list
model = "gpt-4o-mini-2024-07-18"

ARGS = {
    "client": mock_client,
    "model": model,
    "inputs": inputs,
    "ids": ids,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, 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
get_top_N Not yet run
unverified (harvested, no recorded run)
ukplab/peerqa/peerqa/generate_utils.py
code served (permissive licence) · get_code("ce10f8ad34fc847a")
How it ran

no invocation recorded.

truncate Not yet run
unverified (harvested, no recorded run)
ukplab/peerqa/peerqa/generate_utils.py
code served (permissive licence) · get_code("2e014728127b6d13")
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

We present PeerQA, a real-world, scientific, document-level Question Answering (QA) dataset. PeerQA questions have been sourced from peer reviews, which contain questions that reviewers raised while thoroughly examining the scientific article. Answers have been annotated by the original authors of each paper. The dataset contains 579 QA pairs from 208 academic articles, with a majority from ML and NLP, as well as a subset of other scientific communities like Geoscience and Public Health. PeerQA supports three critical tasks for developing practical QA systems: Evidence retrieval, unanswerable question classification, and answer generation. We provide a detailed analysis of the collected dataset and conduct experiments establishing baseline systems for all three tasks. Our experiments and analyses reveal the need for decontextualization in document-level retrieval, where we find that even simple decontextualization approaches consistently improve retrieval performance across architectures. On answer generation, PeerQA serves as a challenging benchmark for long-context modeling, as the papers have an average size of 12k tokens. 1 1 Our code and data is available at https://github.com/ UKPLab/peerqa.

For agents

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

get_harvested_code_for_paper("2502.13668")
get_code_for_paper("2502.13668")
have("2502.13668")

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

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

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

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

Connect an agent — have() is free.