Spelling: slipability -> slippability
No functional change.
This commit is contained in:
@ -115,7 +115,7 @@ def __fightIncompatibles(incompatibles, structure, name,
|
|||||||
|
|
||||||
def __slippability(conceptMappings):
|
def __slippability(conceptMappings):
|
||||||
for mapping in conceptMappings:
|
for mapping in conceptMappings:
|
||||||
slippiness = mapping.slipability() / 100.0
|
slippiness = mapping.slippability() / 100.0
|
||||||
probabilityOfSlippage = formulas.temperatureAdjustedProbability(
|
probabilityOfSlippage = formulas.temperatureAdjustedProbability(
|
||||||
slippiness)
|
slippiness)
|
||||||
if formulas.coinFlip(probabilityOfSlippage):
|
if formulas.coinFlip(probabilityOfSlippage):
|
||||||
|
|||||||
@ -24,7 +24,7 @@ class ConceptMapping(object):
|
|||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.label and self.label.name or 'anonymous'
|
return self.label and self.label.name or 'anonymous'
|
||||||
|
|
||||||
def slipability(self):
|
def slippability(self):
|
||||||
association = self.__degreeOfAssociation()
|
association = self.__degreeOfAssociation()
|
||||||
if association == 100.0:
|
if association == 100.0:
|
||||||
return 100.0
|
return 100.0
|
||||||
|
|||||||
Reference in New Issue
Block a user