SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1909.05310 · 2019

Spatial Graph Convolutional Networks

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 3 have no contract verdict; 1 failure of our instrument; 0 no recorded run), measured 2026-11-22; 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/1909.05310.json · badge: /api/ran/1909.05310.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
gmum/geo-gcn canonical (classifier label)
classifier basis: census
4 ran · 0 no recorded run
FunctionStatusWhere it lives
get_edge_indices Ran
ran on a synthesized input
gmum/geo-gcn/src/chem.py
code served (permissive licence) · get_code("990a010cbcc744ff")
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 2, dtype family int; 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 numpy as np

torch.manual_seed(0)

# Create a small adjacency matrix (4x4) with some edges
# The function iterates through adj.shape[0] and accesses adj[i, j]
# It checks if adj[i, j] == 1 to identify edges
adj = np.array([
    [0, 1, 0, 1],
    [1, 0, 1, 0],
    [0, 1, 0, 1],
    [1, 0, 1, 0]
], dtype=np.int32)

ARGS = {
    "adj": adj
}
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 list, ndim 2, dtype family int — 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
normalized_cut_2d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
gmum/geo-gcn/src/normalized_cut_2d.py
pointer only (licence: MIT); the stored copy get_code serves, from yanweiyue/mog, is pointer only (licence: NONE) · get_code("49d00df8478a9572")
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 yanweiyue/mog, 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.

transform_dataset_pg Ran
ran on a synthesized input
gmum/geo-gcn/src/chem.py
code served (permissive licence) · get_code("2e1175f05a89a001")
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. 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
from torch_geometric.data import Data

torch.manual_seed(0)

def get_edge_indices(adj):
    edges_list = []
    for i in range(adj.shape[0]):
        for j in range(i, adj.shape[0]):
            if adj[i, j] == 1:
                edges_list.append((i, j))
    return edges_list

def transform_molecule_pg(mol):
    afm, adj, positions, label = mol
    x = torch.tensor(afm)
    y = torch.tensor(label)
    edge_index = torch.tensor(get_edge_indices(adj)).t().contiguous()
    pos = torch.tensor(positions)
    return Data(x=x, y=y, edge_index=edge_index, pos=pos)

def transform_dataset_pg(dataset):
    dataset_pg = []
    for mol in dataset:
        dataset_pg.append(transform_molecule_pg(mol))
    return dataset_pg

# Create sample molecules
# Each molecule is a tuple: (atom_feature_matrix, adjacency_matrix, positions, label)

# Molecule 1
afm1 = np.random.randn(3, 4).astype(np.float32)  # 3 atoms, 4 features each
adj1 = np.array([[0, 1, 0],
                 [1, 0, 1],
                 [0, 1, 0]], dtype=np.int64)  # adjacency matrix
positions1 = np.random.randn(3, 3).astype(np.float32)  # 3 atoms, 3D positions
label1 = 1

mol1 = (afm1, adj1, positions1, label1)

# Molecule 2
afm2 = np.random.randn(2, 4).astype(np.float32)  # 2 atoms, 4 features each
adj2 = np.array([[0, 1],
                 [1, 0]], dtype=np.int64)  # adjacency matrix
positions2 = np.random.randn(2, 3).astype(np.float32)  # 2 atoms, 3D positions
label2 = 0

mol2 = (afm2, adj2, positions2, label2)

# Create dataset
dataset = [mol1, mol2]

ARGS = {
    "dataset": dataset
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch, torch_geometric — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list 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
transform_molecule_pg Ran
ran on a synthesized input
gmum/geo-gcn/src/chem.py
code served (permissive licence) · get_code("6f02c757b65aa357")
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 Data. 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
from torch_geometric.data import Data

torch.manual_seed(0)

# Create a small molecule representation
# afm: atom feature matrix (num_atoms, num_features)
# adj: adjacency matrix (num_atoms, num_atoms)
# positions: 3D coordinates (num_atoms, 3)
# label: scalar label

num_atoms = 4
num_features = 3

# Atom feature matrix
afm = np.random.rand(num_atoms, num_features).astype(np.float32)

# Adjacency matrix (symmetric, binary)
adj = np.array([
    [0, 1, 1, 0],
    [1, 0, 0, 1],
    [1, 0, 0, 1],
    [0, 1, 1, 0]
], dtype=np.float32)

# 3D positions
positions = np.random.rand(num_atoms, 3).astype(np.float32)

# Label (scalar)
label = 1

mol = (afm, adj, positions, label)

ARGS = {
    "mol": mol
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch, torch_geometric — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Data — a Data 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

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 (0 with at least one paper dated earlier, 0 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
normalized_cut_2d 1 other paper
1 later
2405.14260 (2024-05)
Graph Sparsification via Mixture of Graphs

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

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 Convolutional Networks (GCNs) have recently become the primary choice for learning from graph-structured data, superseding hash fingerprints in representing chemical compounds. However, GCNs lack the ability to take into account the ordering of node neighbors, even when there is a geometric interpretation of the graph vertices that provides an order based on their spatial positions. To remedy this issue, we propose Spatial Graph Convolutional Network (SGCN) which uses spatial features to efficiently learn from graphs that can be naturally located in space. Our contribution is threefold: we propose a GCN-inspired architecture which (i) leverages node positions, (ii) is a proper generalization of both GCNs and Convolutional Neural Networks (CNNs), (iii) benefits from augmentation which further improves the performance and assures invariance with respect to the desired properties. Empirically, SGCN outperforms state-of-the-art graph-based methods on image classification and chemical tasks.

For agents

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

get_harvested_code_for_paper("1909.05310")
get_code_for_paper("1909.05310")
have("1909.05310")

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

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

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

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

Connect an agent — have() is free.