Measurement adjustment program design (including source code annotation)