Will any bugs be discovered in the *third* version of my Time Weighted KBC market code by market close?
2
Ṁ90Ṁ1.9kresolved Nov 1
Resolved
YES1H
6H
1D
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
This question is managed and resolved by Manifold.
Market context
Get
1,000 to start trading!
🏅 Top traders
| # | Trader | Total profit |
|---|---|---|
| 1 | Ṁ51 | |
| 2 | Ṁ8 |
Sort by:
```
>>> 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.