The protocol runs four short phases — down and up at your normal pace, then down and up at a controlled faster pace. Declaring the direction before each phase is the whole point: it lets the report distinguish an event that disagreed with your intent from one that simply followed a change of mind mid-stroke. A phase that receives too few events to judge is marked inconclusive rather than scored.
Everything is measured from browser WheelEvent data: direction per event, the reported delta and its unit, and the interval between consecutive events. Nothing is converted into physical notches, because a browser genuinely cannot see them.