I have been trying to find out how the Bosch antituning SW works, and the best guess I have is that it accumulates the number of pulses from the wheel sensor over a ride, and compares that with what it expects (within some broad limits) given the power output, motor RPM, cadence and input torque...