94078ee8fea9f93d57aed238fc350f1c87b229e2
Eighteenth pass: R2 compares cumulative vs last-fill realized PnL broken after 2nd fill (U3 Critical), R4 compares open_notional vs used_margin fundamentally different quantities (U4 Critical), on_venue_event/apply_fill no NaN guards price/size propagates NaN (U6 Critical), order_type/limit_price sent to Rust no fields silently dropped (U1 High), VenueEventStatus expects "CANCEL_REJECTED" typo fails deserialization (U2 High), R3 skipped when len(e.positions)==0 silent false negative (U5 High), zero Rust tests for ORDER_REJECT/PARTIAL_FILL/TERMINAL_STATE guard (U7 High), safe_float returns NaN/Inf contradicts _safe (U8 Medium), _scan_slots uses metadata leverage not slot.leverage (U9 Medium). 333 total flaws across 18 passes. Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
Description
No description provided
Languages
Python
100%