Audit Specs¶
Serializable audit specifications.
- class updatesupport.spec.QSpec(name, radius=None, backend=None, cost=None, solver=None, solver_options=None, settings=None)[source]¶
Bases:
objectSerializable description of a built-in Q preset.
- Parameters:
- class updatesupport.spec.AuditSpec(public, hidden, target, kind='public_descent', weight=None, candidate_refinements=(), q='saturated', q_presets=None, min_cell_weight=1.0, min_cell_weights=None, hidden_sets=None, top=10, title=None, target_description=None, observed_label=None, row_count_label='Rows', raise_errors=False, ambiguity_limit=None, bucket_budget=None, max_added_columns=None, search='exhaustive', beam_width=12, max_evaluations=None, must_include=(), must_exclude=(), enforce_bucket_budget=False, include_base=True, exact_required=True, screening_backend=None, screening_exact_fallback=True)[source]¶
Bases:
objectSerializable configuration for a standard update-support audit.
- Parameters:
target (str)
kind (str)
weight (str | None)
q (Any)
min_cell_weight (float)
top (int)
title (str | None)
target_description (str | None)
observed_label (str | None)
row_count_label (str)
raise_errors (bool)
ambiguity_limit (float | None)
bucket_budget (int | None)
max_added_columns (int | None)
search (str)
beam_width (int)
max_evaluations (int | None)
enforce_bucket_budget (bool)
include_base (bool)
exact_required (bool)
screening_backend (str | None)
screening_exact_fallback (bool)
- class updatesupport.spec.AuditRun(spec, report)[source]¶
Bases:
ReportArtifactMixinExecuted audit, preserving both the spec and generated report.
- Parameters: