SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · astro-ph/0205436 · 2002

Cosmological parameters from CMB and other data: a Monte-Carlo approach

arXiv · PDF · Open in the Atlas

Code that ran

5 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 2 failures of our instrument; 3 no recorded run), measured 2026-11-24; 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/astro-ph/0205436.json · badge: /api/ran/astro-ph/0205436.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
sfu-cosmo/MagCosmoMC community (classifier label)
classifier basis not recorded on the link
5 ran · 3 no recorded run
FunctionStatusWhere it lives
fsizestr Ran
ran on a synthesized input
sfu-cosmo/MagCosmoMC/python/cleanup.py
code served (permissive licence) · get_code("ad7bf9a7a6125198")
How it ran

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

import os
import tempfile

# Create a temporary file with known size for testing
with tempfile.NamedTemporaryFile(delete=False, mode='w') as f:
    temp_file = f.name
    # Write exactly 512 bytes to the file
    f.write('x' * 512)

try:
    ARGS = {
        'fname': temp_file
    }
finally:
    # Clean up is handled by the caller, but we ensure the file exists for the function
    pass
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
getColorMap Ran
ran on a synthesized input
sfu-cosmo/MagCosmoMC/python/chainDumpPlot.py
code served (permissive licence) · get_code("2b2a0d6d135114cb")
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 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 numpy as np
import matplotlib.pyplot as plt
import matplotlib.cm as cmx
import matplotlib.colors as colors

# Create sample parameter values for the function
parvals = np.array([1.2, 2.5, 3.1, 4.8, 5.3, 6.7])

ARGS = {
    "parvals": parvals
}
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 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
lastTopComment Ran
ran; our contract draft was wrong, not the code
sfu-cosmo/MagCosmoMC/python/CMBlikes.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from nraffuzz/CosmoMC_GFE, is pointer only (licence: NONE) · get_code("f85df2ee897f5d6c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from nraffuzz/CosmoMC_GFE, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

readTextCommentColumns Ran
ran, honoured the contract we drafted
sfu-cosmo/MagCosmoMC/python/CMBlikes.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from nraffuzz/CosmoMC_GFE, is pointer only (licence: NONE) · get_code("0d67adf422b83416")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from nraffuzz/CosmoMC_GFE, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

readWithHeader Ran
ran; our contract draft was wrong, not the code
sfu-cosmo/MagCosmoMC/python/CMBlikes.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from nraffuzz/CosmoMC_GFE, is pointer only (licence: NONE) · get_code("36004963d8da44b1")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from nraffuzz/CosmoMC_GFE, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

fileMatches Not yet run
unverified (harvested, no recorded run)
sfu-cosmo/MagCosmoMC/python/copyGridFiles.py
code served (permissive licence) · get_code("55892c55ec3e82b1")
How it ran

no invocation recorded.

get_camb_params Not yet run
unverified (harvested, no recorded run)
sfu-cosmo/MagCosmoMC/python/cosmomc_to_camb.py
code served (permissive licence) · get_code("4ba058e12ce912ad")
How it ran

no invocation recorded.

truncate_colormap Not yet run
unverified (harvested, no recorded run)
sfu-cosmo/MagCosmoMC/python/chainDumpPlot.py
code served (permissive licence) · get_code("de55e0c67b4e4488")
How it ran

no invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 3 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 3 later) and 5 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
lastTopComment 2 other papers
2 later
1304.4473 (2013-04)
Efficient sampling of fast and slow cosmological parameters
1502.01856 (2015-02)
PolyChord: nested sampling for cosmology
readTextCommentColumns 2 other papers
2 later
1304.4473 (2013-04)
Efficient sampling of fast and slow cosmological parameters
1502.01856 (2015-02)
PolyChord: nested sampling for cosmology
readWithHeader 2 other papers
2 later
1304.4473 (2013-04)
Efficient sampling of fast and slow cosmological parameters
1502.01856 (2015-02)
PolyChord: nested sampling for cosmology

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-24.

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 a fast Markov Chain Monte-Carlo exploration of cosmological parameter space. We perform a joint analysis of results from recent CMB experiments and provide parameter constraints, including sigma_8, from the CMB independent of other data. We next combine data from the CMB, HST Key Project, 2dF galaxy redshift survey, supernovae Ia and big-bang nucleosynthesis. The Monte Carlo method allows the rapid investigation of a large number of parameters, and we present results from 6 and 9 parameter analyses of flat models, and an 11 parameter analysis of non-flat models. Our results include constraints on the neutrino mass (m_nu < 0.3eV), equation of state of the dark energy, and the tensor amplitude, as well as demonstrating the effect of additional parameters on the base parameter constraints. In a series of appendices we describe the many uses of importance sampling, including computing results from new data and accuracy correction of results generated from an approximate method. We also discuss the different ways of converting parameter samples to parameter constraints, the effect of the prior, assess the goodness of fit and consistency, and describe the use of analytic marginalization over normalization parameters.

For agents

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

get_harvested_code_for_paper("astro-ph/0205436")
get_code_for_paper("astro-ph/0205436")
have("astro-ph/0205436")

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

curl https://syntology.ai/api/ran/astro-ph/0205436.json

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

[![Syntology run record](https://syntology.ai/api/ran/astro-ph/0205436.svg)](https://syntology.ai/paper/astro-ph/0205436)

Connect an agent — have() is free.