(trajectory: List[Dict[str, Any]])
| 266 | |
| 267 | |
| 268 | def extract_errors(trajectory: List[Dict[str, Any]]) -> List[Dict[str, Any]]: |
| 269 | return [ |
| 270 | step for step in trajectory |
| 271 | if step.get("result", {}).get("status") == "error" |
| 272 | ] |
| 273 | |
| 274 | |
| 275 | def generate_summary_report(recording_dir: str, output_file: Optional[str] = None) -> str: |
no test coverage detected