SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1603.08861 · 2016

Revisiting Semi-Supervised Learning with Graph Embeddings

Ruslan Salakhutdinov, William Cohen, Zhilin Yang

arXiv · PDF · Open in the Atlas

Code that ran

15 of 28 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 2 violated it and 7 have no contract verdict; 3 failures of our instrument; 13 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/1603.08861.json · badge: /api/ran/1603.08861.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
asarigun/la-gcn-tensorflow community (classifier label)
classifier basis not recorded on the link
5 ran · 4 no recorded run
asarigun/nfc-gcn community
Papers with Code archive
3 ran · 1 no recorded run
Maysir/GRCN community
Papers with Code archive
3 ran · 0 no recorded run
tkipf/ica community
Papers with Code archive
2 ran · 1 no recorded run
meliketoy/graph-cnn.pytorch community
Papers with Code archive
2 ran · 0 no recorded run
mipot101/GNM-Implementations community
Papers with Code archive
0 ran · 3 no recorded run
iMoonLab/DHGNN community
Papers with Code archive
0 ran · 1 no recorded run
asarigun/la-gcn-pytorch community
Papers with Code archive
0 ran · 1 no recorded run
venomouscyanide/s3grl_ogb community
Papers with Code archive
0 ran · 1 no recorded run
asarigun/nfc community (classifier label)
classifier basis not recorded on the link
0 ran · 1 no recorded run
FunctionStatusWhere it lives
GCN Ran
ran on a synthesized input · constructed an object; no result was computed
meliketoy/graph-cnn.pytorch/models.py
code served (permissive licence) · get_code("f224b63a7a7463d9")
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, GCN: 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
import torch.nn.functional as F
import math
from torch.nn.parameter import Parameter
from torch.nn.modules.module import Module

torch.manual_seed(0)

# Number of nodes in the graph
num_nodes = 2
# Number of input features
nfeat = 4
# Number of hidden features
nhid = 3
# Number of output classes
nclass = 5
# Dropout rate
dropout = 0.5
# Initialization method
init = 'xavier'

# Create a small adjacency matrix (sparse, for a 2-node graph)
# Using a simple dense adjacency matrix and converting to sparse
adj_dense = torch.tensor([
    [1.0, 1.0],
    [1.0, 1.0]
], dtype=torch.float32)
adj = adj_dense.to_sparse()

# Create input features (num_nodes x nfeat)
x = torch.randn(num_nodes, nfeat)

ARGS = {
    'nfeat': nfeat,
    'nhid': nhid,
    'nclass': nclass,
    'dropout': dropout,
    'init': init
}
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 GCN — 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 GCN 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
GCNConv_dense Ran
ran on a synthesized input
Maysir/GRCN/models/GRCN.py
code served (permissive licence) · get_code("ec355dcbf751cc7a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, 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 torch.nn as nn

class GCNConv_dense(torch.nn.Module):
    """
    A GCN convolution layer of dense matrix multiplication
    """

    def __init__(self, input_size, output_size):
        super(GCNConv_dense, self).__init__()
        self.linear = nn.Linear(input_size, output_size)

    def init_para(self):
        self.linear.reset_parameters()

    def forward(self, input, A, sparse=False):
        hidden = self.linear(input)
        if sparse:
            output = torch.sparse.mm(A, hidden)
        else:
            output = torch.matmul(A, hidden)
        return output


INIT_ARGS = {
    'input_size': 4,
    'output_size': 3,
}

ARGS = {
    'input': torch.randn(2, 4),
    'A': torch.randn(2, 2),
    'sparse': False,
}

if __name__ == '__main__':
    model = GCNConv_dense(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Output: {output}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
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 — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
GCNConv_diag Ran
ran on a synthesized input
Maysir/GRCN/models/GRCN.py
code served (permissive licence) · get_code("270166c76b26a9ee")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, 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 numpy as np

# INIT_ARGS for GCNConv_diag.__init__
INIT_ARGS = {
    "input_size": 4,
    "device": "cpu"
}

# ARGS for GCNConv_diag.forward
# Construct input tensor (batch=2, features=4)
input_tensor = torch.randn(2, 4)

# Construct adjacency matrix (2x2) - small graph with 2 nodes
A = torch.tensor([[1.0, 0.5], [0.5, 1.0]])

# Sparse version of A (optional, but included for testing sparse path)
A_sparse = A.to_sparse()

ARGS = {
    "input": input_tensor,
    "A": A,
    "sparse": False
}

# Also define ARGS_SPARSE for testing the sparse path
ARGS_SPARSE = {
    "input": input_tensor,
    "A": A_sparse,
    "sparse": True
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, 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 — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
GraphConvolution Ran
ran on a synthesized input
meliketoy/graph-cnn.pytorch/models.py
code served (permissive licence) · get_code("ff277e8dd110b334")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, 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 torch.nn as nn
import math

INIT_ARGS = {
    'in_features': 4,
    'out_features': 3,
    'bias': True,
    'init': 'xavier'
}

# Create a small adjacency matrix (sparse format)
# 5 nodes, so 5x5 adjacency matrix
num_nodes = 5
indices = torch.LongTensor([[0, 1, 2, 3, 4], [1, 2, 3, 4, 0]])
values = torch.FloatTensor([1.0, 1.0, 1.0, 1.0, 1.0])
adj = torch.sparse.FloatTensor(indices, values, torch.Size([num_nodes, num_nodes]))

# Input features: 5 nodes, 4 features each
input_tensor = torch.randn(num_nodes, 4)

ARGS = {
    'input': input_tensor,
    'adj': adj
}

if __name__ == '__main__':
    from torch.nn.parameter import Parameter
    from torch.nn.modules.module import Module
    
    class GraphConvolution(Module):
        """
        Simple GCN layer, similar to https://arxiv.org/abs/1609.02907
        """

        def __init__(self, in_features, out_features, bias=True, init='xavier'):
            super(GraphConvolution, self).__init__()
            self.in_features = in_features
            self.out_features = out_features
            self.weight = Parameter(torch.FloatTensor(in_features, out_features))
            if bias:
                self.bias = Parameter(torch.FloatTensor(out_features))
            else:
                self.register_parameter('bias', None)
            if init == 'uniform':
                print('| Uniform Initialization')
                self.reset_parameters_uniform()
            elif init == 'xavier':
                print('| Xavier Initialization')
                self.reset_parameters_xavier()
            elif init == 'kaiming':
                print('| Kaiming Initialization')
                self.reset_parameters_kaiming()
            else:
                raise NotImplementedError

        def reset_parameters_uniform(self):
            stdv = 1.0 / math.sqrt(self.weight.size(1))
            self.weight.data.uniform_(-stdv, stdv)
            if self.bias is not None:
                self.bias.data.uniform_(-stdv, stdv)

        def reset_parameters_xavier(self):
            nn.init.xavier_normal_(self.weight.data, gain=0.02)
            if self.bias is not None:
                nn.init.constant_(self.bias.data, 0.0)

        def reset_parameters_kaiming(self):
            nn.init.kaiming_normal_(self.weight.data, a=0, mode='fan_in')
            if self.bias is not None:
                nn.init.constant_(self.bias.data, 0.0)

        def forward(self, input, adj):
            support = torch.mm(input, self.weight)
            output = torch.spmm(adj, support)
            if self.bias is not None:
                return output + self.bias
            else:
                return output

        def __repr__(self):
            return self.__class__.__name__ + ' (' + str(self.in_features) + ' -> ' + str(self.out_features) + ')'

    gcn = GraphConvolution(**INIT_ARGS)
    result = gcn(**ARGS)
    print(f"Output shape: {result.shape}")
    print(f"Output:\n{result}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
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 — no output shape is stated: observe_signature.py could not observe it (no_result)
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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
ICA Ran
ran on a synthesized input · constructed an object; no result was computed
tkipf/ica/ica/classifiers.py
code served (permissive licence) · get_code("bf9e124488a3ad49")
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, ICA: 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 numpy as np
from sklearn.linear_model import LogisticRegression
from sklearn.svm import SVC

class MockGraph:
    def __init__(self, num_nodes=5):
        self.num_nodes = num_nodes
        self.node_list = [f"node_{i}" for i in range(num_nodes)]
        self.edges = [(i, (i + 1) % num_nodes) for i in range(num_nodes)]

class MockClassifier:
    def __init__(self):
        self.model = LogisticRegression(max_iter=100)
        self.classes_ = np.array([0, 1])
    
    def fit(self, graph, train_indices):
        X = np.random.randn(len(train_indices), 4)
        y = np.random.randint(0, 2, len(train_indices))
        self.model.fit(X, y)
    
    def predict(self, graph, test_indices, conditional_map=None):
        X = np.random.randn(len(test_indices), 4)
        predictions = self.model.predict(X)
        return predictions.tolist()

class MockRelationalClassifier:
    def __init__(self):
        self.model = SVC()
    
    def fit(self, graph, train_indices, local_classifier, bootstrap):
        X = np.random.randn(len(train_indices), 4)
        y = np.random.randint(0, 2, len(train_indices))
        self.model.fit(X, y)
    
    def predict(self, graph, test_indices, conditional_map=None):
        X = np.random.randn(len(test_indices), 4)
        predictions = self.model.predict(X)
        return predictions.tolist()

graph = MockGraph(num_nodes=5)
train_indices = [0, 1]
eval_indices = [2]
test_indices = [3, 4]

local_clf = MockClassifier()
relational_clf = MockRelationalClassifier()
bootstrap = True

conditional_node_to_label_map = {node: 0 for node in graph.node_list}

ARGS = {
    'local_classifier': local_clf,
    'relational_classifier': relational_clf,
    'bootstrap': bootstrap,
    'max_iteration': 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ICA — 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 ICA 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
Model Ran
ran on a synthesized input · constructed an object; no result was computed
Maysir/GRCN/models/GRCN.py
code served (permissive licence) · get_code("bcdba8daf230043b")
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, Model: 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

torch.manual_seed(0)

class Args:
    def __init__(self):
        self.hid_graph = "8:6"
        self.nhid = 5
        self.layertype = "dense"
        self.F = 2
        self.F_graph = 2
        self.dropout = 0.5
        self.compl_param = "3"
        self.normalize = True
        self.reduce = "knn"
        self.sparse = False

num_nodes = 2
num_features = 4
num_classes = 3
device = torch.device("cpu")
args = Args()

ARGS = {
    "num_nodes": num_nodes,
    "num_features": num_features,
    "num_classes": num_classes,
    "device": device,
    "args": args
}
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 Model — 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 Model 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
Model Ran
ran on a synthesized input · constructed an object; no result was computed
asarigun/nfc-gcn/models.py
code served (permissive licence) · get_code("79092f3060750964")
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, Model: 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 tensorflow as tf

# Create a concrete Model subclass for testing
class ConcreteModel(tf.keras.Model):
    def __init__(self, **kwargs):
        super().__init__(**kwargs)
        self.dense = tf.keras.layers.Dense(3)
    
    def call(self, inputs):
        return self.dense(inputs)
    
    def _build(self):
        pass
    
    def _loss(self):
        pass
    
    def _accuracy(self):
        pass

ARGS = {
    'name': 'test_model',
    'logging': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Model — 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 Model 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
dot Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
asarigun/la-gcn-tensorflow/layers.py
pointer only (licence: MIT); the stored copy get_code serves, from thumlp/tensorgcn, is pointer only (licence: NONE) · get_code("bc3a2072a2a9cca3")
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 thumlp/tensorgcn, 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.

get_class Ran
ran; our contract draft was wrong, not the code
tkipf/ica/ica/classifiers.py
code served (permissive licence) · get_code("b8337cff1a162df4")
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 type. 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

# The function takes a string 'kls' which should be a dotted path to a class
# It splits the path, imports the module, and uses getattr to traverse to the class
# We need to provide a valid dotted path string that points to an actual class

# Valid example: a built-in class path
kls_string = "torch.nn.Linear"

ARGS = {
    "kls": kls_string
}
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 type — a type output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a type 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
get_layer_uid Ran
ran, honoured the contract we drafted
asarigun/la-gcn-tensorflow/layers.py
pointer only (licence: MIT); the stored copy get_code serves, from thumlp/tensorgcn, is pointer only (licence: NONE) · get_code("b82968db452628fd")
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 thumlp/tensorgcn, 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.

masked_accuracy Ran
ran, violated the contract we drafted
asarigun/nfc-gcn/models.py
code served (permissive licence) · get_code("b89d4728d3c8578d")
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 EagerTensor, 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 tensorflow as tf
import numpy as np

# Set random seed for reproducibility
tf.random.set_seed(0)

# Create small tensors for testing
batch_size = 2
num_classes = 4

# preds: logits or probabilities, shape [batch_size, num_classes]
# For argmax to work, we need at least 2D tensor
preds = tf.constant([
    [0.1, 0.9, 0.2, 0.3],
    [0.8, 0.1, 0.05, 0.05]
], dtype=tf.float32)

# labels: one-hot encoded or logits, shape [batch_size, num_classes]
# The function uses argmax on labels, so it should be similar shape
labels = tf.constant([
    [0.0, 1.0, 0.0, 0.0],
    [1.0, 0.0, 0.0, 0.0]
], dtype=tf.float32)

# mask: binary mask indicating which samples to include, shape [batch_size]
# The function casts it to float32 and computes mean, so it can be any numeric type
mask = tf.constant([1, 1], dtype=tf.int32)

ARGS = {
    "preds": preds,
    "labels": labels,
    "mask": mask
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, 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
masked_softmax_cross_entropy Ran
ran, honoured the contract we drafted
asarigun/nfc-gcn/models.py
code served (permissive licence) · get_code("d103f29cc58337a2")
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 EagerTensor, 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 tensorflow as tf
import numpy as np

# Set random seed for reproducibility
np.random.seed(0)
tf.random.set_seed(0)

# Create small tensors for the function
batch_size = 2
num_classes = 4

# preds: logits tensor of shape (batch_size, num_classes)
preds = tf.constant(np.random.randn(batch_size, num_classes).astype(np.float32))

# labels: one-hot encoded labels of shape (batch_size, num_classes)
labels = tf.constant(np.eye(num_classes)[np.array([0, 1])].astype(np.float32))

# mask: binary mask of shape (batch_size,) to indicate valid samples
mask = tf.constant(np.array([1, 1]).astype(np.float32))

ARGS = {
    "preds": preds,
    "labels": labels,
    "mask": mask
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, 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
parse_index_file Ran
ran, honoured the contract we drafted
asarigun/la-gcn-tensorflow/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from DSL-Lab/Specformer, is pointer only (licence: GPL-3.0) · get_code("c1d6392f89c5e495")
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 DSL-Lab/Specformer, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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.

sample_mask Ran
ran, violated the contract we drafted
asarigun/la-gcn-tensorflow/utils.py
code served (permissive licence) · get_code("b32fd748b4bbe3bf")
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 (5,) 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

# Analyze the function:
# - idx: used as an index into mask array, should be an integer or array of integers
# - l: used as the length parameter for np.zeros, should be an integer

# Create valid arguments
idx = 2  # Single index into the mask array
l = 5    # Length of the mask array

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 (5,) — shape (5,) 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
zeros Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
asarigun/la-gcn-tensorflow/inits.py
pointer only (licence: MIT); the stored copy get_code serves, from flyingdoog/PTDNet, is pointer only (licence: NONE) · get_code("b190ef9c60b2629a")
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 flyingdoog/PTDNet, 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.

Classifier Not yet run
unverified (harvested, no recorded run)
tkipf/ica/ica/classifiers.py
code served (permissive licence) · get_code("c3f22105f96e8f5a")
How it ran

no invocation recorded.

DHGNN_v1 Not yet run
unverified (harvested, no recorded run)
iMoonLab/DHGNN/models/models.py
code served (permissive licence) · get_code("1aded806aefeb35f")
How it ran

no invocation recorded.

GCN Not yet run
unverified (harvested, no recorded run)
asarigun/nfc-gcn/models.py
code served (permissive licence) · get_code("0da98822521f5a66")
How it ran

no invocation recorded.

GCN_MASK Not yet run
unverified (harvested, no recorded run)
asarigun/la-gcn-pytorch/models.py
code served (permissive licence) · get_code("05d312950dfb243b")
How it ran

no invocation recorded.

S3GRLLight Not yet run
unverified (harvested, no recorded run)
venomouscyanide/s3grl_ogb/models.py
pointer only (licence: NONE) · get_code("e6be015d5b6f544a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, venomouscyanide/s3grl_ogb 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. No invocation recorded.

glorot Not yet run
unverified (harvested, no recorded run)
asarigun/la-gcn-tensorflow/inits.py
pointer only (licence: MIT); the stored copy get_code serves, from nju-websoft/OpenEA, is pointer only (licence: GPL-3.0) · get_code("1b491f3f784b7cb0")
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 nju-websoft/OpenEA, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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. No invocation recorded.

load_data Not yet run
unverified (harvested, no recorded run)
asarigun/la-gcn-tensorflow/utils.py
code served (permissive licence) · get_code("73af867b964476a6")
How it ran

no invocation recorded.

load_data Not yet run
unverified (harvested, no recorded run)
asarigun/nfc/utils.py
code served (permissive licence) · get_code("ae7971ec194c0050")
How it ran

no invocation recorded.

sparse_dropout Not yet run
unverified (harvested, no recorded run)
asarigun/la-gcn-tensorflow/layers.py
pointer only (licence: MIT); the stored copy get_code serves, from thumlp/tensorgcn, is pointer only (licence: NONE) · get_code("81be8a5f4732fe52")
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 thumlp/tensorgcn, 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. No invocation recorded.

train_modelr Not yet run
unverified (harvested, no recorded run)
mipot101/GNM-Implementations/GNM_Toolbox/gnm.py
pointer only (licence: NONE) · get_code("2d1711104178d07b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mipot101/GNM-Implementations 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. No invocation recorded.

train_modely Not yet run
unverified (harvested, no recorded run)
mipot101/GNM-Implementations/GNM_Toolbox/gnm.py
pointer only (licence: NONE) · get_code("7744934903a62303")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mipot101/GNM-Implementations 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. No invocation recorded.

train_net_with_gnm Not yet run
unverified (harvested, no recorded run)
mipot101/GNM-Implementations/GNM_Toolbox/gnm.py
pointer only (licence: NONE) · get_code("560fe1ad9ba4b948")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mipot101/GNM-Implementations 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. No invocation recorded.

uniform Not yet run
unverified (harvested, no recorded run)
asarigun/la-gcn-tensorflow/inits.py
pointer only (licence: MIT); the stored copy get_code serves, from flyingdoog/PTDNet, is pointer only (licence: NONE) · get_code("b0d1b78daecde7e9")
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 flyingdoog/PTDNet, 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. No invocation recorded.

Also present in other papers' code

Of 28 samples lifted from this paper's linked repositories, 28 carry a function identity and 0 do not. Of the 28 distinct functions with an identity, 10 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 10 later) and 18 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
parse_index_file 53 other papers
53 later · 1 only as an assembly brick
1611.07308 (2016-11)
Variational Graph Auto-Encoders
1710.10568 (2017-10)
Stochastic Training of Graph Convolutional Networks with Variance Reduction
1710.10903 (2017-10)
Graph Attention Networks
and 50 more not named here
get_layer_uid 33 other papers
33 later · 5 only as an assembly brick
1606.09375 (2016-06)
Convolutional Neural Networks on Graphs with Fast Localized Spectral Filtering
1609.02907 (2016-09)
Semi-Supervised Classification with Graph Convolutional Networks
1611.07308 (2016-11)
Variational Graph Auto-Encoders
and 30 more not named here
sample_mask 28 other papers
28 later
1710.10568 (2017-10)
Stochastic Training of Graph Convolutional Networks with Variance Reduction
1710.10903 (2017-10)
Graph Attention Networks
1804.00099 (2018-04)
Graph Convolutional Neural Networks via Scattering
and 25 more not named here
sparse_dropout 18 other papers
18 later · 2 only as an assembly brick
1606.09375 (2016-06)
Convolutional Neural Networks on Graphs with Fast Localized Spectral Filtering
1609.02907 (2016-09)
Semi-Supervised Classification with Graph Convolutional Networks
1805.07984 (2018-05)
Adversarial Attacks on Neural Networks for Graph Data
and 15 more not named here
zeros 18 other papers
18 later
1804.00823 (2018-04)
Graph2Seq: Graph to Sequence Learning with Attention-based Neural Networks
1804.01654 (2018-04)
Pixel2Mesh: Generating 3D Mesh Models from Single RGB Images
1811.02061 (2018-11)
A Recurrent Graph Neural Network for Multi-Relational Data
and 15 more not named here
dot 17 other papers
17 later · 3 only as an assembly brick
1606.09375 (2016-06)
Convolutional Neural Networks on Graphs with Fast Localized Spectral Filtering
1609.02907 (2016-09)
Semi-Supervised Classification with Graph Convolutional Networks
1710.10568 (2017-10)
Stochastic Training of Graph Convolutional Networks with Variance Reduction
and 14 more not named here
uniform 17 other papers
17 later
1804.00823 (2018-04)
Graph2Seq: Graph to Sequence Learning with Attention-based Neural Networks
1804.01654 (2018-04)
Pixel2Mesh: Generating 3D Mesh Models from Single RGB Images
1811.02061 (2018-11)
A Recurrent Graph Neural Network for Multi-Relational Data
and 14 more not named here
glorot 16 other papers
16 later
1804.00823 (2018-04)
Graph2Seq: Graph to Sequence Learning with Attention-based Neural Networks
1804.01654 (2018-04)
Pixel2Mesh: Generating 3D Mesh Models from Single RGB Images
1811.02061 (2018-11)
A Recurrent Graph Neural Network for Multi-Relational Data
and 13 more not named here
masked_accuracy
brick of this paper's assembly: helper
8 other papers
8 later
1710.10568 (2017-10)
Stochastic Training of Graph Convolutional Networks with Variance Reduction
1811.11103 (2018-11)
Bayesian graph convolutional neural networks for semi-supervised classification
1901.09993 (2019-01)
Label Efficient Semi-Supervised Learning via Graph Filtering
and 5 more not named here
masked_softmax_cross_entropy
brick of this paper's assembly: helper
7 other papers
7 later
1710.10568 (2017-10)
Stochastic Training of Graph Convolutional Networks with Variance Reduction
1811.11103 (2018-11)
Bayesian graph convolutional neural networks for semi-supervised classification
1902.06667 (2019-02)
Hierarchical Graph Convolutional Networks for Semi-supervised Node Classification
and 4 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

We present a semi-supervised learning framework based on graph embeddings. Given a graph between instances, we train an embedding for each instance to jointly predict the class label and the neighborhood context in the graph. We develop both transductive and inductive variants of our method. In the transductive variant of our method, the class labels are determined by both the learned embeddings and input feature vectors, while in the inductive variant, the embeddings are defined as a parametric function of the feature vectors, so predictions can be made on instances not seen during training. On a large and diverse set of benchmark tasks, including text classification, distantly supervised entity extraction, and entity classification, we show improved performance over many of the existing models.

For agents

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

get_harvested_code_for_paper("1603.08861")
get_code_for_paper("1603.08861")
have("1603.08861")

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

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

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

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

Connect an agent — have() is free.