Skip to main content

Module gates

Module gates 

Source
Expand description

Quality gate engine for pass/fail criteria on generation runs.

Provides configurable threshold profiles (strict, default, lenient) and a gate evaluation engine that checks generation quality metrics.

Structs§

GateCheckResult
Result of checking a single gate.
GateEngine
Engine that evaluates quality gates against a comprehensive evaluation.
GateProfile
A named collection of quality gates.
GateResult
Overall result of evaluating all gates in a profile.
QualityGate
A single quality gate with a metric, threshold, and comparison.

Enums§

Comparison
Comparison operator for threshold checks.
FailStrategy
Strategy for handling gate failures.
QualityMetric
A quality metric that can be checked by a gate.

Functions§

default_profile
Default profile — balanced thresholds suitable for most use cases.
get_profile
Get a profile by name.
lenient_profile
Lenient profile — relaxed thresholds for exploratory or development use.
strict_profile
Strict profile — tight thresholds for production-quality data.