Inverse cube law (deflection method)

Attempt to measure the change in force of a magnet over a distance using the deflection of a compass. What is wrong with this approach?

License: CC BY-NC-SA by Khan Academy