If a sensor on an assembly line starts reporting noisy or intermittent data, how would you handle this programmatically to prevent system failure?