Skip to content

karenina.benchmark.error_analysis.launchers

launchers

Built-in error-analyst launchers.

Importing this package registers prepare-only. claude-code is not imported by default; the facade imports it lazily when the user selects launcher="claude-code".

Classes

PrepareOnlyLauncher

No-op launcher that verifies REPORT.md exists after the fact.

Source code in src/karenina/benchmark/error_analysis/launchers/prepare_only.py
class PrepareOnlyLauncher:
    """No-op launcher that verifies REPORT.md exists after the fact."""

    def run(self, analysis_dir: Path, **_: object) -> Path:
        report = analysis_dir / "REPORT.md"
        if not report.exists():
            raise LauncherNoOutputError(analysis_dir)
        logger.info("prepare-only launcher: REPORT.md already present at %s", report)
        return report

Functions