MCPcopy Create free account
hub / github.com/CheckPointSW/Karta / active

Method active

src/function_context.py:823–830  ·  view source on GitHub ↗

Check if the given function is still in the matching game. Return Value: True iff the function is valid and wasn't matched yet

(self)

Source from the content-addressed store, hash-verified

821
822 # Overridden base function
823 def active(self):
824 """Check if the given function is still in the matching game.
825
826 Return Value:
827 True iff the function is valid and wasn't matched yet
828 """
829 # special case for collisions
830 return self.valid() and (self.mergePotential() or not self.matched())
831
832 # Overridden base function
833 def selfCheck(self):

Callers 1

isValidCandidateMethod · 0.45

Calls 3

validMethod · 0.95
mergePotentialMethod · 0.95
matchedMethod · 0.45

Tested by

no test coverage detected