oh-my-dear-ai commited on
Commit
1fb0d85
·
1 Parent(s): 4d85b4b

credits: add comment for rounding behavior in get_results function

Browse files

reference: https://docs.google.com/spreadsheets/d/1CWv0VmgfKKWWlqUty9hqGwWt86_G94x5K89DP4b4eRI

Files changed (1) hide show
  1. solver.py +3 -1
solver.py CHANGED
@@ -100,7 +100,9 @@ def get_results(
100
  DISHES_DF[currency]
101
  * (1 + dishes_prices_extra_rate)
102
  * (1 + talent_price_bonus / 100)
103
- ).astype(np.int16),
 
 
104
  ],
105
  dtype=np.int16,
106
  )
 
100
  DISHES_DF[currency]
101
  * (1 + dishes_prices_extra_rate)
102
  * (1 + talent_price_bonus / 100)
103
+ ).astype(
104
+ np.int16
105
+ ), # Licet(@discord)'s data shows that all values are rounded down: https://docs.google.com/spreadsheets/d/1CWv0VmgfKKWWlqUty9hqGwWt86_G94x5K89DP4b4eRI
106
  ],
107
  dtype=np.int16,
108
  )