phenotypic.analysis.render_error_analysis_report#
- phenotypic.analysis.render_error_analysis_report(results_by_category: dict[str, TypeAliasForwardRef('pandas.DataFrame')]) str[source]#
Render one self-contained HTML report with a section per category.
Used by headless CLI finalize, which writes a single
deliverables/error_analysis.htmlcovering every labeled category (the GUI’srender_error_analysis_html()is single-category and transient). Sections are ordered by category token for a stable artifact.- Parameters:
results_by_category (dict[str, TypeAliasForwardRef('pandas.DataFrame')]) – Mapping
category token -> ErrorCutoffFinder result frame(category-freeRESULT_COLUMNS). An empty mapping yields a valid “no error categories” document.- Returns:
A full
<html>document; a “no error categories” body when empty. Pure string build; no Plotly/Dash import.- Return type: