feat: trading-rl-2 Wave 3 (liquidation-cascade, reward-misspecification track) + README refresh#12
Conversation
LiquidationCascadeEnv runs a deterministic in-step margin_call -> forced_reduce -> cascade_impact chain on a maintenance-margin breach (impact on liquidated notional, so a thin equity sliver over a large position can be wiped); events feed the process-check/mandate machinery. terminated on wipe, truncated on survival.
…edge) Deliberately-flawed reward schemes (raw-PnL/win-rate/indicator-shaped/recency) + greedy proxy policies, with demonstrate_punishment showing the SharpeBench kernel refuses to reward them: raw_pnl_unpenalized posts the highest raw return yet deflated Sharpe 0.0 (scale-invariance + deflation floor it). Never touches the production reward registry or the rank key.
Add reward-scheme registry, the new env tasks (portfolio/execution/market-making + analytical optimum), scenario families (cointegrated/regime/curriculum/eval-seeds), rich causal obs augmentations, and the risk+eval axes; bump the version to v0.4.0.
|
Warning Review limit reached
More reviews will be available in 19 minutes and 5 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Final wave of the trading-rl-2 scan — the remaining medium-value items, plus the README brought current to v0.4.0.
Verification: maturin + pytest 331 passed, 2 skipped. 118 exports. Pure Python, no Rust touched.
This exhausts the high+medium-value extractable backlog from both repo collections (trading-rl + trading-rl-2, 73 repos + 2 PDFs).