SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2111.01721 · 2021

Bayes-Newton Methods for Approximate Bayesian Inference with PSD Guarantees

arXiv · PDF · Open in the Atlas

Code that ran

11 of 15 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 6 have no contract verdict; 5 failures of our instrument; 4 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/2111.01721.json · badge: /api/ran/2111.01721.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
AaltoML/BayesNewton canonical (classifier label)
classifier basis not recorded on the link
11 ran · 4 no recorded run
FunctionStatusWhere it lives
blocktensor_to_blockdiagmatrix Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
AaltoML/BayesNewton/bayesnewton/ops.py
code served (permissive licence) · get_code("9aae62a9f99047b2")
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 ArrayImpl, ndim 2, dtype family float, shape (6, 6) 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 jax.numpy as jnp
import jax

# Create a small blocktensor of shape [N, D, D]
# N=2 batches, D=3 dimensions
N = 2
D = 3

# Create a simple blocktensor with shape [2, 3, 3]
blocktensor = jnp.array([
    [[1.0, 2.0, 3.0],
     [4.0, 5.0, 6.0],
     [7.0, 8.0, 9.0]],
    [[10.0, 11.0, 12.0],
     [13.0, 14.0, 15.0],
     [16.0, 17.0, 18.0]]
])

ARGS = {
    "blocktensor": blocktensor
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (6, 6) — shape (6, 6) 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
coeff Ran
ran on a synthesized input
AaltoML/BayesNewton/bayesnewton/kernels.py
code served (permissive licence) · get_code("94d3b7a9318afcff")
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 ArrayImpl, 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 jax.numpy as np

ARGS = {
    "j": 1,
    "lengthscale": 0.5,
    "order": 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, 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
factorial Ran
ran on a synthesized input
AaltoML/BayesNewton/bayesnewton/kernels.py
code served (permissive licence) · get_code("286d7367835461f3")
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 ArrayImpl, ndim 0, dtype family int, 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 jax.numpy as np

ARGS = {
    "i": 5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 0, dtype family int, 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
gauss_hermite Ran
ran; our contract draft was wrong, not the code
AaltoML/BayesNewton/bayesnewton/cubature.py
code served (permissive licence) · get_code("2bf235dc5954887b")
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 jax.numpy as np
from numpy.polynomial.hermite import hermgauss
import itertools

def mvhermgauss(H: int, D: int):
    """
    This function is adapted from GPflow: https://github.com/GPflow/GPflow

    Return the evaluation locations 'xn', and weights 'wn' for a multivariate
    Gauss-Hermite quadrature.

    The outputs can be used to approximate the following type of integral:
    int exp(-x)*f(x) dx ~ sum_i w[i,:]*f(x[i,:])

    :param H: Number of Gauss-Hermite evaluation points.
    :param D: Number of input dimensions. Needs to be known at call-time.
    :return: eval_locations 'x' (H**DxD), weights 'w' (H**D)
    """
    gh_x, gh_w = hermgauss(H)
    x = np.array(list(itertools.product(*(gh_x,) * D)))
    w = np.prod(np.array(list(itertools.product(*(gh_w,) * D))), 1)
    return (x, w)

def gauss_hermite(dim=1, num_quad_pts=20):
    """
    Return weights and sigma-points for Gauss-Hermite cubature
    """
    sigma_pts, weights = mvhermgauss(num_quad_pts, dim)
    sigma_pts = np.sqrt(2) * sigma_pts.T
    weights = weights.T * np.pi ** (-0.5 * dim)
    return (sigma_pts, weights)

ARGS = {
    "dim": 3,
    "num_quad_pts": 5,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, 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_blocks Ran
ran; our contract draft was wrong, not the code
AaltoML/BayesNewton/bayesnewton/ops.py
code served (permissive licence) · get_code("6f157040825f5857")
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 Tensor, 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 torch
import numpy as np

torch.manual_seed(0)

# The function get_blocks indexes into a block diagonal matrix
# It takes a blockdiagmatrix (appears to be 2D), D (block size), and i (block index)
# and returns a submatrix at position [0+D*i:D+D*i, 0+D*i:D+D*i]

# Create a simple block diagonal matrix
# Let's say we have 3 blocks of size 4x4, so total is 12x12
D = 4
num_blocks = 3
total_size = D * num_blocks

# Create a block diagonal matrix
blockdiagmatrix = torch.zeros(total_size, total_size)
for block_idx in range(num_blocks):
    start = D * block_idx
    end = D * (block_idx + 1)
    blockdiagmatrix[start:end, start:end] = torch.eye(D) * (block_idx + 1)

# Test with block index i=1
i = 1

ARGS = {
    "blockdiagmatrix": blockdiagmatrix,
    "D": D,
    "i": i
}
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 Tensor, 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
get_diag_and_offdiag_components Ran
ran; our contract draft was wrong, not the code
AaltoML/BayesNewton/bayesnewton/ops.py
code served (permissive licence) · get_code("1886c3dfe4b4324c")
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 ArrayImpl, ndim 2, dtype family float, shape (9, 9) 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 jax.numpy as jnp
import jax

# Set seed for reproducibility
jax.config.update("jax_platform_name", "cpu")

# Build arguments for get_diag_and_offdiag_components
num_latents = 3
zeros = jnp.zeros(9)  # num_latents * num_latents = 9
i = 4  # index into zeros
noise_cov = jnp.array([1.0, 2.0, 3.0])  # diagonal noise covariance with size matching num_latents

ARGS = {
    "num_latents": num_latents,
    "zeros": zeros,
    "i": i,
    "noise_cov": noise_cov,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (9, 9) — shape (9, 9) 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
inv_vmap Ran
ran on a synthesized input
AaltoML/BayesNewton/bayesnewton/utils.py
code served (permissive licence) · get_code("4277fb46e3b5740c")
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 ArrayImpl, ndim 3, dtype family float, shape (2, 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 jax.numpy as jnp
import jax
import numpy as np

# Create a small positive semi-definite (PSD) matrix for testing
# We need a batched tensor of shape (batch, dim, dim)
# Let's create batch_size=2, dim=4

def create_psd_matrix(batch_size, dim, seed=42):
    """Create a batch of positive semi-definite matrices"""
    np.random.seed(seed)
    # Create random matrices and multiply by their transpose to ensure PSD
    random_matrices = np.random.randn(batch_size, dim, dim)
    psd_matrices = np.matmul(random_matrices, np.transpose(random_matrices, (0, 2, 1)))
    # Add identity to ensure positive definiteness
    psd_matrices = psd_matrices + np.eye(dim) * dim
    return jnp.array(psd_matrices)

# Create the input tensor
P = create_psd_matrix(batch_size=2, dim=4)

ARGS = {
    "P": P
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 3, dtype family float, shape (2, 4, 4) — shape (2, 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
mvhermgauss Ran
ran; our contract draft was wrong, not the code
AaltoML/BayesNewton/bayesnewton/cubature.py
code served (permissive licence) · get_code("0eeed36a96e1f3a7")
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 jax.numpy as np
from numpy.polynomial.hermite import hermgauss
import itertools

# Set seed for reproducibility
import numpy as onp
onp.random.seed(0)

# Define arguments for mvhermgauss
# H: Number of Gauss-Hermite evaluation points (small value)
# D: Number of input dimensions (small value)

ARGS = {
    "H": 3,
    "D": 2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, 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
negative_binomial Ran
ran on a synthesized input
AaltoML/BayesNewton/bayesnewton/likelihoods.py
code served (permissive licence) · get_code("cfeeab30c5e0cae1")
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 ArrayImpl, 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 jax.numpy as jnp
import numpy as np

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

# Create small test arrays for the negative_binomial function
# m: mean parameter (should be positive)
# y: count/observation data (should be non-negative integers)
# alpha: dispersion parameter (should be positive)

m = jnp.array([1.5, 2.3, 0.8, 1.2])
y = jnp.array([2, 5, 1, 3])
alpha = jnp.array([0.5, 0.3, 0.7, 0.4])

ARGS = {
    "m": m,
    "y": y,
    "alpha": alpha,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, 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
solve Ran
ran on a synthesized input
AaltoML/BayesNewton/bayesnewton/utils.py
code served (permissive licence) · get_code("d6b5c53748778f80")
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 ArrayImpl, ndim 2, dtype family float, shape (4, 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 jax.numpy as jnp
import numpy as np

# Create small PSD matrices for P and Q
# P should be a positive semi-definite matrix (square)
# Q can be rectangular for solving P^-1 Q

# Create a simple PSD matrix P by constructing it as A^T A
np.random.seed(0)
A = np.random.randn(4, 4)
P = A.T @ A  # This is guaranteed to be PSD
P = jnp.array(P, dtype=jnp.float32)

# Create Q as a matrix (can be rectangular)
# Using shape (4, 3) to be distinct from P's (4, 4)
Q = jnp.array(np.random.randn(4, 3), dtype=jnp.float32)

ARGS = {
    "P": P,
    "Q": Q,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (4, 3) — shape (4, 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
symmetric_cubature_third_order Ran
ran on a synthesized input
AaltoML/BayesNewton/bayesnewton/cubature.py
code served (permissive licence) · get_code("833cb74669877c21")
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 onp

ARGS = {
    "dim": 1,
    "kappa": None,
}
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
bfgs Not yet run
unverified (harvested, no recorded run)
AaltoML/BayesNewton/bayesnewton/inference.py
code served (permissive licence) · get_code("6100466c1367a03d")
How it ran

no invocation recorded.

damped_bfgs Not yet run
unverified (harvested, no recorded run)
AaltoML/BayesNewton/bayesnewton/inference.py
code served (permissive licence) · get_code("bc57cb302c717818")
How it ran

no invocation recorded.

inv Not yet run
unverified (harvested, no recorded run)
AaltoML/BayesNewton/bayesnewton/utils.py
code served (permissive licence) · get_code("d8bdc4bb0675df6f")
How it ran

no invocation recorded.

newton_update Not yet run
unverified (harvested, no recorded run)
AaltoML/BayesNewton/bayesnewton/inference.py
code served (permissive licence) · get_code("2bb9aee359b6c49e")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 5 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 5 later) and 10 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
blocktensor_to_blockdiagmatrix 1 other paper
1 later
2602.04917 (2026-02)
Multi-Aspect Mining and Anomaly Detection for Heterogeneous Tensor Streams
gauss_hermite 1 other paper
1 later
2602.04917 (2026-02)
Multi-Aspect Mining and Anomaly Detection for Heterogeneous Tensor Streams
get_blocks 1 other paper
1 later
2602.04917 (2026-02)
Multi-Aspect Mining and Anomaly Detection for Heterogeneous Tensor Streams
get_diag_and_offdiag_components 1 other paper
1 later
2602.04917 (2026-02)
Multi-Aspect Mining and Anomaly Detection for Heterogeneous Tensor Streams
mvhermgauss 1 other paper
1 later
2602.04917 (2026-02)
Multi-Aspect Mining and Anomaly Detection for Heterogeneous Tensor Streams

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 formulate natural gradient variational inference (VI), expectation propagation (EP), and posterior linearisation (PL) as extensions of Newton's method for optimising the parameters of a Bayesian posterior distribution. This viewpoint explicitly casts inference algorithms under the framework of numerical optimisation. We show that common approximations to Newton's method from the optimisation literature, namely Gauss-Newton and quasi-Newton methods (e.g., the BFGS algorithm), are still valid under this 'Bayes-Newton' framework. This leads to a suite of novel algorithms which are guaranteed to result in positive semi-definite (PSD) covariance matrices, unlike standard VI and EP. Our unifying viewpoint provides new insights into the connections between various inference schemes. All the presented methods apply to any model with a Gaussian prior and non-conjugate likelihood, which we demonstrate with (sparse) Gaussian processes and state space models.

For agents

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

get_harvested_code_for_paper("2111.01721")
get_code_for_paper("2111.01721")
have("2111.01721")

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

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

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

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

Connect an agent — have() is free.