SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.19381 · 2024

On Uncertainty Quantification for Near-Bayes Optimal Algorithms

arXiv · PDF · Open in the Atlas

Code that ran

5 of 9 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; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 2 failures of our instrument; 4 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/2403.19381.json · badge: /api/ran/2403.19381.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
meta-inf/ipb canonical (classifier label)
classifier basis: census
5 ran · 4 no recorded run
FunctionStatusWhere it lives
arr_is_int Ran
ran, violated the contract we drafted
meta-inf/ipb/classification/utils.py
pointer only (licence: GPL-3.0) · get_code("ba9108dc0769c811")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, meta-inf/ipb, is not in the permissive set Syntology serves inline. 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.

dtuple_to_df Ran
ran, honoured the contract we drafted
meta-inf/ipb/classification/ag_predictors.py
pointer only (licence: GPL-3.0) · get_code("d180c827fee9ac5c")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, meta-inf/ipb, is not in the permissive set Syntology serves inline. 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.

parser Ran
ran; our contract draft was wrong, not the code
meta-inf/ipb/classification/exputils.py
pointer only (licence: GPL-3.0) · get_code("71234fd59ed06c65")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, meta-inf/ipb, is not in the permissive set Syntology serves inline. 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.

polya_urn_sample Ran
ran, honoured the contract we drafted
meta-inf/ipb/classification/utils.py
pointer only (licence: GPL-3.0) · get_code("6c923753e28ce546")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, meta-inf/ipb, is not in the permissive set Syntology serves inline. 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.

sample_categorical Ran
ran; our contract draft was wrong, not the code
meta-inf/ipb/classification/utils.py
pointer only (licence: GPL-3.0) · get_code("0061138c1e64bfcc")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, meta-inf/ipb, is not in the permissive set Syntology serves inline. 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.

load_adult Not yet run
unverified (harvested, no recorded run)
meta-inf/ipb/classification/datasets.py
pointer only (licence: GPL-3.0) · get_code("3fffcfbc80fafe7b")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, meta-inf/ipb, is not in the permissive set Syntology serves inline. 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. No invocation recorded.

load_wine Not yet run
unverified (harvested, no recorded run)
meta-inf/ipb/classification/datasets.py
pointer only (licence: GPL-3.0) · get_code("c4039adc4596dde7")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, meta-inf/ipb, is not in the permissive set Syntology serves inline. 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. No invocation recorded.

preflight Not yet run
unverified (harvested, no recorded run)
meta-inf/ipb/classification/exputils.py
pointer only (licence: GPL-3.0) · get_code("c6f235974b03ba76")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, meta-inf/ipb, is not in the permissive set Syntology serves inline. 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. No invocation recorded.

proc_pd Not yet run
unverified (harvested, no recorded run)
meta-inf/ipb/classification/datasets.py
pointer only (licence: GPL-3.0) · get_code("7e847e2e686050f3")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, meta-inf/ipb, is not in the permissive set Syntology serves inline. 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. No invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 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.

FunctionAlso present inEarliest-datedOthers named
parser 2 other papers
1 dated earlier, 1 later
2205.10772 (2022-05)
Fast Instrument Learning with Faster Rates
2406.05213 (2024-06)
On Subjective Uncertainty Quantification and Calibration in Natural Language Generation
preflight 2 other papers
1 dated earlier, 1 later
2205.10772 (2022-05)
Fast Instrument Learning with Faster Rates
2406.05213 (2024-06)
On Subjective Uncertainty Quantification and Calibration in Natural Language Generation

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

Bayesian modelling allows for the quantification of predictive uncertainty which is crucial in safety-critical applications. Yet for many machine learning (ML) algorithms, it is difficult to construct or implement their Bayesian counterpart. In this work we present a promising approach to address this challenge, based on the hypothesis that commonly used ML algorithms are efficient across a wide variety of tasks and may thus be near Bayes-optimal w.r.t. an unknown task distribution. We prove that it is possible to recover the Bayesian posterior defined by the task distribution, which is unknown but optimal in this setting, by building a martingale posterior using the algorithm. We further propose a practical uncertainty quantification method that apply to general ML algorithms. Experiments based on a variety of non-NN and NN algorithms demonstrate the efficacy of our method.

For agents

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

get_harvested_code_for_paper("2403.19381")
get_code_for_paper("2403.19381")
have("2403.19381")

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

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

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

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

Connect an agent — have() is free.