SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2401.16914 · 2024

Energy-conserving equivariant GNN for elasticity of lattice architected metamaterials

arXiv · PDF · Open in the Atlas

Code that ran

5 of 7 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 2 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/2401.16914.json · badge: /api/ran/2401.16914.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
igrega348/energy-equiv-lattice-gnn canonical (classifier label)
classifier basis: census
5 ran · 2 no recorded run
FunctionStatusWhere it lives
get_edge_vectors_and_lengths Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
igrega348/energy-equiv-lattice-gnn/gnn/mace.py
code served (permissive licence) · get_code("86045b55a9586d0d")
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 torch
import torch.nn as nn

torch.manual_seed(0)

# Construct arguments for get_edge_vectors_and_lengths
num_nodes = 3
num_edges = 2
spatial_dim = 4

# positions: tensor of shape (num_nodes, spatial_dim)
positions = torch.randn(num_nodes, spatial_dim)

# edge_index: tensor of shape (2, num_edges) with [sender_indices, receiver_indices]
edge_index = torch.tensor([[0, 1], [1, 2]], dtype=torch.long)

# shifts: tensor of shape (num_edges, spatial_dim) for periodic boundary conditions
shifts = torch.randn(num_edges, spatial_dim)

# normalize: boolean flag
normalize = False

# eps: small epsilon value for numerical stability
eps = 1e-09

ARGS = {
    "positions": positions,
    "edge_index": edge_index,
    "shifts": shifts,
    "normalize": normalize,
    "eps": eps
}
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 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
plot_multi_parity Ran
ran; our contract draft was wrong, not the code
igrega348/energy-equiv-lattice-gnn/gnn/callbacks.py
code served (permissive licence) · get_code("3c800f8381b110be")
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 Figure. 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 matplotlib.pyplot as plt

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

# Create small dummy data for C_t and C_p
# The function accesses C_t[:, i, j] and C_p[:, i, j] where i,j go from 0-5
# So we need shape (batch_size, 6, 6)
batch_size = 2
C_t = np.random.randn(batch_size, 6, 6).astype(np.float32)
C_p = C_t + np.random.randn(batch_size, 6, 6).astype(np.float32) * 0.1  # Similar but slightly different

# fig_kwargs is optional and defaults to {}
fig_kwargs = {}

ARGS = {
    "C_t": C_t,
    "C_p": C_p,
    "fig_kwargs": fig_kwargs,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy, seaborn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Figure — a Figure output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Figure 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
scale_amplification Ran
ran; our contract draft was wrong, not the code
igrega348/energy-equiv-lattice-gnn/gnn/pna.py
code served (permissive licence) · get_code("97a7207d55591a56")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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
import torch.nn as nn
from typing import Dict

torch.manual_seed(0)

# Create small tensors
src = torch.randn(2, 4)  # batch_size=2, dim=4
deg = torch.randn(2, 4) + 2  # offset to avoid negative values in log
avg_deg = {'log': 0.5}  # scalar value for normalization

ARGS = {
    'src': src,
    'deg': deg,
    'avg_deg': avg_deg
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
scale_attenuation Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
igrega348/energy-equiv-lattice-gnn/gnn/pna.py
code served (permissive licence) · get_code("9668010db8b84792")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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
from typing import Dict

torch.manual_seed(0)

# Create src tensor: shape (2, 4)
src = torch.randn(2, 4)

# Create deg tensor: shape (2, 4)
deg = torch.tensor([[0.0, 1.0, 2.0, 3.0],
                    [4.0, 5.0, 0.0, 1.0]])

# Create avg_deg dictionary with 'log' key
avg_deg = {'log': 2.5}

ARGS = {
    'src': src,
    'deg': deg,
    'avg_deg': avg_deg
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
scale_identity Ran
ran, honoured the contract we drafted
igrega348/energy-equiv-lattice-gnn/gnn/pna.py
code served (permissive licence) · get_code("d88a908172ab8bf3")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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
import numpy as np

torch.manual_seed(0)

# Construct arguments for scale_identity function
src = torch.randn(2, 4)  # Small tensor: batch_size=2, dim=4
deg = torch.randn(2, 4)  # Small tensor: batch_size=2, dim=4
avg_deg = {
    "mean": 0.5,
    "std": 0.1,
    "max": 1.0
}

ARGS = {
    "src": src,
    "deg": deg,
    "avg_deg": avg_deg
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
U_matrix_real Not yet run
unverified (harvested, no recorded run)
igrega348/energy-equiv-lattice-gnn/gnn/mace.py
code served (permissive licence) · get_code("5f1b0b153ebe66c7")
How it ran

no invocation recorded.

tp_out_irreps_with_instructions Not yet run
unverified (harvested, no recorded run)
igrega348/energy-equiv-lattice-gnn/gnn/mace.py
code served (permissive licence) · get_code("9d92573666e34751")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 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 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.

FunctionAlso present inEarliest-datedOthers named
tp_out_irreps_with_instructions 1 other paper
1 later
2412.11569 (2024-12)
The dark side of the forces: assessing non-conservative force models for atomistic machine learning

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

Lattices are architected metamaterials whose properties strongly depend on their geometrical design. The analogy between lattices and graphs enables the use of graph neural networks (GNNs) as a faster surrogate model compared to traditional methods such as finite element modelling. In this work, we generate a big dataset of structure-property relationships for strut-based lattices. The dataset is made available to the community which can fuel the development of methods anchored in physical principles for the fitting of fourth-order tensors. In addition, we present a higher-order GNN model trained on this dataset. The key features of the model are (i) SE(3) equivariance, and (ii) consistency with the thermodynamic law of conservation of energy. We compare the model to non-equivariant models based on a number of error metrics and demonstrate its benefits in terms of predictive performance and reduced training requirements. Finally, we demonstrate an example application of the model to an architected material design task. The methods which we developed are applicable to fourth-order tensors beyond elasticity such as piezo-optical tensor etc.

For agents

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

get_harvested_code_for_paper("2401.16914")
get_code_for_paper("2401.16914")
have("2401.16914")

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

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

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

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

Connect an agent — have() is free.