1 reporting.wandb.qh_history_mirror

reporting.wandb.qh_history_mirror

Optional post-run W&B mirror of validated local Q_H metric histories.

The local JSONL history and fit receipt remain authoritative. This module validates an explicit batch before opening one remote run, then mirrors selected curves and their digests. A transport failure is mirror status only; it never changes fitting, evaluation, or retained receipts.

1.1 Classes

Name Description
QhMirrorAttempt One explicit local fit attempt to include in a post-run mirror batch.
QhMirrorStatus Remote-only publication result; never an experiment admission receipt.

1.1.1 QhMirrorAttempt

reporting.wandb.qh_history_mirror.QhMirrorAttempt(
    history_path,
    fit_receipt_path,
)

One explicit local fit attempt to include in a post-run mirror batch.

1.1.2 QhMirrorStatus

reporting.wandb.qh_history_mirror.QhMirrorStatus(
    state,
    attempt_count,
    run_id,
    error=None,
)

Remote-only publication result; never an experiment admission receipt.

1.2 Functions

Name Description
mirror_qh_diagnostic_histories Mirror one explicit batch after all local histories and receipts validate.

1.2.1 mirror_qh_diagnostic_histories

reporting.wandb.qh_history_mirror.mirror_qh_diagnostic_histories(
    attempts,
    *,
    config,
    wandb_client=None,
)

Mirror one explicit batch after all local histories and receipts validate.

The caller chooses the batch and W&B mode. Validation errors fail before any remote call; transport errors return failed without changing local evidence. No run is created per cell unless the caller explicitly passes a one-cell batch.

Back to top