SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.22993 · NAACL · 2025

Verify-in-the-Graph: Entity Disambiguation Enhancement for Complex Claim Verification with Interactive Graph Representation

Hoang Pham, Thanh-Do Nguyen, Nam Bui

arXiv · PDF · Open in the Atlas

Code that ran

6 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; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 1 failure of our instrument; 0 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/2505.22993.json · badge: /api/ran/2505.22993.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
teacherpeterpan/ProgramFC canonical (classifier label)
classifier basis not recorded on the link
6 ran · 0 no recorded run
FunctionStatusWhere it lives
dispatch_openai_chat_requests Ran
ran on a synthesized input
teacherpeterpan/ProgramFC/models/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from Hyun-Ryu/clover, is pointer only (licence: NONE) · get_code("4e1c4ff342f96bc9")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Hyun-Ryu/clover, and GitHub detected no licence in that repository 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.

dispatch_openai_prompt_requests Ran
ran on a synthesized input
teacherpeterpan/ProgramFC/models/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from siyuanwangw/ruleapplication, is pointer only (licence: NONE) · get_code("94928eafb9afc8c7")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from siyuanwangw/ruleapplication, and GitHub detected no licence in that repository 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.

hash Ran
ran on a synthesized input
teacherpeterpan/ProgramFC/datasets/FEVEROUS/utils.py
code served (permissive licence) · get_code("fe524a16685ba8c3")
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.

from sklearn.utils import murmurhash3_32

def hash(token, num_buckets):
    """Unsigned 32 bit murmurhash for feature hashing."""
    return murmurhash3_32(token, positive=True) % num_buckets

ARGS = {
    "token": "example_token",
    "num_buckets": 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
sklearn — 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
is_valid_sample Ran
ran on a synthesized input
teacherpeterpan/ProgramFC/datasets/FEVEROUS/feverous_processing.py
code served (permissive licence) · get_code("24103c586dcf9044")
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 bool, 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

torch.manual_seed(0)

ARGS = {
    "evidence": [
        {
            "content": [
                "This is a _sentence_ with marker",
                "Another _sentence_ here"
            ]
        },
        {
            "content": [
                "Yet another _sentence_ in second item",
                "Final _sentence_ example"
            ]
        }
    ]
}
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 bool, 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
load_sparse_csr Ran
ran on a synthesized input
teacherpeterpan/ProgramFC/datasets/FEVEROUS/utils.py
code served (permissive licence) · get_code("71cbb05f2913e671")
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, 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 numpy as np
import scipy.sparse as sp
import tempfile
import os

# Create a temporary sparse matrix file in NPZ format
temp_dir = tempfile.gettempdir()
temp_filename = os.path.join(temp_dir, "test_sparse_matrix.npz")

# Construct a small sparse CSR matrix
data = np.array([1, 2, 3, 4], dtype=np.float32)
indices = np.array([0, 2, 1, 3], dtype=np.int32)
indptr = np.array([0, 2, 4], dtype=np.int32)
shape = np.array([2, 4], dtype=np.int64)

# Create metadata
metadata = np.array([{"key": "value", "num": 42}], dtype=object)

# Save to NPZ file
np.savez(
    temp_filename,
    data=data,
    indices=indices,
    indptr=indptr,
    shape=shape,
    metadata=metadata
)

ARGS = {
    "filename": temp_filename
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple 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
normalize Ran
ran; our contract draft was wrong, not the code
teacherpeterpan/ProgramFC/datasets/FEVEROUS/utils.py
code served (permissive licence) · get_code("b1c91c9e3a3b88e4")
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 str. 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 unicodedata

# The normalize function takes a single parameter 'text' which should be a string
# The function uses unicodedata.normalize('NFD', text) to resolve unicode encodings

ARGS = {
    'text': 'café'  # A simple string with unicode characters that can be normalized
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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

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, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 0 later) and 0 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
normalize 6 other papers
6 dated earlier
1909.08041 (2019-09)
Revealing the Importance of Semantic Retrieval for Machine Reading at Scale
2021.acl-long.164 (2021 (year only))
BERTAC: Enhancing Transformer-based Language Models with Adversarially Pretrained Convolutional Neural Networks
2106.05707 (2021-06)
FEVEROUS: Fact Extraction and VERification Over Unstructured and Structured information
and 3 more not named here
dispatch_openai_chat_requests 5 other papers
5 dated earlier
2305.12295 (2023-05)
Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning
2305.12744 (2023-05)
Fact-Checking Complex Claims with Program-Guided Reasoning
2405.18357 (2024-05)
Faithful Logical Reasoning via Symbolic Chain-of-Thought
and 2 more not named here
dispatch_openai_prompt_requests 4 other papers
4 dated earlier
2305.12295 (2023-05)
Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning
2305.12744 (2023-05)
Fact-Checking Complex Claims with Program-Guided Reasoning
2405.18357 (2024-05)
Faithful Logical Reasoning via Symbolic Chain-of-Thought
and 1 more not named here
hash 3 other papers
3 dated earlier
2021.acl-long.164 (2021 (year only))
BERTAC: Enhancing Transformer-based Language Models with Adversarially Pretrained Convolutional Neural Networks
2106.05707 (2021-06)
FEVEROUS: Fact Extraction and VERification Over Unstructured and Structured information
2305.12744 (2023-05)
Fact-Checking Complex Claims with Program-Guided Reasoning
load_sparse_csr 2 other papers
2 dated earlier
2106.05707 (2021-06)
FEVEROUS: Fact Extraction and VERification Over Unstructured and Structured information
2305.12744 (2023-05)
Fact-Checking Complex Claims with Program-Guided Reasoning
is_valid_sample 1 other paper
1 dated earlier
2305.12744 (2023-05)
Fact-Checking Complex Claims with Program-Guided Reasoning

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

Claim verification is a long-standing and challenging task that demands not only high accuracy but also explainability of the verification process. This task becomes an emerging research issue in the era of large language models (LLMs) since real-world claims are often complex, featuring intricate semantic structures or obfuscated entities. Traditional approaches typically address this by decomposing claims into sub-claims and querying a knowledge base to resolve hidden or ambiguous entities. However, the absence of effective disambiguation strategies for these entities can compromise the entire verification process. To address these challenges, we propose Verify-in-the-Graph (VeGraph), a novel framework leveraging the reasoning and comprehension abilities of LLM agents. VeGraph operates in three phases: (1) Graph Representation -an input claim is decomposed into structured triplets, forming a graph-based representation that integrates both structured and unstructured information; (2) Entity Disambiguation -VeGraph iteratively interacts with the knowledge base to resolve ambiguous entities within the graph for deeper sub-claim verification; and (3) Verification -remaining triplets are verified to complete the fact-checking process. Experiments using Meta-Llama-3-70B (instruct version) show that VeGraph achieves competitive performance compared to baselines on two benchmarks HoVer and FEVER-OUS, effectively addressing claim verification challenges. Our source code and data are available for further exploitation 1 .

For agents

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

get_harvested_code_for_paper("2505.22993")
get_code_for_paper("2505.22993")
have("2505.22993")

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

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

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

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

Connect an agent — have() is free.