Time-Series Validation: Preventing Leakage from Late Data and Future Labels
Build time-series validation around feature availability and label cutoffs. A reproducible Python experiment exposes leakage that chronological splits cannot catch.
Notes on life, design, and the digital world. Written with care, for the curious.
Build time-series validation around feature availability and label cutoffs. A reproducible Python experiment exposes leakage that chronological splits cannot catch.
Control Redis cache stampedes with a tested Python refresh lease, TTL jitter, and bounded stale-data policies. Includes a reproducible lab and 15 integration tests.
A tested Python model shows how to commit Kafka offsets safely when workers finish out of order, with offset gaps, bounded queues, and assignment changes.
Measure RAG evidence with Recall@k, MRR, and nDCG, using tested Python code to expose missing passages, ranking tradeoffs, and context-packing failures.
Build a bounded asyncio pipeline with Queue and TaskGroup. Test backpressure, memory limits, cancellation, and the gap between concurrency and admission.