Challenge: Batch Process Sensor Data
Tarefa
Swipe to start coding
You are tasked with automating a common engineering workflow: calibrating and filtering sensor data. Given a list of sensor readings, you must apply a calibration formula and filter out readings below a threshold.
- For each value in
sensor_readings, apply the calibration formula: multiply the reading bycalibration_factorand add 2. - Include only calibrated readings that are greater than or equal to the
thresholdin the final result. - Return a list containing the calibrated and filtered readings.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 5
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Incrível!
Completion taxa melhorada para 4.76
Challenge: Batch Process Sensor Data
Deslize para mostrar o menu
Tarefa
Swipe to start coding
You are tasked with automating a common engineering workflow: calibrating and filtering sensor data. Given a list of sensor readings, you must apply a calibration formula and filter out readings below a threshold.
- For each value in
sensor_readings, apply the calibration formula: multiply the reading bycalibration_factorand add 2. - Include only calibrated readings that are greater than or equal to the
thresholdin the final result. - Return a list containing the calibrated and filtered readings.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 5
single