(findings: list[dict[str, Any]])
| 192 | |
| 193 | |
| 194 | def _severity_mix(findings: list[dict[str, Any]]) -> str: |
| 195 | counts = Counter(finding["severity"]["level"] for finding in findings) |
| 196 | return ( |
| 197 | ", ".join(f"{level}: {counts[level]}" for level in SEVERITY_ORDER if counts[level]) |
| 198 | or "none" |
| 199 | ) |
| 200 | |
| 201 | |
| 202 | def _confidence_mix(findings: list[dict[str, Any]]) -> str: |
no outgoing calls
no test coverage detected