Docs/Build/Certified randomness
CLIENT 0.6.0PYTHON 3.8+

Certified randomness

Hold a drifting entropy source near its qualified operating profile.

This page documents an optimiser-era simulation. The consumer it serves is an argmax or single-score objective, which the layer's own hardware evidence shows is insensitive to systematic drift (+0.7 points against +34.0 for a numeric consumer). It is kept as a record; see Limitations and Preflight for the consumer-class preconditions before relying on it.

A QRNG is not useful because its raw bitstream looks noisy. It is useful when the certified entropy rate remains high after drift, finite statistics, and extraction losses.

TrueLoop regulates the exposed vector of monitor responses that supports the certified-yield calculation. It does not optimize the final single-number certificate or yield statistic.

Evaluate the loop against raw-rate chasing under one shared measurement budget, then calculate certified yield outside the control interface.

PYTHON
def measure(x):
    return entropy_monitor.response_vector(x)

layer = StabilityContract(key, n=len(x0), mode="regulation", target=target)
x = layer.start(x0)
for _ in range(rounds):
    x = layer.step(measure(x), target=target)
proof = layer.end()
Need the answer on your plant?

Run preflight, inspect the evidence scope, then compare the active default and your incumbent under one measured budget.

Start evaluation