SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.03779 · ICML · 2025

EvoMesh: Adaptive Physical Simulation with Hierarchical Graph Evolutions

Yunbo Wang, Xiaokang Yang, Huayu Deng, Xiangming Zhu

arXiv · PDF · Open in the Atlas

Code that ran

8 of 9 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 1 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/2410.03779.json · badge: /api/ran/2410.03779.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
hbell99/evomesh canonical (classifier label)
classifier basis: census
8 ran · 1 no recorded run
FunctionStatusWhere it lives
gumbel_softmax Ran
ran; our contract draft was wrong, not the code
hbell99/evomesh/src/core_model.py
code served (permissive licence) · get_code("9edcd2f740c1f6be")
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, ndim 3, 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.functional as F

torch.manual_seed(0)

# Create a small logits tensor (batch=2, num_classes=4)
logits = torch.randn(2, 4)

# Define ARGS with all parameters of gumbel_softmax
ARGS = {
    "logits": logits,
    "temperature": 0.1,
    "hard": False,
}
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, ndim 3, dtype family float — a tuple 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
gumbel_softmax_sample Ran
ran; our contract draft was wrong, not the code
hbell99/evomesh/src/core_model.py
code served (permissive licence) · get_code("cde5a020525dc9c4")
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.functional as F

torch.manual_seed(0)

# Create small logits tensor (batch=2, num_classes=4)
logits = torch.randn(2, 4)

# Create a small temperature value
temperature = 0.5

ARGS = {
    "logits": logits,
    "temperature": temperature,
}
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
merge_mgs Ran
ran; our contract draft was wrong, not the code
hbell99/evomesh/src/helpers_merge.py
code served (permissive licence) · get_code("ff40899eacd18339")
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 numpy as np

# Construct arguments for merge_mgs function
# The function merges multiple message-passing graphs by offsetting indices

# b_mgs: list of message graphs (each is a list of layers with adjacency info)
# Each layer in a message graph is a numpy array with shape (2, num_edges)
# representing source and target node indices

b_mgs = [
    # First message graph with 2 layers
    [
        np.array([[0, 1], [1, 0]], dtype=np.int64),  # Layer 0: edges (0,1) and (1,0)
        np.array([[0, 2], [2, 0]], dtype=np.int64),  # Layer 1: edges (0,2) and (2,0)
    ],
    # Second message graph with 2 layers
    [
        np.array([[0, 1, 2], [2, 0, 1]], dtype=np.int64),  # Layer 0: 3 edges
        np.array([[1], [0]], dtype=np.int64),  # Layer 1: 1 edge
    ],
]

# b_midx: list of message indices for each batch element
# Each element contains indices for each layer
b_midx = [
    # First batch element: layer 0 has 2 indices, layer 1 has 2 indices
    [np.array([0, 1]), np.array([0, 1])],
    # Second batch element: layer 0 has 3 indices, layer 1 has 1 index
    [np.array([0, 1, 2]), np.array([0])],
]

# b_num_node: number of nodes in each graph in the batch
b_num_node = np.array([3, 4], dtype=np.int64)  # First graph has 3 nodes, second has 4

ARGS = {
    "b_mgs": b_mgs,
    "b_midx": b_midx,
    "b_num_node": b_num_node,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — 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
merge_mids Ran
ran; our contract draft was wrong, not the code
hbell99/evomesh/src/helpers_merge.py
code served (permissive licence) · get_code("f69ca1dac90eb72c")
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 numpy as np
import copy

# Analyze the function:
# - b_midx: a list of items, where each item is either not a list (returns None)
#   or a list of layers, and each layer contains indices
# - b_num_node: array-like that gets passed to np.cumsum
# The function merges multiple batches of multi-layer indices by offsetting them

# Create valid arguments for merge_mids
# b_midx should be a list of multi-layer index structures
# Each element in b_midx is a list of layers, where each layer is a list of indices

b_midx = [
    # First batch: 2 layers with some indices
    [[0, 1], [2, 3, 4]],
    # Second batch: 2 layers with some indices
    [[5, 6], [7]],
    # Third batch: 2 layers with some indices
    [[8], [9, 10, 11, 12]]
]

# b_num_node: number of nodes in each batch element
b_num_node = np.array([3, 2, 5])

ARGS = {
    "b_midx": b_midx,
    "b_num_node": b_num_node
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — 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
multi_layered_offset Ran
ran; our contract draft was wrong, not the code
hbell99/evomesh/src/helpers_merge.py
code served (permissive licence) · get_code("4866c1ad13224d2f")
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 numpy as np

# Construct valid arguments for multi_layered_offset

# b_num_node: array of number of nodes at each batch element
b_num_node = np.array([5, 3])

# b_midx: list of batch elements, each containing a list of layer indices
# For this example, we'll create 2 batch elements with 3 layers each
# Each layer has different numbers of indices
b_midx = [
    # First batch element: 3 layers with varying numbers of indices
    [
        np.array([0, 1]),           # layer 0: 2 indices
        np.array([0, 1, 2]),        # layer 1: 3 indices
        np.array([0, 1, 2, 3])      # layer 2: 4 indices
    ],
    # Second batch element: 3 layers with varying numbers of indices
    [
        np.array([0, 1, 2]),        # layer 0: 3 indices
        np.array([0, 1]),           # layer 1: 2 indices
        np.array([0, 1, 2, 3, 4])   # layer 2: 5 indices
    ]
]

ARGS = {
    "b_midx": b_midx,
    "b_num_node": b_num_node
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — 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
quads_to_edges Ran
ran, honoured the contract we drafted
hbell99/evomesh/src/helpers_mesh.py
code served (permissive licence) · get_code("fc0acd0afe80af8c")
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 ndarray, ndim 2, dtype family int, shape (2, 14) 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)

# cells should be a tensor or array-like of quad cells
# Each quad has 4 vertices, so shape should be (num_quads, 4)
# We'll create a small example with 2 quads, each with 4 vertex indices
cells = [
    [0, 1, 2, 3],
    [1, 4, 5, 2]
]

ARGS = {
    "cells": cells
}
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 ndarray, ndim 2, dtype family int, shape (2, 14) — shape (2, 14) 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
tetras_to_edges Ran
ran, honoured the contract we drafted
hbell99/evomesh/src/helpers_mesh.py
code served (permissive licence) · get_code("cd60da4b26d0f682")
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 ndarray, ndim 2, dtype family int, shape (2, 18) 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 expects 'cells' which is used as a list/array of tetrahedrons
# Each tetrahedron has 4 vertices (indices), so cells should be shape (num_tets, 4)
# We'll create a small example with 2 tetrahedrons, each with 4 vertex indices

cells = [
    [0, 1, 2, 3],
    [1, 2, 3, 4]
]

ARGS = {
    "cells": cells
}
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 ndarray, ndim 2, dtype family int, shape (2, 18) — shape (2, 18) 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
triangles_to_edges Ran
ran, honoured the contract we drafted
hbell99/evomesh/src/helpers_mesh.py
code served (permissive licence) · get_code("d908a2378aad860c")
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 ndarray, ndim 2, dtype family int, shape (2, 10) 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 expects a cells argument that will be converted to a tensor
# Looking at the code, it indexes cells with [:, :2], [:, 1:3], [:, 2], [:, 0]
# So cells needs to be a 2D structure with at least 3 columns (for triangles)
# We'll create a small list of triangles (each triangle has 3 vertex indices)

cells = [
    [0, 1, 2],
    [1, 2, 3],
]

ARGS = {
    "cells": cells,
}
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 ndarray, ndim 2, dtype family int, shape (2, 10) — shape (2, 10) 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
load_dataset Not yet run
unverified (harvested, no recorded run)
hbell99/evomesh/misc/parse_tfrecord.py
code served (permissive licence) · get_code("ba53580ad154ceec")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 8 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
load_dataset 1 other paper
1 dated earlier
2210.02573 (2022-10)
Efficient Learning of Mesh-Based Physical Simulation with BSMS-GNN

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

Graph neural networks have been a powerful tool for mesh-based physical simulation. To efficiently model large-scale systems, existing methods mainly employ hierarchical graph structures to capture multi-scale node relations. However, these graph hierarchies are typically manually designed and fixed, limiting their ability to adapt to the evolving dynamics of complex physical systems. We propose EvoMesh, a fully differentiable framework that jointly learns graph hierarchies and physical dynamics, adaptively guided by physical inputs. EvoMesh introduces anisotropic message passing, which enables direction-specific aggregation of dynamic features between nodes within each hierarchy, while simultaneously learning node selection probabilities for the next hierarchical level based on physical context. This design creates more flexible message shortcuts and enhances the model's capacity to capture long-range dependencies. Extensive experiments on five benchmark physical simulation datasets show that EvoMesh outperforms recent fixedhierarchy message passing networks by large margins. The project page is available at https: //hbell99.github.io/evo-mesh/.

For agents

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

get_harvested_code_for_paper("2410.03779")
get_code_for_paper("2410.03779")
have("2410.03779")

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

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

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

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

Connect an agent — have() is free.