Challenge: Batch Process Sensor Data
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 5
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 4.76
Challenge: Batch Process Sensor Data
Glissez pour afficher le menu
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 5
single