measurement to sample assignment