Calculate reject rate (item level).
(self)
| 34 | |
| 35 | @property |
| 36 | def reject_rate(self) -> float: |
| 37 | """Calculate reject rate (item level).""" |
| 38 | if self.input_count == 0: |
| 39 | return 0.0 |
| 40 | return self.rejected_count / self.input_count |
| 41 | |
| 42 | @property |
| 43 | def rewrite_rate(self) -> float: |
nothing calls this directly
no outgoing calls
no test coverage detected