HF RL Explorer

C4 Congestion Control: Fix Unit Conversion Bugs and Improve Test Coverage

C4 Congestion Control: Fix Unit Conversion Bugs and Improve Test Coverage: a task in LegoFlow-SWE (Harbor dataset). The C4 congestion control implementation contains a persistent unit‑conversion bug. Numerous spots combine timestamps (microseconds), bandwidth (bytes per second), and data sizes…

The task

The C4 congestion control implementation contains a persistent unit‑conversion bug. Numerous spots combine timestamps (microseconds), bandwidth (bytes per second), and data sizes (bytes) using raw arithmetic like `(bw * rtt) / 1000000`. These ad‑hoc conversions are error‑prone and have already caused incorrect…

Part of Lego-X/LegoFlow-SWE.