Skip to content

latent.optimize.autoresearch.report

Completion report renderer for AutoResearch optimization runs.

Functions

render_completion_report

render_completion_report(result: OptimizationReport, brief: ResearchBrief | None = None, insights: list[str] | None = None) -> str

Render a markdown completion report for an AutoResearch optimization run.

Sections: - Executive Summary: best score, total/kept/discarded/failed counts, improvement delta - Trial Table: markdown table with iter, score, kept/discarded/failed, hypothesis snippet - What Worked: list of kept experiments with scores and descriptions - What Failed: patterns from discarded/failed experiments - Parked Ideas: from insights list (IDEA: lines extracted during optimization) - Configuration: brief objective, metric, constraints if brief provided