(report_id: str)
| 2944 | continue |
| 2945 | reports.append(_report_summary_payload(report)) |
| 2946 | if len(reports) >= max_items: |
| 2947 | break |
| 2948 | |
| 2949 | return { |
| 2950 | "reports": reports, |
| 2951 | "count": len(reports), |
| 2952 | "source_dirs": [_display_path(path) for path in _reading_report_dirs()], |
| 2953 | } |
| 2954 | |
| 2955 | |
| 2956 | def get_report_content(report_id: str) -> Dict[str, Any]: |
| 2957 | normalized_id = str(report_id or "").strip() |
| 2958 | if not normalized_id: |
| 2959 | raise ValueError("report_id is required") |
| 2960 | for report in _all_report_records(): |
| 2961 | if report["report_id"] != normalized_id: |
| 2962 | continue |
| 2963 | return { |
nothing calls this directly
no test coverage detected