SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2502.06485 · ICML · 2025

WyckoffDiff -A Generative Diffusion Model for Crystal Symmetry

Fredrik Lindsten, Filip Kelvinius, Oskar Andersson, Abhijith Parackal, Dong Qian, Rickard Armiento, ∅ Fm

arXiv · PDF · Open in the Atlas

Code that ran

17 of 19 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 14 have no contract verdict; 2 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2502.06485.json · badge: /api/ran/2502.06485.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
httk/wyckoffdiff canonical (classifier label)
classifier basis not recorded on the link
9 ran · 2 no recorded run
CompRhys/aviary canonical (classifier label)
classifier basis not recorded on the link
6 ran · 0 no recorded run
sibasmarak/symmcd canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
compare_hash Ran
ran on a synthesized input
httk/wyckoffdiff/wyckoff_generation/common/utils.py
code served (permissive licence) · get_code("c009ea58564e8fa8")
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 hashlib
import tempfile
import os

# Create a temporary file with known content
temp_dir = tempfile.mkdtemp()
data_file = os.path.join(temp_dir, "test_data.bin")

# Write some test data to the file
test_data = b"Hello, this is test data for hashing!"
with open(data_file, 'wb') as f:
    f.write(test_data)

# Calculate the correct SHA256 hash of the test data
sha256_hash = hashlib.sha256()
sha256_hash.update(test_data)
correct_hash = sha256_hash.hexdigest()

ARGS = {
    "data_path": data_file,
    "correct_hash": correct_hash
}
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 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
create_checkpoint_directory Ran
ran on a synthesized input
httk/wyckoffdiff/wyckoff_generation/common/logging.py
code served (permissive licence) · get_code("9c7d6c34531706d6")
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 str. 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 shutil
import tempfile

# Create a temporary directory for testing
test_dir = tempfile.mkdtemp()
original_cwd = os.getcwd()
os.chdir(test_dir)

# Create checkpoints directory
os.makedirs('checkpoints', exist_ok=True)

# Test case 1: load_path is provided (truthy path in checkpoints)
run_name_1 = "test_run_1"
load_path_1 = "checkpoints/previous_checkpoint/model.pt"

# Clean up before test
if os.path.isdir(os.path.join('checkpoints', run_name_1)):
    shutil.rmtree(os.path.join('checkpoints', run_name_1))

ARGS = {
    "run_name": run_name_1,
    "load_path": load_path_1
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
create_log_directory Ran
ran on a synthesized input
httk/wyckoffdiff/wyckoff_generation/common/logging.py
code served (permissive licence) · get_code("163f9c4d86c2a682")
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 str. 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 shutil
import tempfile

# Create a temporary directory to serve as our working directory
temp_dir = tempfile.mkdtemp()
os.chdir(temp_dir)

# Create the necessary directory structure for the load_path scenario
os.makedirs('checkpoints/experiment1/run001', exist_ok=True)
os.makedirs('logs/experiment1/run001', exist_ok=True)

# Create some dummy log files in the previous log directory
prev_log_dir = os.path.join('logs', 'experiment1', 'run001')
with open(os.path.join(prev_log_dir, 'metrics.txt'), 'w') as f:
    f.write('metric1: 0.5\n')
with open(os.path.join(prev_log_dir, 'config.txt'), 'w') as f:
    f.write('param1: value1\n')

# Define valid arguments for the function
ARGS = {
    'run_name': 'experiment1_run002',
    'load_path': 'checkpoints/experiment1/run001/checkpoint.pt'
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
create_x_matrix Ran
ran on a synthesized input
httk/wyckoffdiff/wyckoff_generation/models/model_utils.py
code served (permissive licence) · get_code("c9383f8f344b11fb")
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 (5, 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 torch

torch.manual_seed(0)

# Analyze the function:
# - x_inf_dof: tensor with shape[0] and shape[1], used in concatenation and indexing
# - x_0_dof: tensor with shape[0], used in indexing and .float() conversion
# - zero_dof: boolean tensor used for indexing with ~ (negation)
# 
# The function creates a matrix where:
# - total rows = x_inf_dof.shape[0] + x_0_dof.shape[0]
# - total cols = x_inf_dof.shape[1] + 1
# - zero_dof must be a boolean tensor with length matching total rows
# - x_0_dof.shape[0] should equal the number of True values in zero_dof
# - x_inf_dof.shape[0] should equal the number of False values in zero_dof

# Create test tensors with distinct dimensions
x_inf_dof = torch.randn(3, 4)  # 3 rows, 4 columns
x_0_dof = torch.randn(2)        # 2 elements

# Create zero_dof boolean mask: 2 True values, 3 False values
zero_dof = torch.tensor([True, True, False, False, False])

ARGS = {
    "x_inf_dof": x_inf_dof,
    "x_0_dof": x_0_dof,
    "zero_dof": zero_dof,
}
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 (5, 5) — shape (5, 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
get_file_paths Ran
ran; our contract draft was wrong, not the code
sibasmarak/symmcd/scripts/compute_metrics.py
pointer only (licence: NONE) · get_code("8d63ea1111adc6f6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sibasmarak/symmcd 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_included_config Ran
ran; our contract draft was wrong, not the code
httk/wyckoffdiff/wyckoff_generation/common/args_and_config.py
pointer only (licence: MIT); the stored copy get_code serves, from filipekstrm/graph_ardm, is pointer only (licence: NONE) · get_code("f1319c095e4e8ce7")
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 filipekstrm/graph_ardm, 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_mlp Ran
ran on a synthesized input
httk/wyckoffdiff/wyckoff_generation/models/mlp.py
code served (permissive licence) · get_code("a6912d9476dc124f")
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 Sequential. 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)

ARGS = {
    "input_dim": 8,
    "output_dim": 3,
    "hidden_dim": 16,
    "num_hidden_layers": 2,
    "activation": "ReLU"
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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_num_atoms_per_sg Ran
ran, honoured the contract we drafted
this paper's copy was not recorded; identical code first harvested from sibasmarak/SymmCD
pointer only; the stored copy get_code serves, from sibasmarak/SymmCD, is pointer only (licence: NONE) · get_code("3702e3b2c690071c")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

increment_filename Ran
ran on a synthesized input
httk/wyckoffdiff/wyckoff_generation/common/utils.py
code served (permissive licence) · get_code("bcb72bcca940923a")
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 str. 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 shutil

# Create a temporary directory for testing
temp_dir = tempfile.mkdtemp()

# Create a test file in the temporary directory
test_file_path = os.path.join(temp_dir, "document.txt")
with open(test_file_path, 'w') as f:
    f.write("test content")

ARGS = {
    'file_path': test_file_path
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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_dataset Ran
ran on a synthesized input
httk/wyckoffdiff/wyckoff_generation/datasets/data_utils.py
code served (permissive licence) · get_code("f696114f7c3e52a8")
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. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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
from torch_geometric.data import Data
import tempfile
import os

torch.manual_seed(0)

# Create a temporary file to store a simple PyTorch dataset
temp_dir = tempfile.gettempdir()
temp_file = os.path.join(temp_dir, "test_dataset.pt")

# Create a small list of PyTorch Geometric Data objects
dataset = []
for i in range(2):
    x = torch.randn(4, 3)  # 4 nodes, 3 features
    edge_index = torch.tensor([[0, 1, 2, 3], [1, 2, 3, 0]], dtype=torch.long)
    y = torch.tensor([0, 1], dtype=torch.long)
    data = Data(x=x, edge_index=edge_index, y=y)
    dataset.append(data)

# Save the dataset to the temporary file
torch.save(dataset, temp_file)

# Define ARGS
ARGS = {
    "path_to_data_file": temp_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torch_geometric — 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
np_one_hot Ran
ran on a synthesized input
CompRhys/aviary/aviary/core.py
code served (permissive licence) · get_code("bdea9c7579689032")
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 float, shape (6, 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 numpy as np

# Create a small 1D array of integer class labels
targets = np.array([0, 1, 2, 1, 0, 3], dtype=np.int32)

# Define the number of classes
n_classes = 4

ARGS = {
    "targets": targets,
    "n_classes": n_classes,
}
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 ndarray, ndim 2, dtype family float, shape (6, 4) — shape (6, 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
np_softmax Ran
ran on a synthesized input
CompRhys/aviary/aviary/core.py
code served (permissive licence) · get_code("ebfab520175f7b91")
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 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 numpy as np

# Create a small test array with distinct dimensions
test_array = np.array([[1.0, 2.0, 3.0, 4.0],
                       [5.0, 6.0, 7.0, 8.0]])

ARGS = {
    "arr": test_array,
    "axis": -1
}
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 ndarray, 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
robust_l1_loss Ran
ran on a synthesized input
CompRhys/aviary/aviary/losses.py
code served (permissive licence) · get_code("61ac2cb1b83fd100")
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 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
from torch import Tensor

torch.manual_seed(0)

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

pred_mean = torch.randn(batch_size, dim)
pred_log_std = torch.randn(batch_size, dim)
target = torch.randn(batch_size, dim)

ARGS = {
    "pred_mean": pred_mean,
    "pred_log_std": pred_log_std,
    "target": target,
}
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 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
robust_l2_loss Ran
ran on a synthesized input
CompRhys/aviary/aviary/losses.py
code served (permissive licence) · get_code("7036631a8ac9b47b")
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 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)

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

pred_mean = torch.randn(batch_size, dim)
pred_log_std = torch.randn(batch_size, dim)
target = torch.randn(batch_size, dim)

ARGS = {
    "pred_mean": pred_mean,
    "pred_log_std": pred_log_std,
    "target": target,
}
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 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
sampled_softmax Ran
ran on a synthesized input
CompRhys/aviary/aviary/core.py
code served (permissive licence) · get_code("e7c688a4ef9fa470")
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 torch.nn.functional import softmax

torch.manual_seed(0)

# pre_logits: Tensor with shape (batch_size, num_classes)
# Expected to be logits before softmax
pre_logits = torch.randn(2, 4)

# log_std: Tensor with shape (batch_size, num_classes)
# Represents log of standard deviation for sampling
log_std = torch.randn(2, 4)

# samples: int, number of samples to draw
samples = 10

ARGS = {
    "pre_logits": pre_logits,
    "log_std": log_std,
    "samples": samples,
}
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
scatter_reduce Ran
ran on a synthesized input
CompRhys/aviary/aviary/scatter.py
code served (permissive licence) · get_code("11c678a5ccabfff5")
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, 3) 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)

# Create a small source tensor (2D for variety)
src = torch.tensor([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]])

# Create index tensor - same shape as src, values in range [0, dim_size)
index = torch.tensor([[0, 1, 0], [1, 2, 0]])

# Parameters
dim = 1
dim_size = 3
reduce = 'sum'

ARGS = {
    'src': src,
    'index': index,
    'dim': dim,
    'dim_size': dim_size,
    'reduce': reduce
}
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, 3) — shape (2, 3) 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
split_number Ran
ran on a synthesized input
httk/wyckoffdiff/wyckoff_generation/models/model_utils.py
code served (permissive licence) · get_code("2e23ed03dcd0cfa8")
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 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 torch
import numpy as np

torch.manual_seed(0)

ARGS = {
    "number_to_split": 17,
    "max_value": 5,
}
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 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
get_embeddings Not yet run
unverified (harvested, no recorded run)
httk/wyckoffdiff/wyckoff_generation/evaluation/compute_fwd.py
code served (permissive licence) · get_code("408fa913477a97c5")
How it ran

no invocation recorded.

get_pretrained_checkpoint Not yet run
unverified (harvested, no recorded run)
httk/wyckoffdiff/wyckoff_generation/common/utils.py
code served (permissive licence) · get_code("4fe3de610d1a0343")
How it ran

no invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 3 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 1 later) and 16 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
get_file_paths 1 other paper
1 later
2503.00522 (2025-03)
Periodic Materials Generation using Text-Guided Joint Diffusion Model
get_included_config 1 other paper
1 dated earlier
2310.15817 (2023-10)
Discriminator Guidance for Autoregressive Diffusion Models
get_num_atoms_per_sg 1 other paper
1 the same month
2502.03638 (2025-02)
SymmCD: Symmetry-Preserving Crystal Generation with Diffusion Models

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

Crystalline materials often exhibit a high level of symmetry. However, most generative models do not account for symmetry, but rather model each atom without any constraints on its position or element. We propose a generative model, Wyckoff Diffusion (WYCKOFFDIFF), which generates symmetry-based descriptions of crystals. This is enabled by considering a crystal structure representation that encodes all symmetry, and we design a novel neural network architecture which enables using this representation inside a discrete generative model framework. In addition to respecting symmetry by construction, the discrete nature of our model enables fast generation. We additionally present a new metric, Fréchet Wrenformer Distance, which captures the symmetry aspects of the materials generated, and we benchmark WYCKOFFDIFF against recently proposed generative models for crystal generation. As a proof-of-concept study, we use WYCKOFFDIFF to find new materials below the convex hull of thermodynamical stability.

For agents

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

get_harvested_code_for_paper("2502.06485")
get_code_for_paper("2502.06485")
have("2502.06485")

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

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

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

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

Connect an agent — have() is free.