SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2209.14371 · 2022

pyerrors: a python framework for error analysis of Monte Carlo data

arXiv · PDF · Open in the Atlas

Code that ran

5 of 17 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 5 have no contract verdict; 0 failures of our instrument; 12 no recorded run), measured 2026-11-23; 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/2209.14371.json · badge: /api/ran/2209.14371.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
fjosw/pyerrors canonical (classifier label)
classifier basis not recorded on the link
5 ran · 12 no recorded run
FunctionStatusWhere it lives
Grid_gamma Ran
ran on a synthesized input
fjosw/pyerrors/pyerrors/dirac.py
code served (permissive licence) · get_code("120431d32bc2d862")
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, 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

# The function Grid_gamma takes a single parameter: gamma_tag
# which should be a string corresponding to one of the supported gamma structures

ARGS = {
    'gamma_tag': 'Identity'
}
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 (4, 4) — shape (4, 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
epsilon_tensor Ran
ran on a synthesized input
fjosw/pyerrors/pyerrors/dirac.py
code served (permissive licence) · get_code("56147cd4bc56943d")
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 float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The epsilon_tensor function takes three integer indices: i, j, k
# These should be from either (0, 1, 2) or (1, 2, 3)
# Let's use indices from (0, 1, 2) set

i = 0
j = 1
k = 2

ARGS = {
    'i': i,
    'j': j,
    'k': k
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, 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
epsilon_tensor_rank4 Ran
ran on a synthesized input
fjosw/pyerrors/pyerrors/dirac.py
code served (permissive licence) · get_code("04a78ae9a74a1fec")
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 float, 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

# Analyze the function:
# - Takes 4 integer parameters: i, j, k, o
# - Each should be in either {1, 2, 3, 4} or {0, 1, 2, 3}
# - Returns an int (element of epsilon tensor)
# - Uses only arithmetic operations on the inputs

# Valid indices: using 1-indexed (1, 2, 3, 4)
i = 1
j = 2
k = 3
o = 4

ARGS = {
    "i": i,
    "j": j,
    "k": k,
    "o": o
}
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 float, 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
gamma_method Ran
ran on a synthesized input
fjosw/pyerrors/pyerrors/obs.py
code served (permissive licence) · get_code("cc9e73da9f3d2e4d")
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 (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

class MockObs:
    """Mock observation object with gm method"""
    def __init__(self, value):
        self.value = value
    
    def gm(self, **kwargs):
        """Mock gamma_method that returns a processed value"""
        scale = kwargs.get('scale', 1.0)
        return self.value * scale

# Create a small array of mock Obs objects
obs_array = np.array([
    MockObs(1.5),
    MockObs(2.5)
], dtype=object)

ARGS = {
    'x': obs_array,
}
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 (2,) — shape (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
kn Ran
ran on a synthesized input
fjosw/pyerrors/pyerrors/special.py
code served (permissive licence) · get_code("9c441a88af1b00fc")
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 (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
import scipy.special

torch.manual_seed(0)

# The kn function takes two parameters:
# - n: an integer (order of the Bessel function)
# - x: a value or array at which to evaluate the function

# Since scipy.special.kn works with scalar or array inputs,
# we can pass a numpy array or scalar for x

n_value = 2  # integer order
x_value = np.array([0.5, 1.0, 1.5, 2.0])  # array of points to evaluate

ARGS = {
    "n": n_value,
    "x": x_value
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
autograd, numpy, scipy, torch — 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 (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
cholesky Not yet run
unverified (harvested, no recorded run)
fjosw/pyerrors/pyerrors/linalg.py
code served (permissive licence) · get_code("78b718a5e311ec5f")
How it ran

no invocation recorded.

einsum Not yet run
unverified (harvested, no recorded run)
fjosw/pyerrors/pyerrors/linalg.py
code served (permissive licence) · get_code("38dd090b28275033")
How it ran

no invocation recorded.

find_root Not yet run
unverified (harvested, no recorded run)
fjosw/pyerrors/pyerrors/roots.py
code served (permissive licence) · get_code("cf6f462eb6a1936f")
How it ran

no invocation recorded.

gen_correlated_data Not yet run
unverified (harvested, no recorded run)
fjosw/pyerrors/pyerrors/misc.py
code served (permissive licence) · get_code("6b670eca1559d21c")
How it ran

no invocation recorded.

inv Not yet run
unverified (harvested, no recorded run)
fjosw/pyerrors/pyerrors/linalg.py
code served (permissive licence) · get_code("c48d7d80c00c71c9")
How it ran

no invocation recorded.

load_object Not yet run
unverified (harvested, no recorded run)
fjosw/pyerrors/pyerrors/misc.py
code served (permissive licence) · get_code("727eb2f2721011b5")
How it ran

no invocation recorded.

matrix_pencil_method Not yet run
unverified (harvested, no recorded run)
fjosw/pyerrors/pyerrors/mpm.py
code served (permissive licence) · get_code("fb593ecea14a1a92")
How it ran

no invocation recorded.

pseudo_Obs Not yet run
unverified (harvested, no recorded run)
fjosw/pyerrors/pyerrors/misc.py
code served (permissive licence) · get_code("4130e2ca903a2a60")
How it ran

no invocation recorded.

quad Not yet run
unverified (harvested, no recorded run)
fjosw/pyerrors/pyerrors/integrate.py
code served (permissive licence) · get_code("71b97f2b7e7bdf74")
How it ran

no invocation recorded.

read_ADerrors Not yet run
unverified (harvested, no recorded run)
fjosw/pyerrors/pyerrors/input/bdio.py
code served (permissive licence) · get_code("52d6a20614eb149d")
How it ran

no invocation recorded.

read_mesons Not yet run
unverified (harvested, no recorded run)
fjosw/pyerrors/pyerrors/input/bdio.py
code served (permissive licence) · get_code("97444b3a542ea5a7")
How it ran

no invocation recorded.

write_ADerrors Not yet run
unverified (harvested, no recorded run)
fjosw/pyerrors/pyerrors/input/bdio.py
code served (permissive licence) · get_code("4fda5af294737c68")
How it ran

no invocation recorded.

Also present in other papers' code

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

We present the pyerrors python package for statistical error analysis of Monte Carlo data. Linear error propagation using automatic differentiation in an object oriented framework is combined with the $Γ$-method for a reliable estimation of autocorrelation times. Data from different sources can easily be combined, keeping the information on the origin of error components intact throughout the analysis. pyerrors can be smoothly integrated into the existing scientific python ecosystem which allows for efficient and compact analyses.

For agents

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

get_harvested_code_for_paper("2209.14371")
get_code_for_paper("2209.14371")
have("2209.14371")

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

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

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

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

Connect an agent — have() is free.