SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1909.05273 · 2019

The Quijote simulations

arXiv · PDF · Open in the Atlas

Code that ran

6 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 0 failures of our instrument; 1 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/1909.05273.json · badge: /api/ran/1909.05273.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
JDonaldM/Matryoshka community (classifier label)
classifier basis not recorded on the link
6 ran · 1 no recorded run
FunctionStatusWhere it lives
dataset Ran
ran on a synthesized input
JDonaldM/Matryoshka/matryoshka/training_funcs.py
code served (permissive licence) · get_code("cf8d04ee686f0458")
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; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import os
import pathlib
from unittest.mock import patch, MagicMock

# Mock the data loading to avoid actual file I/O
def mock_np_load(path):
    """Return mock numpy arrays based on the requested data type"""
    if 'X_' in path:
        # Features: shape (100, 10)
        return np.random.randn(100, 10).astype(np.float32)
    elif 'Y_' in path:
        # Target values: shape (100,)
        return np.random.randn(100).astype(np.float32)
    else:
        return np.array([])

# Define arguments for the dataset function
ARGS = {
    'target': 'sample_function',
    'split': 'train',
    'X_or_Y': 'X'
}

# Patch np.load to return mock data instead of reading from disk
import sys
original_load = np.load

def patched_load(path, *args, **kwargs):
    return mock_np_load(path)

np.load = patched_load
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 — no output shape is stated: observe_signature.py could not observe it (call:NameError)
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
multipole Ran
ran on a synthesized input
JDonaldM/Matryoshka/matryoshka/eft_funcs.py
code served (permissive licence) · get_code("bb6c674fde02ba31")
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

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

# Define dimensions
nk = 5  # number of k bins

# Construct P_n: list of [P11, Ploop, Pct]
# P11 should have shape (3, nk)
P11 = np.random.randn(3, nk)

# Ploop should have shape (12, nk)
Ploop = np.random.randn(12, nk)

# Pct should have shape (6, nk)
Pct = np.random.randn(6, nk)

P_n = [P11, Ploop, Pct]

# Construct bias parameters array b with 7 elements
b = np.array([1.0, 0.5, 0.2, 0.1, 0.05, 0.03, 0.02])

# Growth rate f
f = 0.8

# Stochastic terms (optional) - array with 3 elements for different multipoles
stochastic = np.array([1.0, 0.5, 0.3])

# kbins array with shape matching nk
kbins = np.linspace(0.01, 0.5, nk)

# Number of galaxies
ng = 1000

# Multipole order (0 or 2)
multipole = 0

ARGS = {
    'P_n': P_n,
    'b': b,
    'f': f,
    'stochastic': stochastic,
    'kbins': kbins,
    'ng': ng,
    'multipole': multipole
}
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
multipole_vec Ran
ran on a synthesized input
JDonaldM/Matryoshka/matryoshka/eft_funcs.py
code served (permissive licence) · get_code("44d8d1cf50f491a9")
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

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

# Parameters for multipole_vec
nd = 2  # number of cosmologies
nk = 4  # number of k-bins

# P_n: List of arrays [P11, Ploop, Pct]
# P11 should have shape (nd, 3, nk)
P11 = np.random.randn(nd, 3, nk)

# Ploop should have shape (nd, 12, nk)
Ploop = np.random.randn(nd, 12, nk)

# Pct should have shape (nd, 6, nk)
Pct = np.random.randn(nd, 6, nk)

P_n = [P11, Ploop, Pct]

# b: bias parameters array of shape (nd, 7)
b = np.random.randn(nd, 7)

# f: growth rate array of shape (nd, 1)
f = np.random.randn(nd, 1)

# stochastic: stochastic counterterms array of shape (nd, 3)
stochastic = np.random.randn(nd, 3)

# kbins: k-bins array of shape (nk,)
kbins = np.linspace(0.01, 0.5, nk)

# ng: mean galaxy number density (scalar)
ng = 1e-4

# multipole: desired multipole (0 or 2)
multipole = 0

ARGS = {
    "P_n": P_n,
    "b": b,
    "f": f,
    "stochastic": stochastic,
    "kbins": kbins,
    "ng": ng,
    "multipole": multipole,
}
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
reconstruct_from_multipoles Ran
ran on a synthesized input
JDonaldM/Matryoshka/matryoshka/rsd.py
code served (permissive licence) · get_code("3673f2602a29eb63")
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 (4, 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.special import eval_legendre

# Create sample data for the function
# poles: list of arrays containing multipoles
# Each pole should be a 1D array of reasonable size
poles = [
    np.array([1.0, 2.0, 3.0, 4.0]),  # monopole (ell=0)
    np.array([0.5, 1.0, 1.5, 2.0]),  # quadrupole (ell=2)
    np.array([0.1, 0.2, 0.3, 0.4])   # hexadecapole (ell=4)
]

# mu_bins: array of mu values (cosine of angle)
# Should be values between -1 and 1
mu_bins = np.array([-1.0, -0.5, 0.0, 0.5, 1.0])

ARGS = {
    "poles": poles,
    "mu_bins": mu_bins
}
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 (4, 5) — shape (4, 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
train_test_indices Ran
ran on a synthesized input
JDonaldM/Matryoshka/matryoshka/training_funcs.py
code served (permissive licence) · get_code("ab347306751a39a0")
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 numpy as np

ARGS = {
    "N": 100,
    "split": 0.2
}
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 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
unnormed_P Ran
ran on a synthesized input
JDonaldM/Matryoshka/matryoshka/halo_model_funcs.py
code served (permissive licence) · get_code("a548d010378bc38e")
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 torch
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# - k: array, used in k.reshape(1, -1) ** ns.reshape(-1, 1)
# - T: array, used in T ** 2
# - ns: array, used in ns.reshape(-1, 1)
# The function performs broadcasting operations between:
#   k.reshape(1, -1) with shape (1, n_k)
#   ns.reshape(-1, 1) with shape (n_ns, 1)
#   T with shape that broadcasts with the result

# Create small arrays with distinct dimensions
k = np.array([0.1, 0.5, 1.0, 2.0], dtype=np.float64)  # 4 k-bins
T = np.array([[0.8, 0.7, 0.6, 0.5],
              [0.9, 0.8, 0.7, 0.6]], dtype=np.float64)  # 2 transfer functions x 4 k-bins
ns = np.array([0.96, 0.97], dtype=np.float64)  # 2 spectral index values

ARGS = {
    'k': k,
    'T': T,
    'ns': ns
}
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 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
trainNN Not yet run
unverified (harvested, no recorded run)
JDonaldM/Matryoshka/matryoshka/training_funcs.py
code served (permissive licence) · get_code("a4ed9840821e0e4a")
How it ran

no invocation recorded.

Also present in other papers' code

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

The Quijote simulations are a set of 44,100 full N-body simulations spanning more than 7,000 cosmological models in the $\{Ω_{\rm m}, Ω_{\rm b}, h, n_s, σ_8, M_ν, w \}$ hyperplane. At a single redshift the simulations contain more than 8.5 trillions of particles over a combined volume of 44,100 $(h^{-1}{\rm Gpc})^3$; each simulation follow the evolution of $256^3$, $512^3$ or $1024^3$ particles in a box of $1~h^{-1}{\rm Gpc}$ length. Billions of dark matter halos and cosmic voids have been identified in the simulations, whose runs required more than 35 million core hours. The Quijote simulations have been designed for two main purposes: 1) to quantify the information content on cosmological observables, and 2) to provide enough data to train machine learning algorithms. In this paper we describe the simulations and show a few of their applications. We also release the Petabyte of data generated, comprising hundreds of thousands of simulation snapshots at multiple redshifts, halo and void catalogs, together with millions of summary statistics such as power spectra, bispectra, correlation functions, marked power spectra, and estimated probability density functions.

For agents

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

get_harvested_code_for_paper("1909.05273")
get_code_for_paper("1909.05273")
have("1909.05273")

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

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

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

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

Connect an agent — have() is free.