PINK: E2E trace analysis — Pass 17 unsafe review/dead code/build/protocols (T1-T14)
Seventeenth pass: catch_unwind + AssertUnwindSafe partially mutated state no
rollback (T1 High), HazelcastRowWriter bare json.dumps loses Enum/datetime
format (T3 High), real_zinc_plane _slot_from_payload direct key access KeyError
(T4 High), _build_pink_bodies str.index("]") corrupts SCENARIOS list (T5 High),
VenueAdapter protocol missing connect/disconnect AttributeError (T6 High),
shared memory writes non-atomic visible-zero window (T7 High),
_slot_from_payload duplicated two files schema drift risk (T9 Medium),
_backup_20260530 is valid package accidental old-code import (T14 Medium).
319 total flaws across 17 passes.
Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
This commit is contained in:
@@ -82,6 +82,9 @@ class ExchangeEvent:
|
||||
funding_amount: float = 0.0 # positive = received, negative = paid
|
||||
funding_ts: int = 0
|
||||
|
||||
# --- Order type / maker-taker ---
|
||||
is_maker: bool = False # True when limit order rested and filled (maker)
|
||||
|
||||
# --- Source metadata ---
|
||||
source: str = "ws" # "ws" | "poll"
|
||||
raw: Dict = field(default_factory=dict) # original frame (debug only)
|
||||
|
||||
Reference in New Issue
Block a user