Quality control in the roasting process involves measuring the right parameters such as time, temperature, mass, humidity, etc. for each roast batch. This helps to ensure that all batches have similar results. In addition, careful monitoring and adjusting of the roasting environment are important to ensuring consistency across batches.