v1
tabulate_criteria_outcomes step v1.
Module
Submodules
- bitfount.steps.tabulate_criteria_outcomes.v1.config - Config for the tabulate_criteria_outcomes step (v1).
- bitfount.steps.tabulate_criteria_outcomes.v1.result - Result for the tabulate_criteria_outcomes step (v1).
- bitfount.steps.tabulate_criteria_outcomes.v1.task - Prefect task projecting evaluations into the flat csv_report_df.
Functions
task_fn
def task_fn( datasource: BaseSource, config: TabulateConfig, evaluations: list[CriteriaEvaluation],) ‑> TabulateResult:Project structured evaluations into the flat report DataFrame.
Arguments
datasource: The datasource (for default display-rename resolution).config: Tabulate config (rename_columns).evaluations: The structured evaluations fromcriteria_matching.
Returns
TabulateResult carrying the flat csv_report_df.
Classes
Config
class Config(**data: Any):Config for projecting criterion evaluations into the flat report df.
Arguments
rename_columns: Display-name map applied to failure-reason strings, so the projected reasons match the CSV report's display columns.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Result
class Result(**data: Any):Container for the projected flat report DataFrame.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be
validated to form a valid model.
self is explicitly positional-only to allow self as a field name.