SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2211.08568 · 2022

Graph Sequential Neural ODE Process for Link Prediction on Dynamic and Sparse Graphs

arXiv · PDF · Open in the Atlas

Code that ran

4 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; 2 failures of our instrument; 0 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/2211.08568.json · badge: /api/ran/2211.08568.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
rmanluo/gsnop canonical (classifier label)
classifier basis not recorded on the link
4 ran · 0 no recorded run
FunctionStatusWhere it lives
load_feat Ran
ran on a synthesized input
rmanluo/gsnop/code/utils.py
code served (permissive licence) · get_code("7022c11f6017daad")
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 torch
import os
import tempfile
import shutil

torch.manual_seed(0)

# Create a temporary directory structure for DATA
temp_dir = tempfile.mkdtemp()
data_dir = os.path.join(temp_dir, 'DATA', 'test_dataset')
os.makedirs(data_dir, exist_ok=True)

# Save some test feature files
node_features = torch.randn(5, 8).float()
edge_features = torch.randn(10, 6).float()
torch.save(node_features, os.path.join(data_dir, 'node_features.pt'))
torch.save(edge_features, os.path.join(data_dir, 'edge_features.pt'))

# Patch os.path to use our temp directory
original_exists = os.path.exists
original_load = torch.load

def mock_exists(path):
    if path.startswith('DATA/'):
        path = path.replace('DATA/', os.path.join(temp_dir, 'DATA/'))
    return original_exists(path)

def mock_load(path):
    if path.startswith('DATA/'):
        path = path.replace('DATA/', os.path.join(temp_dir, 'DATA/'))
    return original_load(path)

os.path.exists = mock_exists
torch.load = mock_load

ARGS = {
    'd': 'test_dataset',
    'n_node': 5,
    'n_edge': 10,
    'rand_de': 0,
    'rand_dn': 0,
    'zero_feat': False,
}
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 — 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
load_graph Ran
ran; our contract draft was wrong, not the code
rmanluo/gsnop/code/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from NoneBone/FAST, is pointer only (licence: NONE) · get_code("30b343adb02308b6")
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 NoneBone/FAST, 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.

parse_config Ran
ran on a synthesized input
rmanluo/gsnop/code/utils.py
code served (permissive licence) · get_code("55af96dc533b83d0")
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
import yaml
import tempfile
import os

torch.manual_seed(0)

# Create a temporary YAML config file with the required structure
config_content = """
sampling:
  - param1: value1
    param2: value2

memory:
  - param3: value3
    param4: value4

gnn:
  - param5: value5
    param6: value6

np:
  - param7: value7
    param8: value8

train:
  - param9: value9
    param10: value10
"""

# Write config to a temporary file
temp_dir = tempfile.mkdtemp()
config_file = os.path.join(temp_dir, "config.yaml")
with open(config_file, 'w') as f:
    f.write(config_content)

ARGS = {
    'f': config_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, yaml — 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
t2v Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rmanluo/gsnop/code/layers.py
code served (permissive licence) · get_code("4827bf624c11e4fc")
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) and returned Tensor, ndim 2, dtype family float, shape (2, 8) 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 as nn

torch.manual_seed(0)

# tau: input tensor (batch_size, input_dim)
tau = torch.randn(2, 4)

# f: a function that takes a tensor and optionally an arg
def f(x, arg=None):
    if arg is not None:
        return x * arg
    return torch.sin(x)

# out_features: output feature dimension
out_features = 3

# w: weight matrix for first transformation (input_dim, hidden_dim)
w = torch.randn(4, 5)

# b: bias for first transformation (hidden_dim,)
b = torch.randn(5)

# w0: weight matrix for second transformation (input_dim, out_features)
w0 = torch.randn(4, 3)

# b0: bias for second transformation (out_features,)
b0 = torch.randn(3)

# arg: optional argument to pass to f
arg = torch.tensor(2.0)

ARGS = {
    "tau": tau,
    "f": f,
    "out_features": out_features,
    "w": w,
    "b": b,
    "w0": w0,
    "b0": b0,
    "arg": arg,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 2, dtype family float, shape (2, 8) — shape (2, 8) 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

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, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 1 later) and 2 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
load_graph 2 other papers
1 dated earlier, 1 later
2203.14883 (2022-03)
TGL: A General Framework for Temporal GNN Training on Billion-Scale Graphs
2607.05095 (2026-07)
FAST: A Holistic Framework for Optimizing Memory-I/O, Computation, and Sampling in Temporal GNN Training
t2v 1 other paper
1 dated earlier
2103.12413 (2021-03)
NEURAL ODE PROCESSES

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

Link prediction on dynamic graphs is an important task in graph mining. Existing approaches based on dynamic graph neural networks (DGNNs) typically require a significant amount of historical data (interactions over time), which is not always available in practice. The missing links over time, which is a common phenomenon in graph data, further aggravates the issue and thus creates extremely sparse and dynamic graphs. To address this problem, we propose a novel method based on the neural process, called Graph Sequential Neural ODE Process (GSNOP). Specifically, GSNOP combines the advantage of the neural process and neural ordinary differential equation that models the link prediction on dynamic graphs as a dynamic-changing stochastic process. By defining a distribution over functions, GSNOP introduces the uncertainty into the predictions, making it generalize to more situations instead of overfitting to the sparse data. GSNOP is also agnostic to model structures that can be integrated with any DGNN to consider the chronological and geometrical information for link prediction. Extensive experiments on three dynamic graph datasets show that GSNOP can significantly improve the performance of existing DGNNs and outperform other neural process variants.

For agents

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

get_harvested_code_for_paper("2211.08568")
get_code_for_paper("2211.08568")
have("2211.08568")

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

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

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

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

Connect an agent — have() is free.