SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1905.03994 · 2019

Predicting Path Failure In Time-Evolving Graphs

arXiv · PDF · Open in the Atlas

Code that ran

3 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 2 failures of our instrument; 1 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/1905.03994.json · badge: /api/ran/1905.03994.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
chocolates/predicting-path-failure-in-time-evolving-graphs canonical (classifier label)
classifier basis: classifier_2025
2 ran · 1 no recorded run
benedekrozemberczki/pytorch_geometric_temporal application (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
LRGCN Ran
ran on a synthesized input · constructed an object; no result was computed
benedekrozemberczki/pytorch_geometric_temporal/torch_geometric_temporal/nn/recurrent/lrgcn.py
code served (permissive licence) · get_code("5db5ec04c3093d4e")
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 an instance of its own class, LRGCN: the run constructed the object and did not call it, so no result was computed. 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 torch.nn as nn
from torch_geometric.nn import RGCNConv

torch.manual_seed(0)

# Create a small instance of LRGCN to use as a test
ARGS = {
    "in_channels": 4,
    "out_channels": 3,
    "num_relations": 2,
    "num_bases": 1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torch_geometric — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type LRGCN — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a LRGCN 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
load_data Ran
ran; our contract draft was wrong, not the code
chocolates/predicting-path-failure-in-time-evolving-graphs/load_data.py
code served (permissive licence) · get_code("99d0df168d73bc4c")
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 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 numpy as np
import pickle as pkl
from unittest.mock import Mock, patch
import tempfile
import os

# Create temporary directory and mock pickle files
temp_dir = tempfile.mkdtemp()
data_dir = os.path.join(temp_dir, 'DATA')
os.makedirs(data_dir, exist_ok=True)

# Create mock data structures
num_nodes = 10
num_paths = 5
num_timestamps = 30
window_size = 24
test_size = 5

# Create adjacency matrices (sparse-like, transposed)
adj_list = [np.random.rand(num_nodes, num_nodes) for _ in range(num_timestamps + 1)]
adj_list_transpose = [adj.transpose() for adj in adj_list]

# Create output dict with adjacent_matrix and path_dict
adjacent_matrix = np.random.rand(num_nodes, num_nodes)
path_dict = {i: list(range(np.random.randint(2, 6))) for i in range(num_paths)}

output = {
    'adjacent_matrix': adjacent_matrix,
    'path_dict': path_dict
}

# Create feature array (timestamps, nodes, features)
feature = np.random.rand(num_timestamps, num_nodes, 4)

# Create label array
label = np.random.rand(num_timestamps, num_paths)

# Save mock data to pickle files
with open(os.path.join(data_dir, 'adj_list.pkl'), 'wb') as f:
    pkl.dump(adj_list, f)

with open(os.path.join(data_dir, 'output.pkl'), 'wb') as f:
    pkl.dump(output, f)

with open(os.path.join(data_dir, 'input_feature.pkl'), 'wb') as f:
    pkl.dump(feature, f)

with open(os.path.join(data_dir, 'path_label.pkl'), 'wb') as f:
    pkl.dump(label, f)

# Change to temp directory so relative paths work
original_dir = os.getcwd()
os.chdir(temp_dir)

ARGS = {
    'window_size': 24,
    'test_size': 5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — 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
sample_mask Ran
ran; our contract draft was wrong, not the code
chocolates/predicting-path-failure-in-time-evolving-graphs/load_data.py
code served (permissive licence) · get_code("72ba653e4f5592f9")
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 ndarray, ndim 1, dtype family float, shape (7,) 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 numpy as np

# sample_mask takes two parameters:
# - idx: indices to set to 1 in the mask
# - l: length of the mask

# Create small test values
idx = np.array([0, 2, 4])  # indices to set to 1
l = 7  # length of mask

ARGS = {
    "idx": idx,
    "l": l
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (7,) — shape (7,) 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
LRGCN Not yet run
unverified (harvested, no recorded run)
chocolates/predicting-path-failure-in-time-evolving-graphs/path_model.py
code served (permissive licence) · get_code("02fdde78509897e7")
How it ran

no invocation recorded.

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, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 1 later) and 3 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
sample_mask 28 other papers
9 dated earlier, 1 the same month, 18 later
1603.08861 (2016-03)
Revisiting Semi-Supervised Learning with Graph Embeddings
1710.10568 (2017-10)
Stochastic Training of Graph Convolutional Networks with Variance Reduction
1710.10903 (2017-10)
Graph Attention Networks
and 25 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-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

In this paper we use a time-evolving graph which consists of a sequence of graph snapshots over time to model many real-world networks. We study the path classification problem in a time-evolving graph, which has many applications in real-world scenarios, for example, predicting path failure in a telecommunication network and predicting path congestion in a traffic network in the near future. In order to capture the temporal dependency and graph structure dynamics, we design a novel deep neural network named Long Short-Term Memory R-GCN (LRGCN). LRGCN considers temporal dependency between time-adjacent graph snapshots as a special relation with memory, and uses relational GCN to jointly process both intra-time and inter-time relations. We also propose a new path representation method named self-attentive path embedding (SAPE), to embed paths of arbitrary length into fixed-length vectors. Through experiments on a real-world telecommunication network and a traffic network in California, we demonstrate the superiority of LRGCN to other competing methods in path failure prediction, and prove the effectiveness of SAPE on path representation.

For agents

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

get_harvested_code_for_paper("1905.03994")
get_code_for_paper("1905.03994")
have("1905.03994")

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

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

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

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

Connect an agent — have() is free.