SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2510.13494 · EMNLP · 2025

LiteraryQA: Towards Effective Evaluation of Long-document Narrative QA

Roberto Navigli, Luca Gioffré, Tommaso Bonomo

arXiv · PDF · Open in the Atlas

Code that ran

5 of 6 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; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 2 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/2510.13494.json · badge: /api/ran/2510.13494.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
SapienzaNLP/LiteraryQA canonical (classifier label)
classifier basis: census
5 ran · 1 no recorded run
FunctionStatusWhere it lives
exact_match_score Ran
ran, honoured the contract we drafted
SapienzaNLP/LiteraryQA/literaryqa/ngram_metrics.py
pointer only (licence: NONE) · get_code("b2e99f6b9eea4ae3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SapienzaNLP/LiteraryQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

f1_score Ran
ran, honoured the contract we drafted
SapienzaNLP/LiteraryQA/literaryqa/ngram_metrics.py
pointer only (licence: NONE) · get_code("757c1276cb093efc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SapienzaNLP/LiteraryQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_text_corrupted Ran
ran, violated the contract we drafted
SapienzaNLP/LiteraryQA/literaryqa/download.py
pointer only (licence: NONE) · get_code("95ebd8f847c607da")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SapienzaNLP/LiteraryQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize_answer Ran
ran; our contract draft was wrong, not the code
SapienzaNLP/LiteraryQA/literaryqa/ngram_metrics.py
pointer only (licence: NONE) · get_code("dfcf1201010b7d31")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SapienzaNLP/LiteraryQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

remove_gutenberg_info Ran
ran; our contract draft was wrong, not the code
SapienzaNLP/LiteraryQA/literaryqa/clean.py
pointer only (licence: NONE) · get_code("946c1c26318b21cc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SapienzaNLP/LiteraryQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_rubric Not yet run
unverified (harvested, no recorded run)
SapienzaNLP/LiteraryQA/literaryqa/prometheus.py
pointer only (licence: NONE) · get_code("eb18c22b702e08bd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SapienzaNLP/LiteraryQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 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 6 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

Question Answering (QA) on narrative text poses a unique challenge to current systems, requiring a deep understanding of long, complex documents. However, the reliability of NarrativeQA, the most widely used benchmark in this domain, is hindered by noisy documents and flawed QA pairs. In this work, we introduce LiteraryQA, a high-quality subset of Nar-rativeQA focused on literary works. Using a human-and LLM-validated pipeline, we identify and correct low-quality QA samples while removing extraneous text from source documents. We then carry out a meta-evaluation of automatic metrics to clarify how systems should be evaluated on LiteraryQA. This analysis reveals that all n-gram-based metrics have a low system-level correlation to human judgment, while LLM-as-a-Judge evaluations, even with small open-weight models, can strongly agree with the ranking identified by humans. Finally, we benchmark a set of long-context LLMs on LiteraryQA. We release our code and data at github.com/SapienzaNLP/LiteraryQA.

For agents

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

get_harvested_code_for_paper("2510.13494")
get_code_for_paper("2510.13494")
have("2510.13494")

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

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

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

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

Connect an agent — have() is free.