|
|
|
|
@ -282,7 +282,7 @@ class Calculator { |
|
|
|
|
val results = ComputedResults(computableGroup, options.shouldManageMultiGroupProgressValues) |
|
|
|
|
|
|
|
|
|
val computables = computableGroup.computables(realm, options.shouldSortValues) |
|
|
|
|
Timber.d("#### Start computing group, ${computables.size} computables") |
|
|
|
|
// Timber.d("#### Start computing group, ${computables.size} computables") |
|
|
|
|
results.addStat(NUMBER_OF_GAMES, computables.size.toDouble()) |
|
|
|
|
// computables.forEach { |
|
|
|
|
// Timber.d("$$$ buyin = ${it.ratedBuyin} $$$ net result = ${it.ratedNet}") |
|
|
|
|
@ -305,7 +305,7 @@ class Calculator { |
|
|
|
|
|
|
|
|
|
val totalBuyin = computables.sum(ComputableResult.Field.RATED_BUYIN.identifier).toDouble() |
|
|
|
|
results.addStat(TOTAL_BUYIN, totalBuyin) |
|
|
|
|
Timber.d("########## totalBuyin = ${totalBuyin} ### sum = ${sum}") |
|
|
|
|
// Timber.d("########## totalBuyin = ${totalBuyin} ### sum = ${sum}") |
|
|
|
|
|
|
|
|
|
val maxNetResult = computables.max(ComputableResult.Field.RATED_NET.identifier)?.toDouble() |
|
|
|
|
maxNetResult?.let { |
|
|
|
|
|