SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2501.06296 · 2025

Ten-parameter simulation suite for cosmological emulation beyond $Λ$CDM

arXiv · PDF · Open in the Atlas

Code that ran

6 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 0 failures of our instrument; 0 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2501.06296.json · badge: /api/ran/2501.06296.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
astro-yyh/gokuemu canonical (classifier label)
classifier basis not recorded on the link
6 ran · 0 no recorded run
FunctionStatusWhere it lives
find_row Ran
ran on a synthesized input
astro-yyh/gokuemu/error_function/gen_submit.py
code served (permissive licence) · get_code("8f0eafe36ac413c6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Construct arguments for find_row(array, target_row)
# The function iterates through rows in array and compares each row to target_row using ==

# Create a simple array (list of lists or numpy array)
array = [
    [1, 2, 3, 4],
    [5, 6, 7, 8],
    [9, 10, 11, 12]
]

# Create a target_row that matches one of the rows in the array
target_row = [5, 6, 7, 8]

ARGS = {
    "array": array,
    "target_row": target_row
}
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 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
folder_name Ran
ran on a synthesized input
astro-yyh/gokuemu/matter_multi_fidelity_emu/data_loader.py
code served (permissive licence) · get_code("e1bc9aec7deb37a6")
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 torch
import numpy as np

torch.manual_seed(0)

# Analyzing the function:
# - num1, res1, box1: integers used in string formatting
# - num2, res2, box2: integers used in string formatting
# - z: float, formatted with '{:.2g}'.format(z).replace('.', '_')
# - selected_ind: iterable that gets mapped to strings and joined

ARGS = {
    'num1': 42,
    'res1': 256,
    'box1': 512,
    'num2': 84,
    'res2': 128,
    'box2': 1024,
    'z': 0.5,
    'selected_ind': [0, 1, 5, 10]
}
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 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
get_pairs_done Ran
ran on a synthesized input
astro-yyh/gokuemu/error_function/gen_submit.py
code served (permissive licence) · get_code("4bf9d86c7387997c")
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 (3, 2) 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
import tempfile
import os

# Create a temporary file with sample data
temp_dir = tempfile.gettempdir()
output_file = os.path.join(temp_dir, 'test_error_function.txt')

# Write sample data to the temporary file
# The function uses np.loadtxt with usecols=(0, 1), so we need at least 2 columns
sample_data = np.array([
    [1.0, 2.0, 3.0],
    [4.0, 5.0, 6.0],
    [7.0, 8.0, 9.0]
])
np.savetxt(output_file, sample_data)

def get_pairs_done(output_file):
    pairs_done = np.loadtxt(output_file, usecols=(0, 1))
    return pairs_done

ARGS = {
    'output_file': output_file
}
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 (3, 2) — shape (3, 2) 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
input_norm Ran
ran on a synthesized input
astro-yyh/gokuemu/emulator/gokuemu.py
code served (permissive licence) · get_code("75d9706ec298c2e3")
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 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 sample cosmological parameters
# Using 5 parameters as an example
cosmo_params = np.array([0.3, 0.7, 0.05, 0.96, 2.1])

# Create bounds for each parameter
# Shape (n_params, 2) where each row is [min, max]
bounds = np.array([
    [0.1, 0.5],      # bounds for param 0
    [0.5, 0.9],      # bounds for param 1
    [0.01, 0.1],     # bounds for param 2
    [0.9, 1.0],      # bounds for param 3
    [2.0, 2.5]       # bounds for param 4
])

ARGS = {
    "cosmo_params": cosmo_params,
    "bounds": bounds
}
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 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
interpolate Ran
ran on a synthesized input
astro-yyh/gokuemu/matter_multi_fidelity_emu/data_loader_dgmgp.py
code served (permissive licence) · get_code("07c6acdcab235dbe")
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 (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 numpy as np
from scipy.interpolate import interp1d

# Create test data for the interpolate function
# log10_k: k bins of the input function (1D array)
log10_k = np.array([0.0, 0.5, 1.0, 1.5, 2.0])

# Y: output of the input function (2D array with shape (n_parms, kbins))
# n_parms = 3 parameters, kbins = 5 k bins
Y = np.array([
    [1.0, 1.5, 2.0, 2.5, 3.0],
    [0.5, 1.0, 1.5, 2.0, 2.5],
    [2.0, 2.5, 3.0, 3.5, 4.0]
])

# log10_ks: the interpolant points we want to interpolate on
# Must satisfy: all values in [log10_k.min(), log10_k.max()]
# and must have same length as number of True values in the boolean mask
log10_ks = np.array([0.0, 0.5, 1.0, 1.5, 2.0])

ARGS = {
    'log10_k': log10_k,
    'Y': Y,
    'log10_ks': log10_ks
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — 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 (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
slc_ind Ran
ran on a synthesized input
astro-yyh/gokuemu/beam_search/beam_search.py
code served (permissive licence) · get_code("0b6aae322336bab0")
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)

# Analyzing the function:
# - points: iterable of objects where each element can be indexed with [0]
# - len_slc: numeric value used in division
# The function divides points[i][0] by len_slc and converts to int

# Create points as a list of lists/tuples where first element is numeric
points = [
    [10.5, 1, 2],
    [25.3, 3, 4],
]

len_slc = 5

ARGS = {
    "points": points,
    "len_slc": len_slc,
}
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

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We present Goku, a suite of cosmological $N$-body simulations, and the corresponding 10-dimensional emulator, GokuEmu, for the nonlinear matter power spectrum. The simulations span the base parameters of $Λ$ Cold Dark Matter ($Λ$CDM) cosmology and its extensions, including dynamical dark energy ($w_0$, $w_a$), the sum of the neutrino masses ($\sum m_ν$), the effective number of neutrinos ($N_\text{eff}$), and the running of the scalar spectral index ($α_\text{s}$), enabling tests of new physics with data from upcoming surveys like the Roman Space Telescope, Euclid, and LSST. Designed within the MF-Box framework, which integrates multi-scale and multi-fidelity simulations, the suite includes high-fidelity simulations evolving $3000^3$ particles in $1\,(\text{Gpc}/h)^3$ volumes and low-fidelity simulations with $750^3$ particles across varying box sizes. This approach achieves percent-level accuracy in high-likelihood regions and 5% accuracy across broader parameter ranges, while reducing computational costs by 94% compared to single-fidelity methods. The simulations adopt an accurate treatment of massive neutrinos, enhancing predictions of the matter power spectrum on nonlinear scales. Key innovations include an adaptive sampling strategy and the use of beam search to optimize generalization accuracy. The emulator is valid for redshifts $z \leq 3$ and scales $0.01 \lesssim k / (h \, \text{Mpc}^{-1}) \lesssim 10$. Beyond the matter power spectrum, the simulations also support analyses of other statistical measures, such as the halo mass function. The emulator and its training data are publicly available at https://github.com/astro-YYH/GokuEmu, providing a valuable resource for cosmological parameter inference and model testing.

For agents

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

get_harvested_code_for_paper("2501.06296")
get_code_for_paper("2501.06296")
have("2501.06296")

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

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

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

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

Connect an agent — have() is free.