Calibration framework