SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.07160 · ICML · 2024

PASOA-PArticle baSed Bayesian Optimal Adaptive design

Florence Forbes, Jacopo Iollo, Christophe Heinkelé, Pierre Alliez

arXiv · PDF · Open in the Atlas

Code that ran

7 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, 2 violated it and 0 have no contract verdict; 4 failures of our instrument; 9 no recorded run), measured 2026-11-22; 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/2402.07160.json · badge: /api/ran/2402.07160.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
iolloj/pasoa canonical (classifier label)
classifier basis: census
4 ran · 1 no recorded run
csiro-mlai/RL-BOED community
Papers with Code archive
3 ran · 8 no recorded run
FunctionStatusWhere it lives
batch_ravel_pytree Ran
ran; our contract draft was wrong, not the code
iolloj/pasoa/exptax/utils.py
pointer only (licence: NONE) · get_code("a47a290184b71517")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, iolloj/pasoa 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.

generate_bessel Ran
ran; our contract draft was wrong, not the code
iolloj/pasoa/exptax/hankel.py
pointer only (licence: NONE) · get_code("b2e913e02b5cc979")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, iolloj/pasoa 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.

sample Ran
ran; our contract draft was wrong, not the code
csiro-mlai/RL-BOED/pyro/models/adaptive_experiment_model.py
code served (permissive licence) · get_code("6fead20b14131cf9")
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 Normal. 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 torch
import pyro
import pyro.distributions as dist
from pyro.poutine.runtime import _MODULE_NAMESPACE_DIVIDER

torch.manual_seed(0)

# Create a simple distribution function
def simple_dist():
    return dist.Normal(0.0, 1.0)

# Create a more complex distribution with parameters
def parameterized_dist(loc, scale):
    return dist.Normal(loc, scale)

# Set up basic arguments
name = "test_sample"
fn = simple_dist

ARGS = {
    "name": name,
    "fn": fn,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pyro, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Normal — a Normal output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Normal 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
torch_isinf Ran
ran, violated the contract we drafted
csiro-mlai/RL-BOED/pyro/models/adaptive_experiment_model.py
code served (permissive licence) · get_code("145263e0ef93d097")
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) and returned bool, 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 numbers

torch.manual_seed(0)

# Test case 1: a number that is infinity
test_number_inf = float('inf')

# Test case 2: a number that is negative infinity
test_number_neg_inf = -float('inf')

# Test case 3: a regular number
test_number_regular = 42.5

# Test case 4: a tensor with infinity
test_tensor_with_inf = torch.tensor([1.0, 2.0, float('inf'), 4.0])

# Test case 5: a tensor without infinity
test_tensor_without_inf = torch.tensor([1.0, 2.0, 3.0, 4.0])

# Test case 6: a tensor with negative infinity
test_tensor_with_neg_inf = torch.tensor([1.0, -float('inf'), 3.0, 4.0])

# We'll test with a regular number first
ARGS = {
    'x': 42.5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, 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
torch_isnan Ran
ran, violated the contract we drafted
csiro-mlai/RL-BOED/pyro/models/adaptive_experiment_model.py
code served (permissive licence) · get_code("0c3140fb5a8e7c81")
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 bool, 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 numbers

torch.manual_seed(0)

# Test case 1: a number that is NaN
test_number_nan = float('nan')

# Test case 2: a number that is not NaN
test_number_valid = 42.0

# Test case 3: a tensor containing NaN
test_tensor_with_nan = torch.tensor([1.0, 2.0, float('nan'), 4.0])

# Test case 4: a tensor without NaN
test_tensor_no_nan = torch.randn(2, 4)

ARGS = {
    "x": test_number_valid
}
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 bool, 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
unravel_pytree Ran
ran; our contract draft was wrong, not the code
iolloj/pasoa/exptax/utils.py
pointer only (licence: NONE) · get_code("0cdcd2aef8f30eb8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, iolloj/pasoa 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.

vmapped_ravel Ran
ran, honoured the contract we drafted
iolloj/pasoa/exptax/utils.py
pointer only (licence: NONE) · get_code("3a5aebff5572d0b2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, iolloj/pasoa 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.

CESModel Not yet run
unverified (harvested, no recorded run)
csiro-mlai/RL-BOED/pyro/models/adaptive_experiment_model.py
code served (permissive licence) · get_code("a2c3e8e899944b86")
How it ran

no invocation recorded.

ExperimentModel Not yet run
unverified (harvested, no recorded run)
csiro-mlai/RL-BOED/pyro/models/adaptive_experiment_model.py
code served (permissive licence) · get_code("002eac6c5fb13812")
How it ran

no invocation recorded.

is_bad Not yet run
unverified (harvested, no recorded run)
csiro-mlai/RL-BOED/pyro/models/adaptive_experiment_model.py
code served (permissive licence) · get_code("eb14e4a35893798a")
How it ran

no invocation recorded.

iter_plates_to_shape Not yet run
unverified (harvested, no recorded run)
csiro-mlai/RL-BOED/pyro/models/adaptive_experiment_model.py
code served (permissive licence) · get_code("9dcadb60e0aa69a3")
How it ran

no invocation recorded.

lexpand Not yet run
unverified (harvested, no recorded run)
csiro-mlai/RL-BOED/pyro/models/adaptive_experiment_model.py
code served (permissive licence) · get_code("8788efeef0d86cb7")
How it ran

no invocation recorded.

plate Not yet run
unverified (harvested, no recorded run)
csiro-mlai/RL-BOED/pyro/models/adaptive_experiment_model.py
code served (permissive licence) · get_code("deeff29c281a5754")
How it ran

no invocation recorded.

rexpand Not yet run
unverified (harvested, no recorded run)
csiro-mlai/RL-BOED/pyro/models/adaptive_experiment_model.py
code served (permissive licence) · get_code("2e053d97c4bd1bf1")
How it ran

no invocation recorded.

rmv Not yet run
unverified (harvested, no recorded run)
csiro-mlai/RL-BOED/pyro/models/adaptive_experiment_model.py
code served (permissive licence) · get_code("be62fafb4c2cf80e")
How it ran

no invocation recorded.

update_hist Not yet run
unverified (harvested, no recorded run)
iolloj/pasoa/exptax/run_utils.py
pointer only (licence: NONE) · get_code("59522bebd69d7132")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, iolloj/pasoa 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. 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, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 0 later) and 13 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
lexpand
brick of this paper's assembly: helper
1 other paper
1 dated earlier
1901.06033 (2019-01)
Continuous Hierarchical Representations with Poincaré Variational Auto-Encoders
rexpand
brick of this paper's assembly: helper
1 other paper
1 dated earlier
1901.06033 (2019-01)
Continuous Hierarchical Representations with Poincaré Variational Auto-Encoders
torch_isnan
brick of this paper's assembly: helper
1 other paper
1 dated earlier
1810.09538 (2018-10)
Pyro: Deep Universal Probabilistic Programming

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

We propose a new procedure named PASOA, for Bayesian experimental design, that performs sequential design optimization by simultaneously providing accurate estimates of successive posterior distributions for parameter inference. The sequential design process is carried out via a contrastive estimation principle, using stochastic optimization and Sequential Monte Carlo (SMC) samplers to maximise the Expected Information Gain (EIG). As larger information gains are obtained for larger distances between successive posterior distributions, this EIG objective may worsen classical SMC performance. To handle this issue, tempering is proposed to have both a large information gain and an accurate SMC sampling, that we show is crucial for performance. This novel combination of stochastic optimization and tempered SMC allows to jointly handle design optimization and parameter inference. We provide a proof that the obtained optimal design estimators benefit from some consistency property. Numerical experiments confirm the potential of the approach, which outperforms other recent existing procedures.

For agents

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

get_harvested_code_for_paper("2402.07160")
get_code_for_paper("2402.07160")
have("2402.07160")

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

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

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

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

Connect an agent — have() is free.