mirabilis-agent/lip-ledger ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Python tool for Kalshi’s Liquidity Incentive Program that is read only and does not place orders. I want it to use the public endpoints, calculate the LIP payout rules as exactly as possible, and give me a simple command line interface for checking a market, scoring a hypothetical order, and sampling public order books over time.
It should also include a way to analyze saved snapshots so I can estimate the counted fraction and expected payout of a trade idea. If you can, add the Weather Index helper too, since that looks tied to the hourly temperature markets. Keep it dependency free if possible, make it work on Python 3.9 or newer, and include tests plus a few examples so I can verify the model against the README cases. Look up current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit