Versioning Models, Prompts, Data, and Tools › The hard limits: what you cannot reproduce

Michael BrenndoerferDecember 2, 20262 min read
Language AI HandbookAll chapters
Part 64 of 67Compound AI System Design
Chapter 489Versioning Models, Prompts, Data, and Tools › The hard limits: what you cannot reproduce
Reading section 9 of 14 · The hard limits: what you cannot reproduce · 2 minSection 9 of 14 · 2 min

Section 9 of 14 · 2 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

There are three useful reproducibility targets. Record-level reconstruction recovers the known configuration for a request. Behavioral reproduction checks whether a rerun meets defined criteria. Byte-exact reproduction asks whether output bytes match. A manifest directly helps with the first target. The other two depend on the captured inputs, runtime, and retained artifacts.

A provider tag and a timestamp record an external reference. A provider-reported resolved revision is additional evidence when exposed. Only make guarantees allowed by the provider's versioning contract. An index build id and the retrieved document revisions help distinguish changed retrieval from changed generation. Retain the query, applied filters, and selection parameters where needed and permitted.

A seed fixes a source of variance under matching conditions. It cannot establish that all kernels, hardware, frameworks, or request scheduling behave identically. PyTorch documents that identical seeds may still yield different results between CPU and GPU. Evaluate behavioral reproduction across repeated runs when stochasticity matters. Use the same criteria and the same documented evaluation protocol. PyTorch Reproducibility

For behavior-level comparisons, it can be enough to rerun a versioned task suite against the recovered configuration under a documented sampling policy. Examples include the fraction of correctly routed requests or the fraction of answers containing the required evidence. These summaries compare behavior at the level you specified. They cannot establish that a particular production answer or its side effects would repeat. For byte comparisons, retain the exact normalization and serialization if your goal is a normalized output rather than the raw returned bytes.

A configuration can be reproducibly identified yet unavailable. A provider can retire a version, an old tool can stop serving requests, or data-retention obligations can eliminate the original inputs. Treat artifact retention and dependency availability as release prerequisites when recovery matters. Keep a separate recovery test that periodically verifies referenced artifacts can be resolved and that the previous stable release still starts against its expected state.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy