Skip to main content
The exhaustive, always-current reference for GoldenAnalysis configuration. GoldenAnalysis is read-only metrics + reporting, so its config surface is small: analyze(...) keyword arguments, the regression RegressionPolicy, and a couple of vocabularies. This page consolidates them into one gated reference.
Everything below the line is generated from code (scripts/gen_config_matrix.py) and verified in CI. The guidance above the line is hand-authored. See Overview and Cross-run.

How GoldenAnalysis is configured

  • Run knobs are analyze(...) keyword arguments (see Runtime options): analyzers (which analyzers to run; None = all frame-compatible), dataset, run_id, generated_at.
  • Regression gating uses a RegressionPolicy (default_pct plus optional per_metric overrides). A metric’s Direction (higher_better / lower_better / neutral) decides which way a change counts as a regression, compared against a chosen Baseline (previous / rolling_median / last_known_good).
  • Analyzers are an open registry (frame.summary, match.rates, cluster.distribution, quality.rollup, plus any third-party entry points), so the analyzer set is extensible and not gated here.

Config object reference

Every config object in the pydantic tree(s), generated from the package schema. Nested objects link by name.

RegressionPolicy

Per-metric regression thresholds (percent). Falls back to default_pct.

Runtime options

Config passed as call keyword arguments (this package has no single config model). Generated from the signature.

analyze(...)

CLI

Every command and its options/arguments, generated from the Typer app. choice-typed options list their allowed values.

Enumerated vocabularies

Allowed values for the str-typed / registry-backed fields above.

Metric direction

DirectionMetric.direction.

Regression baseline

Baseline--baseline.

Analyzers

_FALLBACKanalyze(analyzers=...).

Environment variables (index)

1 GOLDENANALYSIS_* runtime knob(s) read by the package, scanned from source so this is complete. Grouped by area:
  • NATIVE (1): GOLDENANALYSIS_NATIVE

See also