mirror of
https://github.com/FAUSheppy/skillbird
synced 2025-12-06 06:51:34 +01:00
add action field to balance response
This commit is contained in:
@@ -41,6 +41,7 @@ def getOutcomePrediction():
|
||||
balanceSuggestion, qualityOfSuggestion = ts.balance(playersA+playersB)
|
||||
|
||||
retData = dict()
|
||||
retData.update( { "action" : "balance" } )
|
||||
retData.update( { "quality" : quality } )
|
||||
retData.update( { "prediction" : prediction } )
|
||||
retData.update( { "prediction-confidence" : confidence } )
|
||||
|
||||
Reference in New Issue
Block a user