SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.24547 · 2026

From Numerical Simulators of PDEs to Neural Emulators and Back

Nils Thuerey, Felix Koehler, Simon Niedermayr, Rüdiger Westermann, Kanishk Bhatia, Felix Köhler, Benjamin, Giacomo, Liwei, Luca, Lukas, Mario Luis, and 9 more

arXiv · PDF

Code that ran

24 of 34 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; 5 honoured the contract we drafted, 5 violated it and 1 has no contract verdict; 13 failures of our instrument; 10 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/2608.24547.json · badge: /api/ran/2608.24547.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
tum-pbs/PRDP canonical (classifier label)
classifier basis: census
9 ran · 2 no recorded run
Ceyron/exponax canonical (classifier label)
classifier basis: census
6 ran · 1 no recorded run
Ceyron/apebench canonical (classifier label)
classifier basis: census
4 ran · 2 no recorded run
Ceyron/pdequinox community
Papers with Code archive
3 ran · 2 no recorded run
Ceyron/trainax community
Papers with Code archive
2 ran · 3 no recorded run
FunctionStatusWhere it lives
MSELoss Ran
ran on a synthesized input
Ceyron/trainax/trainax/configuration/_diverted_chain.py
code served (permissive licence) · get_code("1c010c0a738cc15c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned ArrayImpl, 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 jax
import jax.numpy as jnp
import equinox as eqx

# Import the classes
from typing import Optional, Callable
from abc import ABC, abstractmethod
from jaxtyping import Array, Float

class BaseLoss(eqx.Module, ABC):
    batch_reduction: Callable

    def __init__(self, *, batch_reduction: Callable=jnp.mean):
        """Base class for loss functions."""
        self.batch_reduction = batch_reduction

    @abstractmethod
    def single_batch(self, prediction: Float[Array, 'num_channels ...'], target: Optional[Float[Array, 'num_channels ...']]=None) -> float:
        pass

    def multi_batch(self, prediction: Float[Array, 'num_batches num_channels ...'], target: Optional[Float[Array, 'num_batches num_channels ...']]=None) -> float:
        if target is None:
            return self.batch_reduction(jax.vmap(self.single_batch, in_axes=(0, None))(prediction, target))
        else:
            return self.batch_reduction(jax.vmap(self.single_batch, in_axes=(0, 0))(prediction, target))

    def __call__(self, prediction: Float[Array, 'num_batches num_channels ...'], target: Optional[Float[Array, 'num_batches num_channels ...']]=None) -> float:
        return self.multi_batch(prediction, target)

class MSELoss(BaseLoss):

    def __init__(self, *, batch_reduction: Callable=jnp.mean):
        """
        Simple Mean Squared Error loss.
        """
        super().__init__(batch_reduction=batch_reduction)

    def single_batch(self, prediction: Float[Array, 'num_channels ...'], target: Optional[Float[Array, 'num_channels ...']]=None) -> float:
        if target is None:
            diff = prediction
        else:
            diff = prediction - target
        return jnp.mean(jnp.square(diff))


# Setup code
INIT_ARGS = {
    'batch_reduction': jnp.mean
}

# Create test data: batch_size=2, num_channels=4, spatial_dim=3
batch_size = 2
num_channels = 4
spatial_dim = 3

prediction = jnp.ones((batch_size, num_channels, spatial_dim))
target = jnp.ones((batch_size, num_channels, spatial_dim)) * 0.5

ARGS = {
    'prediction': prediction,
    'target': target
}

# Construct and call
loss_fn = MSELoss(**INIT_ARGS)
result = loss_fn(**ARGS)
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
equinox, jax, jaxtyping — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
_ntuple Ran
ran; our contract draft was wrong, not the code
Ceyron/pdequinox/pdequinox/conv/_physics_conv.py
code served (permissive licence) · get_code("0bdc4e280816adff")
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) and returned function. 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
from collections.abc import Sequence
from typing import Union

torch.manual_seed(0)

# The function _ntuple takes one parameter: n (an int)
# It returns a parser function that can handle either a single value or a sequence
# The parser checks if input is a Sequence and validates length, or repeats the value n times

ARGS = {
    'n': 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
all_sequences Ran
ran, violated the contract we drafted
Ceyron/pdequinox/pdequinox/conv/_physics_conv.py
code served (permissive licence) · get_code("75df3d0ac2737257")
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) 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
import numpy as np
from collections.abc import Sequence

torch.manual_seed(0)

# Test case 1: A sequence of sequences (should return True)
test_case_1 = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]

# Test case 2: A sequence of non-sequences (should return False)
test_case_2 = [1, 2, 3, 4]

# We'll use test_case_1 as the main argument
ARGS = {
    "x": test_case_1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, 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
build_derivative_operator Ran
ran, violated the contract we drafted
Ceyron/exponax/exponax/_spectral.py
code served (permissive licence) · get_code("ed447291aef09b40")
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 ArrayImpl, ndim 3, dtype family float, shape (2, 8, 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 jax.numpy as jnp

ARGS = {
    "num_spatial_dims": 2,
    "domain_extent": 1.0,
    "num_points": 8,
    "indexing": "ij",
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, jaxtyping — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 3, dtype family float, shape (2, 8, 5) — shape (2, 8, 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
build_scaled_wavenumbers Ran
ran, honoured the contract we drafted
Ceyron/exponax/exponax/_spectral.py
code served (permissive licence) · get_code("cc5459039fd5c9dc")
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 ArrayImpl, ndim 3, dtype family float, shape (2, 8, 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 jax.numpy as jnp

# Define arguments for build_scaled_wavenumbers
ARGS = {
    "num_spatial_dims": 2,
    "domain_extent": 1.0,
    "num_points": 8,
    "indexing": "ij"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, jaxtyping — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 3, dtype family float, shape (2, 8, 5) — shape (2, 8, 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
build_wavenumbers Ran
ran, honoured the contract we drafted
Ceyron/exponax/exponax/_spectral.py
code served (permissive licence) · get_code("acdea5aa83b60afb")
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 ArrayImpl, ndim 4, dtype family float, shape (3, 8, 8, 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 jax.numpy as jnp

ARGS = {
    "num_spatial_dims": 3,
    "num_points": 8,
    "indexing": "ij",
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, jaxtyping — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 4, dtype family float, shape (3, 8, 8, 5) — shape (3, 8, 8, 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
compute_same_padding Ran
ran; our contract draft was wrong, not the code
Ceyron/pdequinox/pdequinox/conv/_physics_conv.py
code served (permissive licence) · get_code("973093de2cab964c")
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) and returned tuple, 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 torch
import numpy as np
from collections.abc import Sequence

torch.manual_seed(0)

# Analyze the function:
# - num_spatial_dims: int - number of spatial dimensions
# - kernel_size: Sequence[int] - kernel sizes, will be parsed to tuple of length num_spatial_dims
# - dilation: Sequence[int] - dilation values, will be parsed to tuple of length num_spatial_dims

# Test case 1: 2D convolution (common case)
num_spatial_dims = 2
kernel_size = [3, 3]  # or could be a single int that gets repeated
dilation = [1, 1]    # or could be a single int that gets repeated

ARGS = {
    "num_spatial_dims": 2,
    "kernel_size": [3, 5],
    "dilation": [1, 2]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family int — 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
extract_ic_and_trj Ran
ran; our contract draft was wrong, not the code
Ceyron/trainax/trainax/configuration/_diverted_chain.py
code served (permissive licence) · get_code("7b6c512cf85c031c")
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) and returned tuple, 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 jax
import jax.numpy as jnp

torch.manual_seed(0)

# The function uses jax.tree_util.tree_map to extract the first timestep (ic)
# and remaining timesteps (trj) from nested data structures.
# We need to create a pytree structure with tensors that have shape (batch, time, ...)

# Create a simple nested pytree with JAX arrays
# batch_size=2, time_steps=5, feature_dim=4
batch_size = 2
time_steps = 5
feature_dim = 4

# Create sample data as a nested dict (pytree)
data = {
    'observations': jnp.ones((batch_size, time_steps, feature_dim)),
    'actions': jnp.ones((batch_size, time_steps, 3)),
    'rewards': jnp.ones((batch_size, time_steps)),
}

ARGS = {
    'data': data
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
jax, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, 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
make_grid Ran
ran, honoured the contract we drafted
Ceyron/exponax/exponax/_utils.py
code served (permissive licence) · get_code("c5f29bd14f3dbcbd")
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 ArrayImpl, ndim 3, dtype family float, shape (2, 16, 16) 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 jax.numpy as jnp

ARGS = {
    "num_spatial_dims": 2,
    "domain_extent": 1.0,
    "num_points": 16,
    "full": False,
    "zero_centered": False,
    "indexing": "ij",
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, jaxtyping — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 3, dtype family float, shape (2, 16, 16) — shape (2, 16, 16) 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
melt_concat_metrics_from_list Ran
ran; our contract draft was wrong, not the code
Ceyron/apebench/apebench/_run.py
code served (permissive licence) · get_code("4c4eb8afaec4196f")
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 DataFrame. 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 pathlib
import pandas as pd
import tempfile
import os

# Create temporary CSV files with metric data
temp_dir = tempfile.mkdtemp()

# Create sample CSV files with metrics
file1_path = pathlib.Path(temp_dir) / "metrics1.csv"
file2_path = pathlib.Path(temp_dir) / "metrics2.csv"

# Create sample data with a metric column
data1 = pd.DataFrame({
    'model': ['model_a', 'model_b'],
    'mean_nRMSE': [0.5, 0.6],
    'run': [1, 1]
})
data1.to_csv(file1_path, index=False)

data2 = pd.DataFrame({
    'model': ['model_a', 'model_b'],
    'mean_nRMSE': [0.55, 0.65],
    'run': [2, 2]
})
data2.to_csv(file2_path, index=False)

# Mock the melt_metrics function that is called within melt_concat_metrics_from_list
def melt_metrics(data, metric_name='mean_nRMSE'):
    """Mock implementation of melt_metrics"""
    if isinstance(metric_name, str):
        metric_name = [metric_name]
    
    id_vars = [col for col in data.columns if col not in metric_name]
    melted = pd.melt(data, id_vars=id_vars, value_vars=metric_name, 
                     var_name='metric', value_name='value')
    return melted

# Inject melt_metrics into the module namespace for the function to use
import sys
current_module = sys.modules[__name__]
setattr(current_module, 'melt_metrics', melt_metrics)

ARGS = {
    'raw_file_list': [file1_path, file2_path],
    'metric_name': 'mean_nRMSE'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas, tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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
melt_data Ran
ran; our contract draft was wrong, not the code
Ceyron/apebench/apebench/_utils.py
code served (permissive licence) · get_code("75da3fa003941472")
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 DataFrame. 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 pandas as pd
import numpy as np

# Create a sample wide DataFrame with the structure expected by melt_data
wide_data = pd.DataFrame({
    'seed': [1, 2],
    'scenario': ['scenario_A', 'scenario_B'],
    'task': ['task_1', 'task_2'],
    'net': ['net_x', 'net_y'],
    'train': ['train_mode_1', 'train_mode_2'],
    'scenario_kwargs': ['kwargs_a', 'kwargs_b'],
    'loss_0': [0.5, 0.6],
    'loss_1': [0.4, 0.55],
    'loss_2': [0.3, 0.5],
    'accuracy_0': [0.8, 0.75],
    'accuracy_1': [0.85, 0.8],
    'accuracy_2': [0.9, 0.85],
})

ARGS = {
    'wide_data': wide_data,
    'quantity_name': ['loss', 'accuracy'],
    'uniquifier_name': 'step',
    'base_columns': ['seed', 'scenario', 'task', 'net', 'train', 'scenario_kwargs'],
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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
melt_loss Ran
ran; our contract draft was wrong, not the code
Ceyron/apebench/apebench/_utils.py
code served (permissive licence) · get_code("475460bfbeda49ad")
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 DataFrame. 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 pandas as pd
import numpy as np

# Create a wide DataFrame that matches the expected format for melt_loss
# The function expects columns with base_columns and quantity columns like 'train_loss_0', 'train_loss_1', etc.

np.random.seed(0)

# Create base columns
base_data = {
    'seed': [42, 43],
    'scenario': ['scenario_a', 'scenario_b'],
    'task': ['task_1', 'task_2'],
    'net': ['net_v1', 'net_v2'],
    'train': ['train_config_1', 'train_config_2'],
    'scenario_kwargs': ['kwargs_a', 'kwargs_b']
}

# Create quantity columns (train_loss with different update steps)
quantity_data = {
    'train_loss_0': [0.5, 0.6],
    'train_loss_1': [0.4, 0.5],
    'train_loss_2': [0.3, 0.4],
}

# Combine into wide DataFrame
wide_data = pd.DataFrame({**base_data, **quantity_data})

ARGS = {
    'wide_data': wide_data,
    'loss_name': 'train_loss'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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
melt_metrics Ran
ran; our contract draft was wrong, not the code
Ceyron/apebench/apebench/_utils.py
code served (permissive licence) · get_code("805be06d74072db3")
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 DataFrame. 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 pandas as pd
import numpy as np

# Create a sample wide DataFrame suitable for melt_metrics
# The function expects columns with metric names followed by _timestepi suffix
# and base_columns: ['seed', 'scenario', 'task', 'net', 'train', 'scenario_kwargs']

base_columns = ['seed', 'scenario', 'task', 'net', 'train', 'scenario_kwargs']

# Create a wide DataFrame with base columns and metric columns with time step suffixes
data = {
    'seed': [0, 1, 2],
    'scenario': ['scenario_A', 'scenario_B', 'scenario_A'],
    'task': ['task_1', 'task_2', 'task_1'],
    'net': ['net_v1', 'net_v2', 'net_v1'],
    'train': ['train_method_1', 'train_method_2', 'train_method_1'],
    'scenario_kwargs': ['kwargs_a', 'kwargs_b', 'kwargs_a'],
    'mean_nRMSE_0': [0.5, 0.6, 0.55],
    'mean_nRMSE_1': [0.4, 0.5, 0.45],
    'mean_nRMSE_2': [0.35, 0.45, 0.40],
}

wide_data = pd.DataFrame(data)

ARGS = {
    'wide_data': wide_data,
    'metric_name': 'mean_nRMSE'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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
numpy_ewma Ran
ran, honoured the contract we drafted
tum-pbs/PRDP/experiments/src/prdp.py
code served (permissive licence) · get_code("ba36c22fafe97643")
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) and returned ndarray, ndim 1, dtype family float, shape (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 numpy as np

# Create a small numpy array for the data parameter
data = np.array([1.0, 2.0, 3.0, 4.0, 5.0])

# Create a window size parameter
window = 3

ARGS = {
    "data": data,
    "window": window,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 1, dtype family float, shape (5,) — shape (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
outer_optimisation Ran
ran, honoured the contract we drafted
tum-pbs/PRDP/experiments/src/linear_solvers_scan.py
code served (permissive licence) · get_code("b0622565ca198ea8")
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 jax
import jax.numpy as jnp

def objective_history_fn(theta):
    """
    Returns a loss history vector of shape (n_inner_iterations + 1,).
    This simulates the loss at each inner iteration as a function of the parameter theta.
    """
    n_inner_iterations = 10
    # Create a simple quadratic loss history: loss decreases then plateaus
    # Shape: (11,) for 10 inner iterations + 1 initial
    inner_iterations = jnp.arange(n_inner_iterations + 1, dtype=jnp.float32)
    # Simple quadratic form: (theta - 2)^2 * exp(-t/5) + small noise
    loss_history = (theta - 2.0) ** 2 * jnp.exp(-inner_iterations / 5.0) + 0.01 * inner_iterations
    return loss_history

ARGS = {
    "objective_history_fn": objective_history_fn,
    "n_outer_iterations": 5,
    "outer_lr": 0.1,
    "init": 5.0,
    "n_inner_iterations": 10,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — 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
outer_optimisation_3 Ran
ran; our contract draft was wrong, not the code
tum-pbs/PRDP/experiments/src/linear_solvers_scan.py
code served (permissive licence) · get_code("63c94fe495fcdf2e")
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 jax
import jax.numpy as jnp

# Define objective_history_fn
# This function should take a theta parameter and return a loss history
# The loss history is accessed by indexing with two indices in the body_fn
# It needs to return something that can be indexed like matrix_of_losses[i, j]
# and also like loss_init[jnp.newaxis, :]

def objective_history_fn(theta):
    """
    Returns a loss history of shape (n_inner + 1,)
    This represents the loss at each inner iteration for a given theta.
    The function simulates n_inner inner iterations.
    """
    n_inner = 1000
    # Return a loss history for each inner iteration
    # Shape should be (n_inner + 1,)
    # Simple quadratic loss that depends on theta
    theta_norm = jnp.sum(theta ** 2)
    # Create a loss history that decreases with iterations
    iteration_indices = jnp.arange(n_inner + 1, dtype=jnp.float32)
    loss_history = theta_norm / (1.0 + iteration_indices * 0.1)
    return loss_history

# Define init
# Should be a jnp.array of shape (theta_dim,)
theta_dim = 4
init = jnp.array([0.1, 0.2, 0.3, 0.4], dtype=jnp.float32)

# Define n_outer
n_outer = 2

# Define lr
lr = 2000.0

# Define n_inner
n_inner = 1000

# Construct ARGS dictionary
ARGS = {
    "objective_history_fn": objective_history_fn,
    "init": init,
    "n_outer": n_outer,
    "lr": lr,
    "n_inner": n_inner,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — 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_jac_subopt_3 Ran
ran; our contract draft was wrong, not the code
tum-pbs/PRDP/experiments/src/poisson_utilities.py
code served (permissive licence) · get_code("f53048b4af176878")
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 jax.numpy as jnp

# Create sample data for the function
# The function expects arrays with shape (n_iterations, 3) for theta parameters
# and scalar values for theta_ref and n_dof

theta_ref = 0.5
n_dof = 10

# Create sample convergence data: shape (n_iterations, 3) for 3 theta parameters
n_iterations = 50

# Simulate convergence data - decreasing over iterations for realistic plotting
implicit_jacobi = jnp.logspace(0, -3, n_iterations).reshape(-1, 1) * jnp.ones((n_iterations, 3))
implicit_jacobi = implicit_jacobi * jnp.array([1.0, 1.2, 0.8])

unrolled_jacobi = jnp.logspace(0.1, -2.5, n_iterations).reshape(-1, 1) * jnp.ones((n_iterations, 3))
unrolled_jacobi = unrolled_jacobi * jnp.array([1.1, 1.0, 1.3])

implicit_SD = jnp.logspace(0.2, -2.8, n_iterations).reshape(-1, 1) * jnp.ones((n_iterations, 3))
implicit_SD = implicit_SD * jnp.array([0.9, 1.1, 1.0])

unrolled_SD = jnp.logspace(0, -2.2, n_iterations).reshape(-1, 1) * jnp.ones((n_iterations, 3))
unrolled_SD = unrolled_SD * jnp.array([1.2, 0.95, 1.05])

ARGS = {
    'theta_ref': theta_ref,
    'n_dof': n_dof,
    'implicit_jacobi': implicit_jacobi,
    'unrolled_jacobi': unrolled_jacobi,
    'implicit_SD': implicit_SD,
    'unrolled_SD': unrolled_SD,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, matplotlib — 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
plot_loss_and_gradient Ran
ran; our contract draft was wrong, not the code
tum-pbs/PRDP/experiments/src/poisson_utilities.py
code served (permissive licence) · get_code("00497c23b6d3ddcc")
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

# Create sample data
np.random.seed(0)

# value_history_vs_theta: shape (n_x_values, n_iterations)
# This represents loss values at different theta values across iterations
n_x_values = 50
n_iterations = 101
value_history_vs_theta = np.random.rand(n_x_values, n_iterations) * 10

# gradient_history_vs_theta: shape (n_x_values, n_iterations)
# This represents gradient values at different theta values across iterations
gradient_history_vs_theta = np.random.rand(n_x_values, n_iterations) * 5

# x_values: theta values for x-axis
x_values = np.linspace(-5, 5, n_x_values)

# title: string for the plot
title = "Loss and Gradient Evolution"

# theta_ref: reference theta value
theta_ref = 0.5

ARGS = {
    "value_history_vs_theta": value_history_vs_theta,
    "gradient_history_vs_theta": gradient_history_vs_theta,
    "x_values": x_values,
    "title": title,
    "theta_ref": theta_ref,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy — 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
plot_loss_and_gradient_3 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tum-pbs/PRDP/experiments/src/poisson_utilities.py
code served (permissive licence) · get_code("2e9131694a21aea3")
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 arrays matching the function's expectations
# value_history_vs_theta: shape (n_x_values, n_iterations)
n_x_values = 5
n_iterations = 121  # So n_iter_max = 120, divisible by ITERATIONS_STEP=30

x_values = np.linspace(-2, 2, n_x_values)

# value_history_vs_theta: (5, 121) - loss values across iterations
value_history_vs_theta = np.random.randn(n_x_values, n_iterations) * 0.1 + np.linspace(1, 0.1, n_iterations)

# gradient_history_vs_theta: (n_x_values, n_iterations, 3) - gradients w.r.t. 3 parameters
gradient_history_vs_theta = np.random.randn(n_x_values, n_iterations, 3) * 0.05

# Reference theta values
theta_ref = np.array([0.5, -0.3, 0.2])

# Title
title = "Loss and Gradient Evolution"

ARGS = {
    "value_history_vs_theta": value_history_vs_theta,
    "gradient_history_vs_theta": gradient_history_vs_theta,
    "x_values": x_values,
    "title": title,
    "theta_ref": theta_ref,
    "ITERATIONS_STEP": 30
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy — 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
rhs_sine_fn Ran
ran, violated the contract we drafted
tum-pbs/PRDP/experiments/src/poisson_problem_definition.py
code served (permissive licence) · get_code("4b611ae53765d928")
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 ArrayImpl, ndim 1, dtype family float, shape (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 jax.numpy as jnp
import numpy as np

# The function rhs_sine_fn takes two parameters:
# 1. theta: a scalar or array that multiplies the sine term
# 2. x: an array of values to evaluate sine over

# Create small test values
theta = 0.5  # scalar parameter
x = jnp.array([0.0, 0.25, 0.5, 0.75])  # small array of x values

ARGS = {
    "theta": theta,
    "x": x,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 1, dtype family float, shape (4,) — shape (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
rhs_step_fn Ran
ran, violated the contract we drafted
tum-pbs/PRDP/experiments/src/poisson_problem_definition.py
code served (permissive licence) · get_code("9a8932a5e8ef0cbc")
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 ArrayImpl, ndim 1, dtype family float, shape (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 jax.numpy as jnp
import numpy as np

theta = jnp.array([0.1, 0.2, 0.3, 0.4])
x = jnp.array(0.3)

ARGS = {
    "theta": theta,
    "x": x,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 1, dtype family float, shape (4,) — shape (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
rollout Ran
ran; our contract draft was wrong, not the code
Ceyron/exponax/exponax/_utils.py
code served (permissive licence) · get_code("25aebcd4baee8be5")
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 function. 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 jax
import jax.numpy as jnp
import jax.tree_util as jtu

# Define a simple stepper function that takes state and returns next state
def simple_stepper(u):
    """Autonomous stepper: u_next = u * 0.99"""
    return jtu.tree_map(lambda x: x * 0.99, u)

# Define a stepper function with auxiliary input
def stepper_with_aux(u, aux):
    """Non-autonomous stepper: u_next = u * aux"""
    return jtu.tree_map(lambda x, a: x * a, u, aux)

# Create initial conditions as PyTree (simple dict of arrays)
u_0_autonomous = {
    'position': jnp.array([1.0, 2.0, 3.0, 4.0]),
    'velocity': jnp.array([0.1, 0.2, 0.3, 0.4])
}

u_0_with_aux = {
    'position': jnp.array([1.0, 2.0, 3.0, 4.0]),
    'velocity': jnp.array([0.1, 0.2, 0.3, 0.4])
}

# Create auxiliary input (constant)
aux_constant = {
    'scale_position': jnp.array([0.99, 0.99, 0.99, 0.99]),
    'scale_velocity': jnp.array([0.98, 0.98, 0.98, 0.98])
}

# Create auxiliary input (non-constant, varying over time steps)
n_steps = 5
aux_varying = {
    'scale_position': jnp.ones((n_steps, 4)) * 0.99,
    'scale_velocity': jnp.ones((n_steps, 4)) * 0.98
}

# Build ARGS dict with all parameter combinations
ARGS = {
    'stepper_fn': simple_stepper,
    'n': 5,
    'include_init': False,
    'takes_aux': False,
    'constant_aux': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, jaxtyping — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
should_refine Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tum-pbs/PRDP/experiments/src/prdp.py
code served (permissive licence) · get_code("6d023282f18197aa")
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) 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 numpy as np

# Initialize the error_checkpoint attribute that the function uses
def should_refine(error_hist, stepping_threshold=0.98, nmax_threshold=0.9, ema_window=6, error_window=3):
    """
    Check if error history has plateued.
    If True, check if it has also plateaued w.r.t. error_checkpoint.
    """
    if len(error_hist) <= error_window:
        return False
    error_ema = numpy_ewma(np.array(error_hist).flatten(), window=ema_window)
    error_ratio = error_ema[-1] / error_ema[-error_window]
    print(f'error ratio = {error_ratio}')
    if error_ratio > stepping_threshold:
        checkpoint_ratio = error_ema[-1] / should_refine.error_checkpoint
        print(f'checkpoint ratio = {checkpoint_ratio}')
        if checkpoint_ratio < nmax_threshold or checkpoint_ratio > 1:
            should_refine.error_checkpoint = error_ema[-1]
            return True
        else:
            return False
    else:
        return False

def numpy_ewma(data, window):
    """
    Return exponential moving average of the data.
    Source: https://stackoverflow.com/a/42926270/16413425
    """
    alpha = 2 / (window + 1.0)
    alpha_rev = 1 - alpha
    n = data.shape[0]
    pows = alpha_rev ** np.arange(n + 1)
    scale_arr = 1 / pows[:-1]
    offset = data[0] * pows[1:]
    pw0 = alpha * alpha_rev ** (n - 1)
    mult = data * pw0 * scale_arr
    cumsums = mult.cumsum()
    out = offset + cumsums * scale_arr[::-1]
    return out

# Initialize the error_checkpoint as a function attribute
should_refine.error_checkpoint = 0.5

# Create error history with enough values to pass the length check
# and create a scenario where error_ratio > stepping_threshold
error_hist = [0.8, 0.75, 0.72, 0.71, 0.70, 0.69, 0.68, 0.67, 0.66, 0.65]

ARGS = {
    "error_hist": error_hist,
    "stepping_threshold": 0.98,
    "nmax_threshold": 0.9,
    "ema_window": 6,
    "error_window": 3,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — 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
wrap_bc Ran
ran, violated the contract we drafted
Ceyron/exponax/exponax/_utils.py
code served (permissive licence) · get_code("927b0cb9412f263f")
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 ArrayImpl, ndim 2, dtype family float, shape (3, 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 jax.numpy as jnp

ARGS = {
    "u": jnp.ones((3, 4))
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, jaxtyping — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (3, 5) — shape (3, 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
A_matrix Not yet run
unverified (harvested, no recorded run)
tum-pbs/PRDP/experiments/src/poisson_problem_definition.py
code served (permissive licence) · get_code("a68d3c0a669807c2")
How it ran

no invocation recorded.

BaseConfiguration Not yet run
unverified (harvested, no recorded run)
Ceyron/trainax/trainax/configuration/_diverted_chain.py
code served (permissive licence) · get_code("2e5bef41fe752d0d")
How it ran

no invocation recorded.

BaseLoss Not yet run
unverified (harvested, no recorded run)
Ceyron/trainax/trainax/configuration/_diverted_chain.py
code served (permissive licence) · get_code("4c6c2852b24a7cb4")
How it ran

no invocation recorded.

DivertedChain Not yet run
unverified (harvested, no recorded run)
Ceyron/trainax/trainax/configuration/_diverted_chain.py
code served (permissive licence) · get_code("5257d728585afaf6")
How it ran

no invocation recorded.

MorePaddingConv Not yet run
unverified (harvested, no recorded run)
Ceyron/pdequinox/pdequinox/conv/_physics_conv.py
code served (permissive licence) · get_code("a51ea803fb2f11f8")
How it ran

no invocation recorded.

PhysicsConv Not yet run
unverified (harvested, no recorded run)
Ceyron/pdequinox/pdequinox/conv/_physics_conv.py
code served (permissive licence) · get_code("58a910b3532ea18f")
How it ran

no invocation recorded.

map_between_resolutions Not yet run
unverified (harvested, no recorded run)
Ceyron/exponax/exponax/_interpolation.py
code served (permissive licence) · get_code("d303e7ad024b4bdd")
How it ran

no invocation recorded.

melt_concat_loss_from_list Not yet run
unverified (harvested, no recorded run)
Ceyron/apebench/apebench/_run.py
code served (permissive licence) · get_code("88559da7c982793c")
How it ran

no invocation recorded.

scrape_data_and_metadata Not yet run
unverified (harvested, no recorded run)
Ceyron/apebench/apebench/_scraper.py
code served (permissive licence) · get_code("40b8776824a39847")
How it ran

no invocation recorded.

squareloss_fn Not yet run
unverified (harvested, no recorded run)
tum-pbs/PRDP/experiments/src/linear_solvers_scan.py
code served (permissive licence) · get_code("30b6b00a026f9a36")
How it ran

no invocation recorded.

Also present in other papers' code

Of 34 samples lifted from this paper's linked repositories, 34 carry a function identity and 0 do not. Of the 34 distinct functions with an identity, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 0 the same month, 0 later) and 25 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
make_grid 1 other paper
1 dated earlier
2510.23111 (2025-10)
Neural Emulator Superiority: When Machine Learning for PDEs Surpasses its Training Data
melt_concat_loss_from_list 1 other paper
1 dated earlier
2411.00180 (2024-11)
APEBench: A Benchmark for Autoregressive Neural Emulators of PDEs
melt_concat_metrics_from_list 1 other paper
1 dated earlier
2411.00180 (2024-11)
APEBench: A Benchmark for Autoregressive Neural Emulators of PDEs
melt_data 1 other paper
1 dated earlier
2411.00180 (2024-11)
APEBench: A Benchmark for Autoregressive Neural Emulators of PDEs
melt_loss 1 other paper
1 dated earlier
2411.00180 (2024-11)
APEBench: A Benchmark for Autoregressive Neural Emulators of PDEs
melt_metrics 1 other paper
1 dated earlier
2411.00180 (2024-11)
APEBench: A Benchmark for Autoregressive Neural Emulators of PDEs
numpy_ewma
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2502.19611 (2025-02)
PRDP: Progressively Refined Differentiable Physics
scrape_data_and_metadata 1 other paper
1 dated earlier
2411.00180 (2024-11)
APEBench: A Benchmark for Autoregressive Neural Emulators of PDEs
should_refine
brick of this paper's assembly: entry
1 other paper
1 dated earlier
2502.19611 (2025-02)
PRDP: Progressively Refined Differentiable Physics

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

Simulation is central to modern engineering and science, but the cost of numerical solvers for partial differential equations (PDEs) remains a bottleneck whenever fast or many-query evaluations are required. Neural emulators trained on solver-generated data promise significant speedups, yet they are usually framed as opaque alternatives to the very methods that produce their training signal. This thesis argues the two paradigms are more alike than different: neural architectures mirror classical discretizations, their errors are amenable to the same spectral analysis, and insight flows profitably in both directions. We approach the relationship by disentangling the multiple roles a solver plays in the emulator learning pipeline. Mode-wise Fourier analysis then provides a common language in which solver errors, architectural inductive biases, and training objectives can all be read off simultaneously. Taken together, this allows synthesizing three contributions. (1) APEBench, a comprehensive benchmarking suite for autoregressive neural emulators of PDEs that uses fast differentiable pseudo-spectral solvers in JAX. ( 2) Progressively Refined Differentiable Physics, an investigation of the effect of unconverged solvers on surrogate training. (3) Neural Emulator Superiority, an analysis of the influence of numerical errors and architectural inductive biases. iii I am extremely grateful for the opportunity to have worked at the intersection of two topics that equally fascinate me: Machine Learning and Numerical Simulation. Over the course of my academic journey from a Bachelor degree in mechanical engineering at TU Braunschweig, a Master degree in computational science at TU Munich, and now a PhD in computer science, I have had the chance to dive deep into topics that were close to my heart. Along the way, I had the pleasure of working with many brilliant people who strongly influenced my thinking and questioned my beliefs, and whom I want to acknowledge here. First, I have to thank my doctoral advisor, Prof. Dr. Nils Thuerey. I am especially grateful for his patience through the many early pivots before we settled on the APEBench direction that anchored my doctorate. I am also grateful for what he taught me about good scientific writing, a craft that will serve me well beyond this dissertation, and for his open-mindedness toward the emulator-superiority project. I also want to thank Prof. Dr. William Gilpin for acting as the referee and Prof. Dr. Daniel Cremers for chairing this PhD council. I owe special appreciation to my collaborators. This starts with Simon Niedermayr, whose expertise in computer vision and rendering not only enlightened me but who also joined the APEBench effort and contributed an amazing volume rendering tool that has become popular in the physics-based deep learning community. I thank Prof. Dr. Rüdiger Westermann for his support and for the computer graphics perspective on the APEBench paper. My second paper of this PhD sprung out of the supervision of Kanishk Bhatia's Master thesis. I appreciate Kanishk for taking on this deep dive into autodiff fundamentals and bilevel optimization with me. I fondly remember our vivid discussions. I am grateful to Qiang Liu for his deep interest in the Exponax solver and for translating it to PyTorch. Thank you also for identifying and pushing for the importance of fast Fourierspectral solvers that led to our Tadpole work. In this light, I also thank Benjamin Holzschuh for collaborating on Tadpole and for his deep expertise on 3D Transformer architectures and probabilistic modeling. A big thank you also goes to Paul Setinek for his interest in the holistic perspective on neural surrogates that my work advocated for, and, on that basis, for suggesting our collaboration on compute-optimal data generation. It was a pleasure to exchange knowledge and I appreciate how our expertise combined to build something great. In this setting, I also want to thank Dr. Fabian Paischer and Prof. Dr. Johannes Brandstetter for working together on this exciting project. My time as a PhD student would have been way less fun and intellectually stimulating if there were no colleagues. I am grateful for the fun times we shared together, the conversations at Mensa (for which I motivated you to go early :D, not to mention the "Studitopf Fastenzeit"), and the sharing of knowledge. Thank you Aleksandra,

For agents

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

get_harvested_code_for_paper("2608.24547")
get_code_for_paper("2608.24547")
have("2608.24547")

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

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

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

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

Connect an agent — have() is free.