Evaluation Governance › The Evaluation Release Ledger

Michael BrenndoerferDecember 1, 202610 min read
Language AI HandbookAll chapters
Part 57 of 67Dynamic, Interactive, and Agentic Evaluation
Chapter 440Evaluation Governance › The Evaluation Release Ledger
Reading section 3 of 13 · The Evaluation Release Ledger · 10 minSection 3 of 13 · 10 min

Section 3 of 13 · 10 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

The central artifact of governance is the evaluation release ledger: an append-only, versioned record of every evaluation "release," meaning a scored result that is intended to be reported, compared, or cited. Think of it as the provenance record from Dataset Lineage and Provenance, but for scores instead of data. Just as lineage records let you trace a training corpus back to its sources, mutations, and filters, a release ledger lets you trace a score back to the exact model, data, and process that produced it.

Each ledger entry (a "release") is an immutable record containing at minimum:

FieldPurpose
release_idUnique ID for the committed release
model_id, model_hashWhich exact artifact was evaluated
benchmark_id, benchmark_versionVersion of the benchmark protocol and item snapshot
splitWhich data split the score is computed on
harness_id, harness_versionThe evaluation harness and its version
prompt_template_hashHash of the exact prompt formatting
decoding_configDeterministic record of sampling settings
judge_id, judge_versionGrader model / heuristic provenance (if applicable)
scorer_hashHash of the scoring code
environmentInference stack, quantization, hardware class
access_tierWho may run this benchmark and under what terms
privacy_reviewPrivacy sign-off for any human or personal data
gaming_flagsDetection results (contamination, tuning, etc.)
reporting_statusGate decision: approved, restricted, withheld
supersedes, superseded_byLinkage for corrections
deprecation_stateWhether the benchmark is active, deprecated, or retired

The ledger stores the release fields as originally submitted. If a score needs a correction, the new record points back with supersedes. Readers can follow that chain without losing access to the original record. A reporting status is evaluated separately against the evidence available at the decision time.

Append-Only Ledger

A data structure in which records are only ever added, never modified or deleted in place. Corrections are represented by new records that reference the records they replace. This preserves an auditable history and prevents "quietly fixing" a bad result.

Why append-only rather than mutating? Because the value of the ledger is that a reader can reconstruct what was claimed, when, on what basis, and how it changed. Mutable records let an organization launder a bad result by editing it away. Append-only records force corrections to be explicit, which is exactly what an auditor wants. It also has a useful side effect: the history of corrections becomes evidence in itself. A benchmark that has been superseded ten times tells a reader something about the maturity of the measurement, just as the pattern of corrections tells you where the fragility lives.

Benchmark Access Tiers and Disclosure

Not every benchmark should be equally accessible. Three standard regimes, each with different governance consequences:

  • Fully open. Data, code, scoring, and splits are public. This makes verification easier when the model and environment are available. Public items can enter training data, and removing a public copy does not remove other copies.
  • Gated / held-out. Data is available only under an access agreement or behind a submission API; you submit model outputs and the operator scores them. This reduces contamination and controls who can probe the test set. Governing concern: the operator becomes a trusted authority, and "submit-and-score" can hide the exact scoring.
  • Private / rotating. Test items are secret and periodically refreshed from a held-out pool. Restricted access can limit direct exposure. Outside researchers may need an authorized rerun or independent audit to verify the score, and maintaining fresh items takes work.

Access, disclosure, and test exposure vary independently. In the example below, public access makes independent reruns easier, and restricted access limits direct exposure at the cost of requiring a trusted operator. A benchmark can choose a different balance.

The chart assigns illustrative coordinates on a zero-to-one scale. The direction describes those assumptions. It gives no estimate of how often training contamination occurs under each policy.

VisualizationOut [4]
CollapseExpand
Scatter of three benchmark access tiers on a contamination-resistance versus transparency plane.
Synthetic access-tier tradeoff frontier. Moving from fully open toward private-rotating raises contamination resistance but lowers both reproducibility and the composite transparency score, so no tier dominates the others. The open tier maximizes reproducibility and transparency, while the private-rotating tier trades those for the strongest contamination resistance.

If readers cannot see the test items, give them another way to scrutinize the result. Publish the scoring procedure and its known limitations, state who can request access or an independent rerun, and record the refresh schedule and uncertainty. The MLPerf Inference submission guide illustrates a concrete process with accuracy checks and structured result submissions.

Let's see how this maps onto concrete code. We build the ledger as a small typed record system using Python's standard library, then show the governance checks layered on top. All example data is synthetic.

PythonIn [5]
CollapseExpand
import hashlib
import itertools
import json
import math
from copy import deepcopy
from dataclasses import dataclass, field, replace
from datetime import datetime, timedelta, timezone
from typing import Optional


def framed_sha256(*parts: str) -> str:
    """Hash an ordered list of strings with unambiguous framing."""
    encoded = json.dumps(
        parts, ensure_ascii=False, separators=(",", ":")
    ).encode()
    return hashlib.sha256(encoded).hexdigest()


_ids = itertools.count(1)
_times = itertools.count()
_epoch = datetime(2026, 1, 1, tzinfo=timezone.utc)


def example_id():
    return f"demo-{next(_ids):04}"


def now_iso() -> str:
    return (_epoch + timedelta(seconds=next(_times))).isoformat(
        timespec="seconds"
    )

We hash a canonical representation of the prompt, settings, and scorer so later changes can be detected. A plain digest of predictable text can be matched against guesses. A digest also cannot authenticate the submitter or verify that the declared code ran. This exercise retains the synthetic inputs and scorer for inspection.

Now the release record itself. We keep it a plain dataclass so it serializes cleanly and so a reviewer can read every field.

PythonIn [6]
CollapseExpand
ACCESS_TIERS = {"open", "gated", "private-rotating"}
REPORTING_STATES = {"approved", "restricted", "withheld"}
DEPRECATION_STATES = {"active", "deprecated", "retired"}


@dataclass
class Release:
    model_id: str
    model_hash: str
    benchmark_id: str
    benchmark_version: str
    split: str
    harness_id: str
    harness_version: str
    prompt_template: str  # raw text, hashed on creation
    decoding_config: dict
    access_tier: str
    environment: str
    judge_id: Optional[str] = None
    judge_version: Optional[str] = None
    scorer_code: str = ""  # raw scoring code, hashed
    privacy_review: Optional[dict] = None
    gaming_flags: list = field(default_factory=list)
    reporting_status: str = "withheld"
    deprecation_state: str = "active"
    release_id: str = field(default_factory=example_id)
    created_at: str = field(default_factory=now_iso)
    supersedes: Optional[str] = None
    superseded_by: Optional[str] = None
    notes: str = ""
    score: Optional[float] = None

    def fingerprint(self) -> dict:
        """Return the committed hashes this release depends on."""
        return {
            "prompt_template_hash": framed_sha256(self.prompt_template),
            "decoding_config_hash": framed_sha256(
                json.dumps(self.decoding_config, sort_keys=True)
            ),
            "scorer_hash": framed_sha256(self.scorer_code),
        }

The fingerprint method is where reproducibility hides. Two releases with different fingerprints are not comparable as the same measurement even if they share benchmark_id and benchmark_version. That is the concrete answer to "did they run the same evaluation?" It is a hash comparison, not a vibes check. The default reporting_status of "withheld" is also deliberate: a new release starts untrusted and must earn approval through the gate, rather than being reported by default and withdrawn only if someone objects. Fail-closed by default is a recurring theme throughout this chapter.

The Ledger as Append-Only Store

The store enforces the two invariants we care about: no in-place mutation of committed fields, and corrections that are explicit through supersedes. We also validate that every new release respects the controlled vocabularies above, and refuses to insert a release whose supersedes target does not exist. These checks are cheap and they catch the most common data-entry mistakes before they become governance failures.

PythonIn [7]
CollapseExpand
class LedgerError(Exception):
    pass


class ReleaseLedger:
    def __init__(self):
        self._by_id: dict[str, Release] = {}
        self._successors: dict[str, str] = {}
        self._order: list[str] = []
        self._flag_events: list[tuple[str, list[dict], str]] = []

    def add(self, release: Release) -> str:
        if release.access_tier not in ACCESS_TIERS:
            raise LedgerError(f"bad access_tier: {release.access_tier}")
        if release.reporting_status not in REPORTING_STATES:
            raise LedgerError(
                f"bad reporting_status: {release.reporting_status}"
            )
        if release.deprecation_state not in DEPRECATION_STATES:
            raise LedgerError(
                f"bad deprecation_state: {release.deprecation_state}"
            )
        if release.release_id in self._by_id:
            raise LedgerError("release_id collision")
        if release.superseded_by is not None:
            raise LedgerError("superseded_by is a projection")
        if release.supersedes is not None:
            target = self._by_id.get(release.supersedes)
            if target is None:
                raise LedgerError(
                    f"supersedes target {release.supersedes} missing"
                )
            if target.release_id in self._successors:
                raise LedgerError("corrections must supersede the current tip")
            if (target.model_id, target.benchmark_id) != (
                release.model_id,
                release.benchmark_id,
            ):
                raise LedgerError(
                    "correction must stay in the same model and benchmark series"
                )
        record = deepcopy(release)
        self._by_id[record.release_id] = record
        self._order.append(record.release_id)
        if record.supersedes is not None:
            self._successors[record.supersedes] = record.release_id
        return record.release_id

    def original(self, release_id: str) -> Release:
        """Return a detached copy of the original record."""
        return deepcopy(self._by_id[release_id])

    def add_flags(
        self, release_id: str, flags: list[dict], reviewer: str
    ) -> None:
        if release_id not in self._by_id:
            raise LedgerError("unknown release")
        if not reviewer.strip():
            raise LedgerError("a reviewer must be recorded")
        self._flag_events.append((release_id, deepcopy(flags), reviewer))

    def get(self, release_id: str) -> Release:
        view = self.original(release_id)
        view.superseded_by = self._successors.get(release_id)
        if view.superseded_by is not None:
            view.reporting_status = "restricted"
        for rid, flags, _ in self._flag_events:
            if rid == release_id:
                view.gaming_flags.extend(deepcopy(flags))
        return view

    def history(self) -> list[Release]:
        return [self.original(rid) for rid in self._order]

    def supersession_chain(self, release_id: str) -> list[str]:
        chain = [release_id]
        cur = self._by_id[release_id]
        while cur.supersedes is not None:
            chain.append(cur.supersedes)
            cur = self._by_id[cur.supersedes]
        return list(reversed(chain))

A correction adds a successor record. The current view derives the forward link and status from the successor index. The original release is preserved separately from the current view. Call original to read the recorded fields and get for the projection including successor links and later flags. The distinction is subtle but important: the content of the old claim is untouched; only its status relative to newer information is updated. That is the difference between a correction and a cover-up.

Call supersession_chain with an already chosen release ID to see its ancestors in chronological order. Starting at the original returns only the original. To find a newer release from that starting point, follow each projected superseded_by link from get, then evaluate the reporting gate for the last record under the current registry 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