Merge pull request #1525 from mishaker/edge_messages

Edge messages enriched
This commit is contained in:
Matthias 2019-01-30 11:41:32 +01:00 committed by GitHub
commit 2b71e8de5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 2 deletions

View File

@ -190,9 +190,16 @@ class Edge():
if self._final_pairs != final:
self._final_pairs = final
if self._final_pairs:
logger.info('Edge validated only %s', self._final_pairs)
logger.info(
'Minimum expectancy and minimum winrate are met only for %s,'
' so other pairs are filtered out.',
self._final_pairs
)
else:
logger.info('Edge removed all pairs as no pair with minimum expectancy was found !')
logger.info(
'Edge removed all pairs as no pair with minimum expectancy '
'and minimum winrate was found !'
)
return self._final_pairs