SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1907.12116 · 2019

A Higher-Order Swiss Army Infinitesimal Jackknife

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 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; 2 failures of our instrument; 1 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/1907.12116.json · badge: /api/ran/1907.12116.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
rgiordan/vittles community (classifier label)
classifier basis not recorded on the link
7 ran · 1 no recorded run
FunctionStatusWhere it lives
get_cholesky_solver Ran
ran on a synthesized input
rgiordan/vittles/vittles/solver_lib.py
code served (permissive licence) · get_code("8fe5f6ef89e5ebbd")
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 function. 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 scipy as sp

# Create a small symmetric positive definite matrix for testing
np.random.seed(0)
size = 4
# Create a random matrix and make it symmetric positive definite
A = np.random.randn(size, size)
h_dense = A @ A.T + np.eye(size)

ARGS = {
    "h": h_dense
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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_dense_cholesky_solver Ran
ran on a synthesized input
rgiordan/vittles/vittles/solver_lib.py
code served (permissive licence) · get_code("b7d1e4403e15216b")
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 function. 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 scipy as sp

# Create a small symmetric positive definite matrix for h
# Using a 4x4 matrix for testing
np.random.seed(0)
A = np.random.randn(4, 4)
h = A @ A.T + np.eye(4)  # Ensure positive definiteness

# Optionally pre-compute the Cholesky factorization
h_chol = sp.linalg.cho_factor(h)

ARGS = {
    "h": h,
    "h_chol": h_chol,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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_linear_function Ran
ran on a synthesized input
rgiordan/vittles/vittles/sensitivity_lib.py
code served (permissive licence) · get_code("79ac822ad27b0595")
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 function. 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 autograd.numpy as np

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

# Define the parameters for get_linear_function
# return_val0: (N,) shaped array - let's use N=3
return_val0 = np.array([1.0, 2.0, 3.0])

# arg_val0: (M,) shaped array - let's use M=4
arg_val0 = np.array([0.5, 1.0, 1.5, 2.0])

# dreturn_darg: (N, M) shaped Jacobian matrix
# This should be (3, 4) to match return_val0 (3,) and arg_val0 (4,)
dreturn_darg = np.array([
    [1.0, 2.0, 3.0, 4.0],
    [0.5, 1.5, 2.5, 3.5],
    [0.1, 0.2, 0.3, 0.4]
])

ARGS = {
    'return_val0': return_val0,
    'arg_val0': arg_val0,
    'dreturn_darg': dreturn_darg
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
autograd — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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_sparse_cholesky_solver Ran
ran on a synthesized input
rgiordan/vittles/vittles/solver_lib.py
code served (permissive licence) · get_code("e2687b5ae14e68e7")
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 builtin_function_or_method. 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 scipy as sp
import numpy as np

# Create a small sparse invertible matrix
# Using a simple diagonal matrix with non-zero entries to ensure invertibility
# Making it 4x4 for a small but meaningful size
data = np.array([2.0, 3.0, 1.5, 2.5])
row = np.array([0, 1, 2, 3])
col = np.array([0, 1, 2, 3])
h = sp.sparse.csr_matrix((data, (row, col)), shape=(4, 4))

ARGS = {
    'h': h
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type builtin_function_or_method — a builtin_function_or_method output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a builtin_function_or_method 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
register_vcs_handler Ran
ran; our contract draft was wrong, not the code
rgiordan/vittles/vittles/_version.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Hhuangsj/GREX, is pointer only (licence: NONE) · get_code("f12f4dabbeb242eb")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Hhuangsj/GREX, and GitHub detected no licence in that repository 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.

run_command Ran
ran on a synthesized input
rgiordan/vittles/vittles/_version.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Hhuangsj/GREX, is pointer only (licence: NONE) · get_code("86d4ff45d6295e29")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Hhuangsj/GREX, and GitHub detected no licence in that repository 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.

versions_from_parentdir Ran
ran; our contract draft was wrong, not the code
rgiordan/vittles/vittles/_version.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Hhuangsj/GREX, is pointer only (licence: NONE) · get_code("b9a1535d27f2a9fb")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Hhuangsj/GREX, and GitHub detected no licence in that repository 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.

get_config_from_root Not yet run
unverified (harvested, no recorded run)
rgiordan/vittles/versioneer.py
code served (permissive licence) · get_code("2d084e1d0452b36f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 4 later) and 4 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
register_vcs_handler 26 other papers
4 dated earlier, 22 later
1806.00550 (2018-06)
A Swiss Army Infinitesimal Jackknife
1806.03146 (2018-06)
Neural Message Passing with Edge Updates for Predicting Properties of Molecules and Materials
1806.03720 (2018-06)
Stochastic seismic waveform inversion using generative adversarial networks as a geological prior
and 23 more not named here
versions_from_parentdir 16 other papers
3 dated earlier, 13 later
1806.00550 (2018-06)
A Swiss Army Infinitesimal Jackknife
1806.03720 (2018-06)
Stochastic seismic waveform inversion using generative adversarial networks as a geological prior
1812.01719 (2018-12)
Knowing what you know in brain segmentation using Bayesian deep neural networks
and 13 more not named here
run_command 14 other papers
3 dated earlier, 11 later
1806.00550 (2018-06)
A Swiss Army Infinitesimal Jackknife
1806.03720 (2018-06)
Stochastic seismic waveform inversion using generative adversarial networks as a geological prior
1812.01719 (2018-12)
Knowing what you know in brain segmentation using Bayesian deep neural networks
and 11 more not named here
get_config_from_root 5 other papers
3 dated earlier, 2 later
1806.00550 (2018-06)
A Swiss Army Infinitesimal Jackknife
1806.03720 (2018-06)
Stochastic seismic waveform inversion using generative adversarial networks as a geological prior
1812.01719 (2018-12)
Knowing what you know in brain segmentation using Bayesian deep neural networks
and 2 more not named here

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

Cross validation (CV) and the bootstrap are ubiquitous model-agnostic tools for assessing the error or variability of machine learning and statistical estimators. However, these methods require repeatedly re-fitting the model with different weighted versions of the original dataset, which can be prohibitively time-consuming. For sufficiently regular optimization problems the optimum depends smoothly on the data weights, and so the process of repeatedly re-fitting can be approximated with a Taylor series that can be often evaluated relatively quickly. The first-order approximation is known as the "infinitesimal jackknife" in the statistics literature and has been the subject of recent interest in machine learning for approximate CV. In this work, we consider high-order approximations, which we call the "higher-order infinitesimal jackknife" (HOIJ). Under mild regularity conditions, we provide a simple recursive procedure to compute approximations of all orders with finite-sample accuracy bounds. Additionally, we show that the HOIJ can be efficiently computed even in high dimensions using forward-mode automatic differentiation. We show that a linear approximation with bootstrap weights approximation is equivalent to those provided by asymptotic normal approximations. Consequently, the HOIJ opens up the possibility of enjoying higher-order accuracy properties of the bootstrap using local approximations. Consistency of the HOIJ for leave-one-out CV under different asymptotic regimes follows as corollaries from our finite-sample bounds under additional regularity assumptions. The generality of the computation and bounds motivate the name "higher-order Swiss Army infinitesimal jackknife."

For agents

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

get_harvested_code_for_paper("1907.12116")
get_code_for_paper("1907.12116")
have("1907.12116")

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

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

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

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

Connect an agent — have() is free.