coding: measurement_generation