Weighing food: is the measurement before or after cooked?

Weighing food

Most the of the time a recipe has you weight food, it is based on the weight of raw foods.