ml_switcheroo.cli.handlers.verify¶
CLI verification commands.
Handles the execution of the verification suite (CI) and optional auto-repair logic.
Functions¶
|
Handles 'ci' command. |
Module Contents¶
- ml_switcheroo.cli.handlers.verify.handle_ci(update_readme: bool, readme_path: pathlib.Path, json_report: pathlib.Path | None, repair: bool = False) int¶
Handles ‘ci’ command.
- Parameters:
update_readme – If True, updates the compatibility matrix in the README.
readme_path – Path to the README file.
json_report – Optional path to dump results JSON.
repair – If True, attempts to automatically relax tolerances for failing tests via bisection.
- Returns:
Exit code (0 on success, 1 on error).
- Return type:
int