(user_id: str)
| 3163 | "reports": reports, |
| 3164 | "count": len(reports), |
| 3165 | "source_dirs": [_display_path(path) for path in _reading_report_dirs()], |
| 3166 | } |
| 3167 | |
| 3168 | |
| 3169 | def get_report_content(report_id: str) -> Dict[str, Any]: |
| 3170 | normalized_id = str(report_id or "").strip() |
| 3171 | if not normalized_id: |
| 3172 | raise ValueError("report_id is required") |
| 3173 | for report in _all_report_records(): |
| 3174 | if report["report_id"] != normalized_id: |
| 3175 | continue |
| 3176 | return { |
no test coverage detected