INNER CODE UNIT · Python
generate_review_html
AgentSkillOS/SkillAnything · eval-viewer/generate_review.py:56
def generate_review_html(
workspace_dir: Path,
output_path: Path | None = None,
) -> str:
"""Generate a standalone HTML review page.
Args:
workspace_dir: Directory containing run results.
output_path: Optional path to write HTML file.
Returns:
The generated HTML string.
"""
runs = discover_runs(workspace_dir)
# Load feedback if exists
feedback_path = workspace_dir / "feedback.json"
existing_feedback = {}