SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2603.02938 · 2026

Beyond One-Size-Fits-All: Adaptive Subgraph Denoising for Zero-Shot Graph Learning with Large Language Models

Liang Zhang, Yansong Liu, Junlan Feng, Fanyu Meng, Ruiqing Zhao, Fengzhi Li, Yunfei Ma, Yuan Zuo

arXiv · PDF · Open in the Atlas

Code that ran

14 of 19 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; 14 failures of our instrument; 5 no recorded run), measured 2026-11-24; 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/2603.02938.json · badge: /api/ran/2603.02938.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
mysteriouslfz/GraphSSR canonical (classifier label)
classifier basis: census
14 ran · 5 no recorded run
FunctionStatusWhere it lives
central_node_id_regex Ran
ran; our contract draft was wrong, not the code
mysteriouslfz/GraphSSR/data_generation/quality_check/quality_evaluator.py
code served (permissive licence) · get_code("ab26fe2fcec1b02f")
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 re

def central_node_id_regex(subgraph):
    central_node_pattern = '<Central_node_ID>(.*?)</Central_node_ID>'
    central_node_match = re.findall(central_node_pattern, subgraph, re.DOTALL)
    if len(central_node_match) == 0 or central_node_match[-1] == '':
        central_node_ans = []
    else:
        central_node_ans = central_node_match[-1].strip().split(',')
        central_node_ans = [node.strip() for node in central_node_ans]
    return central_node_ans


# Test case 1: subgraph with central node IDs
subgraph_with_nodes = """
<graph>
    <Central_node_ID>node1, node2, node3</Central_node_ID>
</graph>
"""

ARGS = {
    "subgraph": subgraph_with_nodes
}
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
check_question_difficulty Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mysteriouslfz/GraphSSR/data_generation/pipelines/rl_data_generator.py
code served (permissive licence) · get_code("bcef2660b91e0d31")
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 torch
import numpy as np

# Mock the imported modules and functions
class MockQualityEvaluator:
    @staticmethod
    def extract_chosen_subgraph_reasoning_info(response):
        # Returns a mock chosen_subgraph_reasoning_info object
        return {"reasoning": response.get("reasoning", ""), "answer": response.get("answer", "")}
    
    @staticmethod
    def check_chosen_answer(truth_label, chosen_subgraph_reasoning_info):
        # Returns True if answer matches truth_label, False otherwise
        return chosen_subgraph_reasoning_info.get("answer") == truth_label

# Monkey-patch the imports
import sys
from types import ModuleType

quality_module = ModuleType("quality_evaluator")
quality_module.extract_chosen_subgraph_reasoning_info = MockQualityEvaluator.extract_chosen_subgraph_reasoning_info
quality_module.check_chosen_answer = MockQualityEvaluator.check_chosen_answer

data_generation_module = ModuleType("data_generation")
quality_check_module = ModuleType("quality_check")
quality_check_module.quality_evaluator = quality_module

data_generation_module.quality_check = quality_check_module
sys.modules["data_generation"] = data_generation_module
sys.modules["data_generation.quality_check"] = quality_check_module
sys.modules["data_generation.quality_check.quality_evaluator"] = quality_module

# Construct test data
reason_samples = [
    {
        "response": {
            "reasoning": "This is correct reasoning",
            "answer": "A"
        },
        "truth_label": "A"
    },
    {
        "response": {
            "reasoning": "This is incorrect reasoning",
            "answer": "B"
        },
        "truth_label": "A"
    },
    {
        "response": {
            "reasoning": "This is correct reasoning",
            "answer": "C"
        },
        "truth_label": "C"
    },
    {
        "response": {
            "reasoning": "This is correct reasoning",
            "answer": "D"
        },
        "truth_label": "D"
    },
    {
        "response": {
            "reasoning": "This is correct reasoning",
            "answer": "E"
        },
        "truth_label": "E"
    }
]

ARGS = {
    "reason_samples": reason_samples
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
data_generation, numpy, torch — 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
compute_ce_dpo_loss_rm Ran
ran; our contract draft was wrong, not the code
mysteriouslfz/GraphSSR/reinforcement_learning/recipe/prime/prime_core_algos.py
pointer only (licence: MIT); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("f220595adfc5e83c")
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 LeapLabTHU/OPDVR, 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.

compute_detach_dpo_loss_rm Ran
ran; our contract draft was wrong, not the code
mysteriouslfz/GraphSSR/reinforcement_learning/recipe/prime/prime_core_algos.py
pointer only (licence: MIT); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("4d91e4383716e42c")
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 LeapLabTHU/OPDVR, 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.

compute_score_data_source Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mysteriouslfz/GraphSSR/reinforcement_learning/recipe/open_math_reasoning/compute_score.py
pointer only (licence: MIT); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("05a86ccb0b3876dd")
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 LeapLabTHU/OPDVR, 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.

extract_info_from_rl_data Ran
ran; our contract draft was wrong, not the code
mysteriouslfz/GraphSSR/data_generation/pipelines/graph_prepare.py
code served (permissive licence) · get_code("c83ec68806911407")
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 re

# Construct a minimal row dict with all required fields for extract_info_from_rl_data

# Create a prompt with target nodes, node information, edge information, and labels
prompt_content = """Predict the label for node1 and node2.
node1: Feature vector [1, 2, 3]. Connected to node2.
node2: Feature vector [4, 5, 6]. Connected to node1.
Edges: <node1, node2>
Select strictly from: 'Label_A', 'Label_B', 'Label_C'.
"""

row = {
    'prompt': [
        {'content': prompt_content}
    ],
    'dataset': 'cora_node',
    'task': 'nc',
    'ground_truth': 'Label_A',
    'reward_model': 'gpt-4',
    'extra_info': {'metadata': 'test'}
}

ARGS = {
    'row': row
}
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 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
extract_info_from_sft_data Ran
ran; our contract draft was wrong, not the code
mysteriouslfz/GraphSSR/data_generation/pipelines/graph_prepare.py
code served (permissive licence) · get_code("d375e9717979275e")
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.

import re

# Construct a valid row dictionary for the extract_info_from_sft_data function
row = {
    'prompt': """node1, node2
node1: User profile with interests in photography and travel
node2: Posts about beach destinations
<node1, node2>
Select strictly from: "Photography", "Travel", "Beach". Respond only with the answer.""",
    'response': """<think>
The user is asking about the relationship between these nodes.
</think>
Answer: Photography""",
    'dataset': 'instagram',
    'task': 'nc'
}

ARGS = {
    'row': row
}
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 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
extract_prompt_info Ran
ran; our contract draft was wrong, not the code
mysteriouslfz/GraphSSR/data_generation/quality_check/quality_evaluator.py
code served (permissive licence) · get_code("445ab7979b5585c0")
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.

import re

def format_edge(edge_matches, multiple_directions=True):
    edges = [[node.strip('<').strip('>').strip() for node in match.split(',')] for match in edge_matches]
    edges_new = []
    for edge in edges:
        edge1 = '<' + edge[0] + ', ' + edge[1] + '>'
        edges_new.append(edge1)
        if multiple_directions:
            edge2 = '<' + edge[1] + ', ' + edge[0] + '>'
            edges_new.append(edge2)
    return edges_new

def extract_prompt_info(prompt, multiple_directions=True):
    target_node_pattern = '- Central node ID\\(s\\): (.*?)\\n'
    target_nodes = re.findall(target_node_pattern, prompt, re.DOTALL)[-1].strip().split(',')
    target_nodes = [node.strip() for node in target_nodes]
    node_pattern = 'node\\d+:.*?\\n'
    node_matches = re.findall(node_pattern, prompt, re.DOTALL)
    neighboring_nodes = [match.strip().split(':')[0] for match in node_matches]
    edge_pattern = '<node\\d+, node\\d+>'
    edge_matches = re.findall(edge_pattern, prompt, re.DOTALL)
    edges = format_edge(edge_matches, multiple_directions)
    return (target_nodes, neighboring_nodes, edges)

prompt_text = """
Some initial content here.

- Central node ID(s): node1, node2, node3
- Other info

node1: description of node1
node2: description of node2
node3: description of node3

Edges:
<node1, node2>
<node2, node3>
"""

ARGS = {
    'prompt': prompt_text,
    'multiple_directions': True
}
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 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
format_edge Ran
ran; our contract draft was wrong, not the code
mysteriouslfz/GraphSSR/data_generation/quality_check/quality_evaluator.py
code served (permissive licence) · get_code("c4937c7bcd456dd1")
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

# Construct a small example of edge_matches
# The function expects a list/iterable of strings where each string
# contains comma-separated node identifiers with angle brackets
edge_matches = [
    '<node_a, node_b>',
    '<node_c, node_d>',
    '<node_e, node_f>'
]

ARGS = {
    'edge_matches': edge_matches,
    'multiple_directions': True
}
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
format_subgraph_info Ran
ran; our contract draft was wrong, not the code
mysteriouslfz/GraphSSR/data_generation/quality_check/graph_diversity.py
code served (permissive licence) · get_code("11da77c844ba143e")
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 torch

torch.manual_seed(0)

# Analyze the function to understand what it needs:
# - neighboring_dic: a dictionary mapping node names to some information
# - central_node_ans: a list/iterable of node names (strings)
# - neighboring_node_ans: a list/iterable of node names (strings)
# - connection_relationship_ans: a list/iterable of relationship strings

# Build test data
neighboring_dic = {
    "node_A": "property_1",
    "node_B": "property_2",
    "node_C": "property_3",
    "node_D": "property_4"
}

central_node_ans = ["node_A", "node_B"]

neighboring_node_ans = ["node_C", "node_D"]

connection_relationship_ans = ["connected_to", "related_via"]

ARGS = {
    "neighboring_dic": neighboring_dic,
    "central_node_ans": central_node_ans,
    "neighboring_node_ans": neighboring_node_ans,
    "connection_relationship_ans": connection_relationship_ans
}
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 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
get_answer Ran
ran; our contract draft was wrong, not the code
mysteriouslfz/GraphSSR/evaluation/evaluate_trained_model.py
code served (permissive licence) · get_code("9f5c3b50b2260372")
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 re

def get_answer(response):
    try:
        if '</think>' in response:
            response = response.split('</think>', 1)[-1]
            Chosen_subgraph_reasoning_pattern = '<Chosen_subgraph_reasoning>(.*?)</Chosen_subgraph_reasoning>'
            Chosen_subgraph_reasoning_match = re.findall(Chosen_subgraph_reasoning_pattern, response, re.DOTALL)
            Chosen_subgraph_reasoning = Chosen_subgraph_reasoning_match[-1].strip()
            pattern = '<Answer>(.*?)</Answer>'
            match = re.findall(pattern, Chosen_subgraph_reasoning, re.DOTALL)
            ans = match[-1].strip()
            ans_type = 'normal'
            return (ans_type, ans)
        else:
            ans_type = 'wrong format'
            ans = ''
            return (ans_type, ans)
    except Exception as e:
        ans_type = 'wrong format'
        ans = ''
        return (ans_type, ans)


# Setup: Create a valid response string with the expected XML structure
response_valid = """
</think>
<Chosen_subgraph_reasoning>
Some reasoning text here.
<Answer>42</Answer>
</Chosen_subgraph_reasoning>
"""

ARGS = {
    'response': response_valid
}
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 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
get_answer_set Ran
ran; our contract draft was wrong, not the code
mysteriouslfz/GraphSSR/evaluation/evaluate_trained_model.py
code served (permissive licence) · get_code("3d71c5001a8cda86")
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 set. 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

torch.manual_seed(0)

# The function expects a dataset string parameter
# Based on the function body, it checks if dataset is in several predefined lists
# We'll use one of the datasets that doesn't require file I/O

ARGS = {
    'dataset': 'cora_node'
}
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 set — a set output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a set 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
graph_info_format Ran
ran; our contract draft was wrong, not the code
mysteriouslfz/GraphSSR/data_generation/pipelines/graph_prepare.py
code served (permissive licence) · get_code("3dc7d9c5b9c7968b")
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

ARGS = {
    'graph_info': {
        'target_nodes': ['node_0', 'node_1', 'node_2'],
        'node_information': [
            'Node 0: type=A, value=10',
            'Node 1: type=B, value=20',
            'Node 2: type=C, value=30'
        ],
        'edge_information': [
            'edge_0->1: weight=0.5',
            'edge_1->2: weight=0.8',
            'edge_0->2: weight=0.3'
        ],
        'label_list': ['class_A', 'class_B', 'class_C', 'class_D']
    }
}
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
worker Ran
ran; our contract draft was wrong, not the code
mysteriouslfz/GraphSSR/data_generation/quality_check/graph_diversity.py
code served (permissive licence) · get_code("dff721cae0c6c4bf")
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 time
import json
from unittest.mock import Mock, patch

# Define a small sample with the structure expected by worker
sample_1 = {
    'prompt': 'What is the capital of France?',
    'response': None,
    'completion_tokens': None
}

sample_2 = {
    'prompt': 'What is 2 + 2?',
    'response': None,
    'completion_tokens': None
}

samples = [sample_1, sample_2]

# URL for the API endpoint
url = 'http://localhost:8000/v1/chat/completions'

# Model name
model_name = 'deepseek-chat'

# Sampling parameters
sampling_params = {
    'temperature': 0.7,
    'max_tokens': 512,
    'top_p': 0.95
}

# Index parameter (which sample to process)
index = 0

# Construct the args tuple that worker expects
ARGS = {
    'args': (index, samples, url, model_name, sampling_params)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
requests — 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
call_deepseek Not yet run
unverified (harvested, no recorded run)
mysteriouslfz/GraphSSR/data_generation/quality_check/graph_diversity.py
code served (permissive licence) · get_code("8aabed90d9f402ef")
How it ran

no invocation recorded.

construct_prompt_chosen_reasoning Not yet run
unverified (harvested, no recorded run)
mysteriouslfz/GraphSSR/data_generation/pipelines/prompt_templete.py
code served (permissive licence) · get_code("a0893a8a037a6f3c")
How it ran

no invocation recorded.

construct_prompt_reasoning Not yet run
unverified (harvested, no recorded run)
mysteriouslfz/GraphSSR/data_generation/pipelines/sft_data_generator.py
code served (permissive licence) · get_code("49d7dbdb93925deb")
How it ran

no invocation recorded.

generate_subgraph_data Not yet run
unverified (harvested, no recorded run)
mysteriouslfz/GraphSSR/data_generation/pipelines/preprocess.py
code served (permissive licence) · get_code("7cfa78b8c2ff3ac1")
How it ran

no invocation recorded.

get_gofa_prompt Not yet run
unverified (harvested, no recorded run)
mysteriouslfz/GraphSSR/evaluation/evaluate_trained_model.py
code served (permissive licence) · get_code("99a95a27dc6054dd")
How it ran

no invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 3 the same month, 3 later) and 16 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
compute_ce_dpo_loss_rm 46 other papers
19 dated earlier, 6 the same month, 18 later, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
and 43 more not named here
compute_detach_dpo_loss_rm 44 other papers
17 dated earlier, 7 the same month, 17 later, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
and 41 more not named here
compute_score_data_source 13 other papers
2 dated earlier, 2 the same month, 8 later, 1 undated
2601.21468 (2026-01)
MemOCR: Layout-Aware Visual Memory for Efficient Long-Horizon Reasoning
2602.17550 (2026-02)
MASPO: Unifying Gradient Utilization, Probability Mass, and Signal Reliability for Robust and Sample-Efficient LLM Reasoning
2603.07079 (2026-03)
Entropy-Aware On-Policy Distillation of Language Models
and 10 more not named here

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-24.

Repositories linked to this paper

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

Abstract

Graph-based tasks in the zero-shot setting remain a significant challenge due to data scarcity and the inability of traditional Graph Neural Networks (GNNs) to generalize to unseen domains or label spaces. While recent advancements have transitioned toward leveraging Large Language Models (LLMs) as predictors to enhance GNNs, these methods often suffer from cross-modal alignment issues. A recent paradigm (i.e., Graph-R1) overcomes the aforementioned architectural dependencies by adopting a purely textbased format and utilizing LLM-based graph reasoning, showing improved zero-shot generalization. However, it employs a taskagnostic, one-size-fits-all subgraph extraction strategy, which inevitably introduces significant structural noise-irrelevant neighbors and edges-that distorts the LLMs' receptive field and leads to suboptimal predictions. To address this limitation, we introduce GraphSSR, a novel framework designed for adaptive subgraph extraction and denoising in zero-shot LLM-based graph reasoning. Specifically, we propose the SSR pipeline, which dynamically tailors subgraph extraction to specific contexts through a "Sample-Select-Reason" process, enabling the model to autonomously filter out task-irrelevant neighbors and overcome the one-size-fits-all issue. To internalize this capability, we develop SSR-SFT, a data synthesis strategy that generates high-quality SSR-style graph reasoning

For agents

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

get_harvested_code_for_paper("2603.02938")
get_code_for_paper("2603.02938")
have("2603.02938")

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

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

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

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

Connect an agent — have() is free.