MCPcopy Create free account
hub / github.com/Pints-AI/1.5-Pints / should_split

Method should_split

util/splitter.py:15–20  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13 self.ratio = ratio
14
15 def should_split(self):
16 self.denominator += 1
17 if self.numerator / self.denominator < self.ratio:
18 self.numerator += 1
19 return False
20 return True

Callers 1

_build_dataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected