Skip to content

latent.stats.mlflow

MLflow integration for statistical reports (FR-8.3).

Functions

log_to_mlflow

log_to_mlflow(report: StatisticalReport) -> None

Log a StatisticalReport to MLflow.

Logs: - Point estimates as MLflow metrics - CIs, p-values, and method metadata as MLflow params - Full report as a JSON artifact - Markdown summary as an artifact

This is a no-op if mlflow is not installed or not configured.

Args: report: A fully populated StatisticalReport.