Skip to content
Palash Lalwani
WorkWritingContact

Writing

Writing

August 2026

The Tests Were Green and the Job Was Gone

A live derivatives platform stopped force-closing intraday positions for seven weeks and nothing anywhere failed. The unit tests passed, the config was populated, the docstring still described the feature. A case study in the bugs that only live behind a green suite.

August 2026

The Headline Win Rate Is Not the Result: Decomposing P&L

A trading bot went live at 75.3% win rate, almost exactly matching its backtest. That should have been the end of the story. Decomposing the aggregate found two things hiding underneath it: a subsystem quietly losing money, and an edge that was decaying day over day.

August 2026

The 99% Trap: A Field Guide to Label Leakage

A 4-class risk model hit 99.4–99.9% accuracy. That number was the bug, not the result. A mechanistic breakdown of label leakage, the sneaky constructive kind, plus the honest 70.5% model underneath it.

© 2026 Palash Lalwaniplshlalwani@gmail.comLaw and research site · GitHub · LinkedIn