The calibration algorithm is documented in the CalibrationActivity file.
The style and versioning scheme follows the general Fairphone style.