Skip to content

Results

Result models returned by the engine after check and suite execution.

Result models for check execution.

CheckResult

Bases: BaseModel

Result of a single check execution.

apply_severity()

Downgrade FAIL to WARN for checks with INFO or WARNING severity.

Per the AQL spec, INFO/WARNING failures are logged but do not block the suite from passing.

SuiteResult

Bases: BaseModel

Result of a full suite execution.

compute_status()

Compute suite status from individual check results.

Quality score is weighted by severity: a failing INFO check has less impact than a failing CRITICAL check.