Just noticed Krita fixed the bug where zoomLevel and setZoomLevel in scripting worked in different units \o/
(Naturally, this made my existing script misbehave and confused me until I realised why, but it was an easy fix, just needed to remove the workaround I had in there for this issue.)