---
name: uai-reproducibility
description: Use when keeping UAI proofs, simulations, samplers, and data traceable so that discussion questions can be answered within days. Does not write the supplement.
---

# UAI reproducibility

Use this from the first lemma. In April you have ten days, and questions such as "what if the noise is heavy-tailed?" deserve a run the same evening.

Instructions: https://www.auai.org/uai2026/submission_instructions

## Proof ledger

One line per statement:

```text
id | statement (one line) | uses assumptions | uses lemmas | proof at | checked by | checked on | numerically tested by
T2 | excess risk <= c * d / n | A1 A3 | L4 L5 | app. B.2 | second author | 2027-01-20 | sim_t2.py
```

Generate from it the graph of dependencies. An assumption that no one uses should be deleted. A lemma used once, by a theorem that nobody needs, too. After each change of an assumption, everything downstream returns to "unchecked".

**Numerical tests of theorems** catch constants, off-by-one, and reversed inequalities. Ten random instances, both sides printed.

```python
import numpy as np
rng = np.random.default_rng(0)
bad = 0
for _ in range(1000):                      # random instances within the assumptions
    n, d = rng.integers(5, 50), rng.integers(1, 5)
    X = rng.normal(size=(n, d)); G = X.T @ X
    lhs = np.trace(np.linalg.pinv(G) @ G)  # replace by your left side
    rhs = d                                # and your right side
    bad += lhs > rhs + 1e-8
print("violations:", bad)
```

## Runs

`config.yaml` in, `result.json` out, nothing by hand. Config includes generator with parameters, n, seeds, method with all hyperparameters, tuning record. Seeds are lists, not "42". For samplers: chains, warm-up, thinning, diagnostics, divergences. For approximate inference: tolerance and iterations at stop.

## Randomness of three kinds

Data, algorithm, evaluation. Vary and record each apart. An interval over algorithm seeds on one data set answers a question nobody asked.

## Real data

Version, licence, exclusion, missingness and how treated, the variable dictionary, the graph or prior elicited with whom and when (before seeing outcomes?).

## Language models

Identifier, date, prompts, sampling, full outputs with token probabilities if used. For closed models some claims cannot be repeated later. Say so in the main part.

## Freeze

Tag at submission. In the discussion everything new is run from the tag, with a new config only.

## Output

```text
[UAI record] statements <n>, checked by second person <n>, numerically tested <n>
[Assumption graph] unused assumptions <none>
[Runs] config -> result, seeds lists; three randomness kinds separate
[Elicited before outcomes] <priors, graphs>
[Same-evening rerun] time <min>
[Tag] <x>
```

## Reverify each cycle

- Nothing from the page. Check that the ledger matches the final numbering.
