def _parse_summary_section()

in src/epam/auto_llm_eval/evaluation_report.py [0:0]


    def _parse_summary_section(self, summary: str) -> None:
        """Parse the summary section of the report."""
        for line in summary.strip().split('\n'):
            line = line.strip()
            if line.startswith(self.SUMMARY_MARKERS["total"]):
                self.total_steps = int(line.split(': ')[1])
            elif line.startswith(self.SUMMARY_MARKERS["passed"]):
                self.passed_steps = int(line.split(': ')[1])
            elif line.startswith(self.SUMMARY_MARKERS["failed"]):
                self.failed_steps = int(line.split(': ')[1])