SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1909.13021 · 2019

Multi-scale Attributed Node Embedding

arXiv · PDF · Open in the Atlas

Code that ran

6 of 6 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 6 have no contract verdict; 0 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/1909.13021.json · badge: /api/ran/1909.13021.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
ftheberge/GraphMiningNotebooks community (classifier label)
classifier basis not recorded on the link
6 ran · 0 no recorded run
FunctionStatusWhere it lives
components Ran
ran on a synthesized input
ftheberge/GraphMiningNotebooks/Python_Notebooks_Second_Edition/growth_experiment.py
code served (permissive licence) · get_code("0347e4f37b712ccb")
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 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

torch.manual_seed(0)

# The `components` function takes:
# - vertices: a collection/list of vertex identifiers
# - edges: a collection/list of edges, where each edge is an iterable of vertices

# Construct simple test data
vertices = [0, 1, 2, 3]
edges = [[0, 1], [2, 3]]

ARGS = {
    "vertices": vertices,
    "edges": edges
}
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 list, ndim 1, dtype family float — 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
degrees Ran
ran on a synthesized input
ftheberge/GraphMiningNotebooks/Python_Notebooks_Second_Edition/growth_experiment.py
code served (permissive licence) · get_code("1072250e7474ddf4")
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 dict. 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

torch.manual_seed(0)

# The function takes two parameters:
# V: a collection of vertices (nodes)
# E: a collection of edges, where each edge is an iterable of vertices

# V should be any iterable of vertex identifiers
V = [0, 1, 2, 3]

# E should be an iterable of edges, where each edge is an iterable of vertices
# For a simple graph, edges are typically pairs (2-tuples)
E = [(0, 1), (1, 2), (2, 3), (0, 3)]

ARGS = {
    "V": V,
    "E": E
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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_simplicial_fraction Ran
ran on a synthesized input
ftheberge/GraphMiningNotebooks/Julia_Notebooks_2nd/simpliciality.py
code served (permissive licence) · get_code("c0565e2cc3d8804d")
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 float, 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.

# Analyze the function to understand what it needs
# V: vertices - appears to be an iterable of vertex identifiers
# E: edges - appears to be an iterable of edges, where each edge is an iterable of vertices
# The function checks edges of size > 1, then for edges of size > 2 it checks downward closure

# Create a simple hypergraph example
V = [0, 1, 2, 3, 4]

# Create edges - mix of different sizes
# Some edges that satisfy simplicial property (have all sub-edges)
# Edge {0,1,2} with sub-edges {0,1}, {0,2}, {1,2}
# Edge {1,2,3} with sub-edges {1,2}, {1,3}, {2,3}
E = [
    (0, 1),
    (0, 2),
    (1, 2),
    (0, 1, 2),  # This should satisfy downward closure if all 2-subsets exist
    (1, 3),
    (2, 3),
    (1, 2, 3),  # This should satisfy downward closure if all 2-subsets exist
    (3, 4),
]

ARGS = {
    "V": V,
    "E": E,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, 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
is_power_of_two Ran
ran on a synthesized input
ftheberge/GraphMiningNotebooks/Julia_Notebooks_2nd/simpliciality.py
code served (permissive licence) · get_code("0171f406a6992c25")
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 bool, 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 torch

torch.manual_seed(0)

# The function is_power_of_two checks if n is a power of two
# It uses bitwise AND operation: n & n - 1 == 0
# This works for integers, so n should be an integer

# Test with a valid power of two
n = 8

ARGS = {
    "n": n
}
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 bool, 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
max_subsets Ran
ran on a synthesized input
ftheberge/GraphMiningNotebooks/Julia_Notebooks_2nd/simpliciality.py
code served (permissive licence) · get_code("f30b49cf70f831c4")
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 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 numpy as np
from collections.abc import Sequence

torch.manual_seed(0)

# Construct valid arguments for max_subsets(E)
# E should be a Sequence of sets/collections where elements can be iterated

# Create a test case with sets where:
# - Some sets have length <= 2 (filtered out)
# - Some sets have length > 2 (kept if power of two condition met)
# - Elements appear in multiple sets to create the incidence bitmask

# Example: if element 'a' appears in sets at indices 0 and 2,
# then incidence['a'] = (1 << 0) | (1 << 2) = 0b101 = 5 (not power of 2)
# if element 'b' appears only in set 1,
# then incidence['b'] = (1 << 1) = 0b010 = 2 (power of 2)

# For a set to be in output:
# 1. len(s) > 2
# 2. s must be non-empty
# 3. reduce(operator.and_, (incidence[x] for x in s)) must be power of 2
#    This means all elements in the set must share exactly one common set index

E = [
    {1, 2, 3},      # index 0: len > 2
    {'a'},           # index 1: len = 1 (filtered)
    {4, 5},          # index 2: len = 2 (filtered)
    {1, 2, 4},       # index 3: len > 2
]

ARGS = {
    'E': E
}
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 1, dtype family float — 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
sort_edges Ran
ran on a synthesized input
ftheberge/GraphMiningNotebooks/Python_Notebooks_Second_Edition/growth_experiment.py
code served (permissive licence) · get_code("316d6d7e013dca0a")
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 dict. 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

torch.manual_seed(0)

# The function sort_edges takes a parameter E which is an iterable of edges
# Each edge e must support len(e) to determine its size
# The function partitions edges by their length

# Create valid edge objects - they can be lists, tuples, or other sized iterables
E = [
    [1, 2],           # edge of size 2
    [3, 4, 5],        # edge of size 3
    [6, 7],           # edge of size 2
    [8, 9, 10, 11],   # edge of size 4
    [12, 13, 14],     # edge of size 3
]

ARGS = {
    "E": E
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 6 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.

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 network embedding algorithms that capture information about a node from the local distribution over node attributes around it, as observed over random walks following an approach similar to Skip-gram. Observations from neighborhoods of different sizes are either pooled (AE) or encoded distinctly in a multi-scale approach (MUSAE). Capturing attribute-neighborhood relationships over multiple scales is useful for a diverse range of applications, including latent feature identification across disconnected networks with similar attributes. We prove theoretically that matrices of node-feature pointwise mutual information are implicitly factorized by the embeddings. Experiments show that our algorithms are robust, computationally efficient and outperform comparable models on social networks and web graphs.

For agents

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

get_harvested_code_for_paper("1909.13021")
get_code_for_paper("1909.13021")
have("1909.13021")

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

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

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

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

Connect an agent — have() is free.