SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2301.13298 · 2023

LongEval: Guidelines for Human Evaluation of Faithfulness in Long-form Summarization

arXiv · PDF · Open in the Atlas

Code that ran

7 of 9 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 7 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/2301.13298.json · badge: /api/ran/2301.13298.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
martiansideofthemoon/longeval-summarization canonical (classifier label)
classifier basis not recorded on the link
7 ran · 2 no recorded run
FunctionStatusWhere it lives
convert_multivers_format Ran
ran on a synthesized input
martiansideofthemoon/longeval-summarization/longeval/linkage/multivers_utils.py
code served (permissive licence) · get_code("ea0144dd053d59f1")
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

torch.manual_seed(0)

# Analyze the function:
# - claims: iterated over with enumerate, each claim is used as a dict value
# - document_sents: used as a dict value in 'sentences' key
# Both are treated as data, not called with methods

# Create simple test data
claims = [
    "First claim about the document",
    "Second claim about the document"
]

document_sents = [
    "This is the first sentence.",
    "This is the second sentence.",
    "This is the third sentence."
]

ARGS = {
    'claims': claims,
    'document_sents': document_sents
}
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
get_most_common Ran
ran on a synthesized input
martiansideofthemoon/longeval-summarization/longeval/utils.py
code served (permissive licence) · get_code("c31d481cb06cfe9f")
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.

from collections import Counter

def get_most_common(lst):
    counts = Counter(lst)
    sorted_counts = sorted([(k, v) for k, v in counts.items()], key=lambda x: x[1], reverse=True)
    return {'element': sorted_counts[0][0], 'frequency': sorted_counts[0][1], 'unique': len(sorted_counts) == 1 or sorted_counts[0][1] > sorted_counts[1][1]}

# Construct a simple list with multiple elements where one is most common
lst = [1, 2, 2, 2, 3, 3, 4, 4, 4, 4, 5]

ARGS = {
    'lst': lst
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
get_squality_data_stats Ran
ran on a synthesized input
martiansideofthemoon/longeval-summarization/longeval/results_utils.py
code served (permissive licence) · get_code("19d5f60018a23dfe")
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 torch
import numpy as np

# Build squality_human_data structure
squality_human_data = [
    {
        'passage-id': 'passage1',
        'questions': {
            '0': {
                'model-name': {
                    'response': 'This is a sample response.',
                    'reviews': [
                        {
                            'correctness-rating': 4,
                            'fluency-rating': 5
                        },
                        {
                            'correctness-rating': 3,
                            'fluency-rating': 4
                        }
                    ]
                }
            },
            '1': {
                'model-name': {
                    'response': 'Another sample response.',
                    'reviews': [
                        {
                            'correctness-rating': 5,
                            'fluency-rating': 5
                        }
                    ]
                }
            }
        }
    },
    {
        'passage-id': 'passage2',
        'questions': {
            '0': {
                'other-model': {
                    'response': 'Different response.',
                    'reviews': [
                        {
                            'correctness-rating': 2,
                            'fluency-rating': 3
                        }
                    ]
                }
            }
        }
    }
]

story = 'passage1_model-name'
rating_type = 'correctness-rating'
question_ids = ['0']

ARGS = {
    'squality_human_data': squality_human_data,
    'story': story,
    'rating_type': rating_type,
    'question_ids': question_ids
}
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 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
jsonl_read Ran
ran on a synthesized input
martiansideofthemoon/longeval-summarization/longeval/preprocessing_utils.py
code served (permissive licence) · get_code("e84b47331b08db59")
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 json
import tempfile
import os

# Create a temporary JSONL file with test data
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test.jsonl")

# Write test JSONL data
test_data = [
    {"id": 1, "text": "hello world"},
    {"id": 2, "text": "foo bar"},
    {"id": 3, "text": "test data"}
]

with open(temp_file, 'w') as f:
    for item in test_data:
        f.write(json.dumps(item) + '\n')

ARGS = {
    "filename": temp_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
masked_binary_cross_entropy_with_logits Ran
ran on a synthesized input
martiansideofthemoon/longeval-summarization/longeval/linkage/longchecker/model.py
code served (permissive licence) · get_code("7810f9d40d608c62")
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 Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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.functional as F

torch.manual_seed(0)

# Create small tensors for the function arguments
batch_size = 2
seq_length = 4

# input: logits tensor, shape (batch_size, seq_length)
input_tensor = torch.randn(batch_size, seq_length)

# target: binary targets with -1 for ignore, shape (batch_size, seq_length)
target_tensor = torch.tensor([
    [1, 0, 1, -1],
    [0, 1, -1, 1]
], dtype=torch.long)

# weight: scalar weight for each sample, shape (batch_size,)
weight_tensor = torch.tensor([1.0, 0.5])

# rationale_mask: binary mask, shape (batch_size,)
rationale_mask_tensor = torch.tensor([1.0, 1.0])

ARGS = {
    "input": input_tensor,
    "target": target_tensor,
    "weight": weight_tensor,
    "rationale_mask": rationale_mask_tensor
}
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 Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
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
pickle_read Ran
ran on a synthesized input
martiansideofthemoon/longeval-summarization/longeval/preprocessing_utils.py
code served (permissive licence) · get_code("51ca133d8ef787db")
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 pickle
import tempfile
import os

# Create a temporary file with pickled data
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test_data.pkl")

# Create some sample data and pickle it
sample_data = {
    "key1": "value1",
    "key2": [1, 2, 3, 4],
    "key3": {"nested": "dict"}
}

with open(temp_file, 'wb') as f:
    pickle.dump(sample_data, f)

# Define arguments for pickle_read
ARGS = {
    "filename": temp_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
token_counter Ran
ran on a synthesized input
martiansideofthemoon/longeval-summarization/longeval/utils.py
code served (permissive licence) · get_code("18ccd56b847f897e")
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 int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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

# Create a minimal dataset with the required structure
# The function iterates through dataset items and accesses:
# - dd[evidence_key] (default 'gold_evidence')
# - dd['transformed_scu']
# Both need to be strings that can be split()

dataset = [
    {
        'gold_evidence': 'this is some evidence text',
        'transformed_scu': 'this is a structured content unit'
    },
    {
        'gold_evidence': 'more evidence here with extra words',
        'transformed_scu': 'another structured unit'
    }
]

ARGS = {
    'dataset': dataset,
    'evidence_key': 'gold_evidence'
}
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 int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
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
compute_fine_scores Not yet run
unverified (harvested, no recorded run)
martiansideofthemoon/longeval-summarization/longeval/results_utils.py
code served (permissive licence) · get_code("11cb365882095fa0")
How it ran

no invocation recorded.

split_sents Not yet run
unverified (harvested, no recorded run)
martiansideofthemoon/longeval-summarization/longeval/preprocessing_utils.py
code served (permissive licence) · get_code("ad3eecdca7e17576")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 8 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.

FunctionAlso present inEarliest-datedOthers named
masked_binary_cross_entropy_with_logits 1 other paper
1 dated earlier
2112.01640 (2021-12)
MultiVerS: Improving scientific claim verification with weak supervision and full-document context

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

While human evaluation remains best practice for accurately judging the faithfulness of automatically-generated summaries, few solutions exist to address the increased difficulty and workload when evaluating long-form summaries. Through a survey of 162 papers on long-form summarization, we first shed light on current human evaluation practices surrounding long-form summaries. We find that 73% of these papers do not perform any human evaluation on model-generated summaries, while other works face new difficulties that manifest when dealing with long documents (e.g., low inter-annotator agreement). Motivated by our survey, we present LongEval, a set of guidelines for human evaluation of faithfulness in long-form summaries that addresses the following challenges: (1) How can we achieve high inter-annotator agreement on faithfulness scores? (2) How can we minimize annotator workload while maintaining accurate faithfulness scores? and (3) Do humans benefit from automated alignment between summary and source snippets? We deploy LongEval in annotation studies on two long-form summarization datasets in different domains (SQuALITY and PubMed), and we find that switching to a finer granularity of judgment (e.g., clause-level) reduces inter-annotator variance in faithfulness scores (e.g., std-dev from 18.5 to 6.8). We also show that scores from a partial annotation of fine-grained units highly correlates with scores from a full annotation workload (0.89 Kendall's tau using 50% judgments). We release our human judgments, annotation templates, and our software as a Python library for future research.

For agents

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

get_harvested_code_for_paper("2301.13298")
get_code_for_paper("2301.13298")
have("2301.13298")

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

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

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

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

Connect an agent — have() is free.