MCPcopy Create free account
hub / github.com/openai/plugins / _confidence_mix

Function _confidence_mix

plugins/codex-security/scripts/report_projection.py:202–209  ·  view source on GitHub ↗
(findings: list[dict[str, Any]])

Source from the content-addressed store, hash-verified

200
201
202def _confidence_mix(findings: list[dict[str, Any]]) -> str:
203 counts = Counter(finding["confidence"]["level"] for finding in findings)
204 return (
205 ", ".join(
206 f"{level}: {counts[level]}" for level in ("high", "medium", "low") if counts[level]
207 )
208 or "none"
209 )
210
211
212def _locations(finding: dict[str, Any]) -> str:

Callers 1

build_report_markdownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected