Intent-Code Divergence
Medium
- Confidence
- 97% confidence
- Finding
- The script assigns the return values from read_dht11() as `h, t`, but the function actually returns `(temperature, humidity)`, causing the printed outputs to be reversed. This can mislead downstream automation or users into acting on incorrect environmental readings, which is a real integrity issue for monitoring or control workflows.
