1 reporting.performance_evidence

reporting.performance_evidence

Validate immutable performance evidence and mirror it to OMX and W&B.

1.1 Classes

Name Description
ResultContractError Raised when a result file cannot serve as immutable evaluator evidence.
WandbPublication Verified W&B identity for one immutable SENPAI result.

1.1.1 ResultContractError

reporting.performance_evidence.ResultContractError()

Raised when a result file cannot serve as immutable evaluator evidence.

1.1.2 WandbPublication

reporting.performance_evidence.WandbPublication(run_id, run_path)

Verified W&B identity for one immutable SENPAI result.

1.2 Functions

Name Description
checkpoint_evidence Build the concise, digest-backed evidence required by OMX checkpointing.
load_result Load a version-two evaluator result for callers that need only its fields.
load_result_snapshot Read once, validate, and retain the exact evaluator-result bytes.
log_wandb_result Log a checkpointed result as a consistently named SENPAI observation.
main Run the immutable-result bridge as a small, explicit CLI.
record_checkpoint Validate, optionally mirror, then record one evaluator checkpoint with OMX.
result_sha256 Return the digest of the exact evaluator bytes that were validated.

1.2.1 checkpoint_evidence

reporting.performance_evidence.checkpoint_evidence(result, digest)

Build the concise, digest-backed evidence required by OMX checkpointing.

1.2.2 load_result

reporting.performance_evidence.load_result(path)

Load a version-two evaluator result for callers that need only its fields.

1.2.3 load_result_snapshot

reporting.performance_evidence.load_result_snapshot(path)

Read once, validate, and retain the exact evaluator-result bytes.

1.2.4 log_wandb_result

reporting.performance_evidence.log_wandb_result(
    result,
    result_bytes,
    digest,
    config,
)

Log a checkpointed result as a consistently named SENPAI observation.

1.2.5 main

reporting.performance_evidence.main(argv=None)

Run the immutable-result bridge as a small, explicit CLI.

1.2.6 record_checkpoint

reporting.performance_evidence.record_checkpoint(
    result_path,
    *,
    wandb_config=None,
    dry_run=False,
)

Validate, optionally mirror, then record one evaluator checkpoint with OMX.

1.2.7 result_sha256

reporting.performance_evidence.result_sha256(result_bytes)

Return the digest of the exact evaluator bytes that were validated.

Back to top