SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2207.12274 · ICML · 2022

MAPIE: an open-source library for distribution-free uncertainty quantification

Vianney Taquet, Vincent Blot, Thomas Morzadec, Louis Lacombe, Nicolas Brunel

arXiv · PDF · Open in the Atlas

Code that ran

13 of 16 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 12 have no contract verdict; 0 failures of our instrument; 3 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/2207.12274.json · badge: /api/ran/2207.12274.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
scikit-learn-contrib/MAPIE canonical (classifier label)
classifier basis not recorded on the link
10 ran · 2 no recorded run
yongsukyee/uncertain_blackholemass community (classifier label)
classifier basis not recorded on the link
2 ran · 1 no recorded run
adamzenith/mapie community (classifier label)
classifier basis not recorded on the link
1 ran · 0 no recorded run
FunctionStatusWhere it lives
aggregate_all Ran
ran on a synthesized input
scikit-learn-contrib/MAPIE/mapie/aggregation_functions.py
code served (permissive licence) · get_code("66f692c73dcbd942")
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

# Create a small test array of shape (n, p) = (2, 4) with some NaN values
X = np.array([
    [1.0, 2.0, np.nan, 4.0],
    [5.0, np.nan, 7.0, 8.0]
], dtype=float)

# Test with 'mean' aggregation function
agg_function = 'mean'

ARGS = {
    'agg_function': agg_function,
    'X': X
}
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
ax_square Ran
ran on a synthesized input
yongsukyee/uncertain_blackholemass/uncertain_blackholemass/lib/plot_utils.py
code served (permissive licence) · get_code("bb9194333fcc67cf")
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 Axes. 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

# Create a matplotlib axis with some data to establish limits
fig, ax = plt.subplots()
x = np.array([1, 2, 3, 4])
y = np.array([1.1, 2.2, 2.9, 4.1])
ax.scatter(x, y)

# Define arguments for ax_square function
ARGS = {
    'ax': ax,
    'identitystd': 0.5,
    'identitystd_shade': 'gray',
    'plot_identity': True
}
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 Axes — a Axes output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Axes 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
binary_search Ran
ran, honoured the contract we drafted
scikit-learn-contrib/MAPIE/mapie/conditional_conformal_prediction.py
code served (permissive licence) · get_code("a9044f6ed0707c0e")
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 torch
import numpy as np

torch.manual_seed(0)

# binary_search takes a function and searches for a root between min and max
# The function should return a value that changes sign around the root
# We'll create a simple quadratic function: f(x) = x^2 - 4
# This has roots at x = -2 and x = 2
# We'll search between min=0 and max=3, expecting to find root near 2

def quadratic_func(x):
    """Simple function for testing: f(x) = x^2 - 4"""
    return x**2 - 4

ARGS = {
    "func": quadratic_func,
    "min": 0,
    "max": 3,
    "tol": 0.001
}
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 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
calc_p0p1 Ran
ran on a synthesized input
scikit-learn-contrib/MAPIE/mapie/_venn_abers.py
code served (permissive licence) · get_code("6f7ded28f4c6c1b3")
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

# Create calibration probability data: shape (n_samples, 2)
# This represents predicted probabilities for class 0 and class 1
n_samples = 10
p_cal = np.array([
    [0.8, 0.2],
    [0.6, 0.4],
    [0.3, 0.7],
    [0.5, 0.5],
    [0.9, 0.1],
    [0.4, 0.6],
    [0.7, 0.3],
    [0.2, 0.8],
    [0.55, 0.45],
    [0.75, 0.25]
], dtype=np.float64)

# Create binary class labels: shape (n_samples,)
y_cal = np.array([0, 0, 1, 1, 0, 1, 0, 1, 1, 0], dtype=np.float64)

# Optional precision parameter for rounding
precision = None

ARGS = {
    "p_cal": p_cal,
    "y_cal": y_cal,
    "precision": precision
}
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
check_cv Ran
ran on a synthesized input
adamzenith/mapie/mapie/utils.py
code served (permissive licence) · get_code("19cdebfeea2d4d3b")
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 KFold. 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.

from sklearn.model_selection import BaseCrossValidator, KFold, LeaveOneOut

ARGS = {
    "cv": None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KFold — a KFold output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a KFold 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
find_best_predict_param Ran
ran on a synthesized input
scikit-learn-contrib/MAPIE/mapie/risk_control/methods.py
code served (permissive licence) · get_code("a2bb84a5fe600e0f")
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 (3,) 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 warnings

# Create test data for the function
# lambdas: array of lambda values (thresholds)
lambdas = np.array([0.1, 0.3, 0.5, 0.7, 0.9])

# r_hat_plus: upper bounds for risk, shape (n_lambdas,)
# Make it increasing for testing
r_hat_plus = np.array([0.05, 0.15, 0.25, 0.35, 0.45])

# alpha_np: risk levels, shape (n_alphas,)
# Test with multiple alpha values
alpha_np = np.array([0.1, 0.2, 0.3])

ARGS = {
    "lambdas": lambdas,
    "r_hat_plus": r_hat_plus,
    "alpha_np": alpha_np,
}
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 (3,) — shape (3,) 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
finish_dual_setup Ran
ran on a synthesized input
scikit-learn-contrib/MAPIE/mapie/conditional_conformal_prediction.py
code served (permissive licence) · get_code("49ea430561d4d108")
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 MockProblem. 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
from typing import Any

class MockProblem:
    def __init__(self):
        self.param_dict = {
            'S_test': MockParam(),
            'Phi_test': MockParam(),
            'quantile': MockParam(),
            'L_21_22': MockParam(),
            'radius': MockParam(),
        }

class MockParam:
    def __init__(self):
        self.value = None

# Set up calibration data
np.random.seed(0)
x_calib = np.random.randn(5, 3)  # 5 calibration samples, 3 features
X = np.random.randn(3)  # Single test sample with 3 features
Phi = np.random.randn(4)  # Feature vector with 4 elements
S = 0.5  # Single scalar value
quantile = 0.9  # Quantile value

# Create problem object with param_dict
prob = MockProblem()

# Set up infinite_params
infinite_params = {
    'kernel': 'rbf',
    'gamma': 0.5,
    'lambda': 2.0,
}

ARGS = {
    'prob': prob,
    'S': S,
    'X': X,
    'quantile': quantile,
    'Phi': Phi,
    'x_calib': x_calib,
    'infinite_params': infinite_params,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MockProblem — a MockProblem output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MockProblem 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
generate_gaussian_stream Ran
ran on a synthesized input
scikit-learn-contrib/MAPIE/mapie/_example_utils.py
code served (permissive licence) · get_code("e6c7592cd0791688")
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_samples': 100,
    'shift_type': 'abrupt',
    'mean0_before': (0.0, 0.0),
    'mean0_after': (0.0, -7.5),
    'mean1_before': (1.8, 1.8),
    'mean1_after': (1.8, -5.5),
    'cov': np.eye(2) * 0.5,
    'prop_shift': 0.5,
    'random_state': 42,
}
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
get_config Ran
ran on a synthesized input
yongsukyee/uncertain_blackholemass/uncertain_blackholemass/lib/get_config.py
code served (permissive licence) · get_code("b25bfaf22f41d2e6")
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 dict. 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
import yaml

# Create a temporary config file
temp_dir = tempfile.mkdtemp()
config_path = os.path.join(temp_dir, 'config.yaml')

# Create a valid YAML config file
config_data = {
    'model': 'test_model',
    'learning_rate': 0.001,
    'batch_size': 32,
    'epochs': 10,
    'layers': [64, 128, 256]
}

with open(config_path, 'w') as f:
    yaml.dump(config_data, f)

ARGS = {
    'config_path': config_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
yaml — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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_r_hat_plus Ran
ran on a synthesized input
scikit-learn-contrib/MAPIE/mapie/risk_control/methods.py
code served (permissive licence) · get_code("6295b2fca2a2f52f")
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 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

# Create small example data
n_samples_cal = 5
n_lambdas = 4

# risks: shape (n_samples_cal, n_lambdas) - risk values for each observation and lambda
risks = np.array([
    [0.1, 0.2, 0.3, 0.4],
    [0.15, 0.25, 0.35, 0.45],
    [0.12, 0.22, 0.32, 0.42],
    [0.18, 0.28, 0.38, 0.48],
    [0.14, 0.24, 0.34, 0.44]
], dtype=np.float64)

# lambdas: shape (n_lambdas,) - threshold values
lambdas = np.array([0.0, 0.3, 0.6, 0.9], dtype=np.float64)

# method: either 'rcps' or 'crc' or None
method = 'rcps'

# bound: either 'hoeffding', 'bernstein', 'wsr', or None
bound = 'hoeffding'

# delta: confidence level
delta = 0.1

# sigma_init: initial variance value
sigma_init = 0.25

ARGS = {
    'risks': risks,
    'lambdas': lambdas,
    'method': method,
    'bound': bound,
    'delta': delta,
    'sigma_init': sigma_init
}
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, ndim 2, 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
phi1D Ran
ran on a synthesized input
scikit-learn-contrib/MAPIE/mapie/aggregation_functions.py
code served (permissive licence) · get_code("2a23df2daa0c7540")
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

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

# Define x: 1D vector of shape (n,)
# Using n=5
x = np.array([1.0, 2.0, 3.0, 4.0, 5.0])

# Define B: 2D vector of shape (k, n)
# Using k=2, n=5 to match x's length
B = np.array([[1.0, 1.0, 1.0, np.nan, np.nan],
              [np.nan, np.nan, 1.0, 1.0, 1.0]])

# Define fun: a vectorized function that operates on 2D arrays
# Following the docstring, it should handle axis=1 and ignore nan
fun = lambda arr: np.nanmean(arr, axis=1)

ARGS = {
    "x": x,
    "B": B,
    "fun": fun
}
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
phi2D Ran
ran on a synthesized input
scikit-learn-contrib/MAPIE/mapie/aggregation_functions.py
code served (permissive licence) · get_code("d8b1ed0ae7688ea2")
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

# Create test data for phi2D
# A: shape (n_rowsA, n_columns) = (3, 5)
A = np.array([
    [1, 2, 3, 4, 5],
    [6, 7, 8, 9, 10],
    [11, 12, 13, 14, 15]
], dtype=float)

# B: shape (n_rowsB, n_columns) = (2, 5)
# Must have same number of columns as A
B = np.array([
    [1, 1, 1, np.nan, np.nan],
    [np.nan, np.nan, 1, 1, 1]
], dtype=float)

# fun: a vectorized function that operates on 2D array and returns 1D array
# The function should ignore NaN values
fun = lambda x: np.nanmean(x, axis=1)

ARGS = {
    "A": A,
    "B": B,
    "fun": fun
}
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
setup_cvx_problem Ran
ran on a synthesized input
scikit-learn-contrib/MAPIE/mapie/conditional_conformal_prediction.py
code served (permissive licence) · get_code("96d5c3074fa9e2ec")
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 Problem. 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

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

# Create calibration data
n_calib = 5
x_dim = 4
phi_dim = 3

x_calib = np.random.randn(n_calib, x_dim).astype(np.float64)
scores_calib = np.random.randn(n_calib).astype(np.float64)
phi_calib = np.random.randn(n_calib, phi_dim).astype(np.float64)

infinite_params_linear = {}

infinite_params_kernel = {
    'kernel': 'rbf',
    'gamma': 0.5
}

ARGS = {
    'x_calib': x_calib,
    'scores_calib': scores_calib,
    'phi_calib': phi_calib,
    'infinite_params': infinite_params_linear
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cvxpy, numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Problem — a Problem output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Problem 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
calc_probs Not yet run
unverified (harvested, no recorded run)
scikit-learn-contrib/MAPIE/mapie/_venn_abers.py
code served (permissive licence) · get_code("5b8fe21e0125d9b8")
How it ran

no invocation recorded.

optimize_regressor Not yet run
unverified (harvested, no recorded run)
yongsukyee/uncertain_blackholemass/uncertain_blackholemass/run_uqregresor.py
code served (permissive licence) · get_code("9880305cf7c5da7c")
How it ran

no invocation recorded.

predict_proba_prefitted_va Not yet run
unverified (harvested, no recorded run)
scikit-learn-contrib/MAPIE/mapie/_venn_abers.py
code served (permissive licence) · get_code("918739b050721db8")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 later) and 15 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
binary_search 1 other paper
1 later
2406.09714 (2024-06)
Large language model validity via enhanced conformal prediction methods

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

Estimating uncertainties associated with the predictions of Machine Learning (ML) models is of crucial importance to assess their robustness and predictive power. In this submission, we introduce MAPIE (Model Agnostic Prediction Interval Estimator), an open-source Python library that quantifies the uncertainties of ML models for single-output regression and multi-class classification tasks. MAPIE implements conformal prediction methods, allowing the user to easily compute uncertainties with strong theoretical guarantees on the marginal coverages and with mild assumptions on the model or on the underlying data distribution. MAPIE is hosted on scikit-learn-contrib and is fully "scikit-learn-compatible". As such, it accepts any type of regressor or classifier coming with a scikit-learn API.

For agents

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

get_harvested_code_for_paper("2207.12274")
get_code_for_paper("2207.12274")
have("2207.12274")

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

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

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

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

Connect an agent — have() is free.