Will any bugs be discovered in the *third* version of my Time Weighted KBC market code by market close?
2
38
Ṁ1.9KṀ90
resolved Nov 1
Resolved
YES1D
1W
1M
ALL
Context: /DanMan314/time-weighted-keynesian-beauty-cont
I'm creating this market both to see if the code is good enough, and as an incentive to find bugs.
I will use my discretion on what counts as a bug, but generally it should be capable of impacting the final resolution of the market - I'm not interested in typos.
I won't bet on this market.
Third version of the code: https://pastebin.com/WFm4iN0V
Get Ṁ200 play money
🏅 Top traders
# | Name | Total profit |
---|---|---|
1 | Ṁ51 | |
2 | Ṁ8 |
Sort by:
bought Ṁ400 of YES
```
>>> final_answer = 0.43
>>> int(round(1 - (final_answer % 1), 2) * 100)
56
```
The floating point math here means that various possible values of final_answer
can cause the floor_res
and ceil_res
to be off by one. It's a bit contrived, but it's not that uncommon.