SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2203.16939 · 2022

Hypergraph Convolutional Networks via Equivalency between Hypergraphs and Undirected Graphs

arXiv · PDF · Open in the Atlas

Code that ran

2 of 5 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; 0 failures of our instrument; 3 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/2203.16939.json · badge: /api/ran/2203.16939.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
youjibiying/H-GNNs canonical (classifier label)
classifier basis not recorded on the link
2 ran · 3 no recorded run
FunctionStatusWhere it lives
generate_G_from_H Ran
ran on a synthesized input
youjibiying/H-GNNs/utils/hypergraph_utils.py
code served (permissive licence) · get_code("8d78acf77aa9d749")
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 csr_matrix. 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 scipy.sparse as sp
from scipy.sparse import coo_matrix

# Create a small hypergraph incidence matrix
# Shape: (n_nodes, n_edges)
# A simple hypergraph with 3 nodes and 2 hyperedges
H = np.array([
    [1, 0],
    [1, 1],
    [0, 1]
], dtype=float)

# Create a stand-in args class with sigma attribute
class Args:
    def __init__(self, sigma=-1):
        self.sigma = sigma

args_obj = Args(sigma=-1)

# Test with single H matrix
ARGS = {
    "H": H,
    "args": args_obj
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type csr_matrix — a csr_matrix output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a csr_matrix 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 Ran
ran on a synthesized input
youjibiying/H-GNNs/datasets/data.py
code served (permissive licence) · get_code("12502bc3d99c0551")
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 os
import tempfile
import pickle
import numpy as np
import scipy.sparse as sp

# Create a temporary directory structure with mock data files
tmpdir = tempfile.mkdtemp()
dataset_name = "cora"
data_type = "coauthorship"
dataset_dir = os.path.join(tmpdir, data_type, dataset_name)
os.makedirs(dataset_dir, exist_ok=True)
splits_dir = os.path.join(dataset_dir, 'splits')
os.makedirs(splits_dir, exist_ok=True)

# Create mock hypergraph (list of sets representing hyperedges)
hypergraph = [
    {0, 1, 2},
    {1, 2, 3},
    {0, 3, 4},
    {2, 4, 5}
]
with open(os.path.join(dataset_dir, 'hypergraph.pickle'), 'wb') as f:
    pickle.dump(hypergraph, f)

# Create mock features (sparse matrix)
features_sparse = sp.csr_matrix(np.random.rand(6, 10))
with open(os.path.join(dataset_dir, 'features.pickle'), 'wb') as f:
    pickle.dump(features_sparse, f)

# Create mock labels (list of class indices)
labels = [0, 1, 0, 1, 0, 1]
with open(os.path.join(dataset_dir, 'labels.pickle'), 'wb') as f:
    pickle.dump(labels, f)

# Create mock splits
splits = {
    'train': [0, 1, 2],
    'test': [3, 4, 5]
}
with open(os.path.join(splits_dir, '0.pickle'), 'wb') as f:
    pickle.dump(splits, f)

# Create a mock args object
class Args:
    def __init__(self):
        self.data_path = os.path.join(tmpdir, data_type)
        self.activate_dataset = dataset_name
        self.split = 0

ARGS = {'args': Args()}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — 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
Eu_dis Not yet run
unverified (harvested, no recorded run)
youjibiying/H-GNNs/utils/hypergraph_utils.py
code served (permissive licence) · get_code("bd608c58ad8406a7")
How it ran

no invocation recorded.

construct_H_with_KNN_from_distance Not yet run
unverified (harvested, no recorded run)
youjibiying/H-GNNs/utils/hypergraph_utils.py
code served (permissive licence) · get_code("72cc91aae86eb6fe")
How it ran

no invocation recorded.

load_ft Not yet run
unverified (harvested, no recorded run)
youjibiying/H-GNNs/datasets/data_helper.py
code served (permissive licence) · get_code("81b936ef5207a7d3")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 2 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 2 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
Eu_dis 1 other paper
1 later
2306.09623 (2023-06)
From Hypergraph Energy Functions to Hypergraph Neural Networks
load_ft 1 other paper
1 later
2306.09623 (2023-06)
From Hypergraph Energy Functions to Hypergraph Neural Networks

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

As a powerful tool for modeling complex relationships, hypergraphs are gaining popularity from the graph learning community. However, commonly used frameworks in deep hypergraph learning focus on hypergraphs with edge-independent vertex weights (EIVWs), without considering hypergraphs with edge-dependent vertex weights (EDVWs) that have more modeling power. To compensate for this, we present General Hypergraph Spectral Convolution (GHSC), a general learning framework that not only handles EDVW and EIVW hypergraphs, but more importantly, enables theoretically explicitly utilizing the existing powerful Graph Convolutional Neural Networks (GCNNs) such that largely ease the design of Hypergraph Neural Networks. In this framework, the graph Laplacian of the given undirected GCNNs is replaced with a unified hypergraph Laplacian that incorporates vertex weight information from a random walk perspective by equating our defined generalized hypergraphs with simple undirected graphs. Extensive experiments from various domains including social network analysis, visual objective classification, and protein learning demonstrate the state-of-the-art performance of the proposed framework.

For agents

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

get_harvested_code_for_paper("2203.16939")
get_code_for_paper("2203.16939")
have("2203.16939")

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

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

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

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

Connect an agent — have() is free.