MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / reject_rate

Method reject_rate

datastudio/utils/statistics.py:36–40  ·  view source on GitHub ↗

Calculate reject rate (item level).

(self)

Source from the content-addressed store, hash-verified

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:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected