MCPcopy Create free account
hub / github.com/PostHog/duckgres / coverage_risk

Method coverage_risk

scripts/test_impact_plan.py:79–84  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

77
78 @property
79 def coverage_risk(self) -> str:
80 if any(w.severity == "likely_reduced" for w in self.warnings):
81 return "likely reduced"
82 if self.warnings:
83 return "needs review"
84 return "neutral or increased"
85
86
87def is_test_file(path: str) -> bool:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected