Challenge: Batch Process Sensor Data
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.
Oplossing
Bedankt voor je feedback!
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Can you explain this in simpler terms?
What are some examples related to this topic?
Where can I learn more about this?
Geweldig!
Completion tarief verbeterd naar 4.76
Challenge: Batch Process Sensor Data
Veeg om het menu te tonen
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.
Oplossing
Bedankt voor je feedback!
single