-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flux meter alerts occur too often #391
Comments
Thanks @Nancy-Salpepi. The behavior in the video looks correct to me. The incoming IR increased from "very low to low": The outgoing IR increased from "moderate" to "high". Similarly, the screenshot from the a11y view shows a change in the amount of outgoing sunlight and outgoing infrared. However, before opening this issue @Nancy-Salpepi shared a video with me on Slack where the flux meter was repeating the exact same value after changing the IR absorbance. FluxMeterAlerts.mp4Here are screenshots of the relevant alerts, occurring at 0:11, 0:19, and 0:27 I was able to reproduce this behavior in the a11y view when changing the IR absorbance of the layers, similar to the video above. |
haha....I was trying to find a simpler way to reproduce! I guess I should have stuck with my first video 😁. |
The description behavior for the flux meter was reviewed and approved back in #369 (comment), but I understand that things can look different when doing a fully systems test. The alerts with the same message occur because the code that decides whether to perform an alert (which currently resides in |
@arouinfar - I've added code to prevent redundant alerts from the flux meter. They can still occur often, but they shouldn't repeat themselves anymore. I tested it based on the scenario described above where the same alert occurred three times, and only saw that alert once. Can you please check the behavior on main and let me know if this behavior is what we're after? |
Thanks @jbphet, looks good! I'm unable to reproduce repeated alerts on main. |
I verified this behaves in dev.6 (interview version), so I think we can go ahead and close. |
Test device
MacBook Air M1 chip
Operating System
14.3.1
Browser
Safari 17.3.1
Problem description
For phetsims/qa#1043, VO continually gives alerts for flux meter. This happens after checking the flux meter checkbox and also after changing a value, such as the IR absorbance.
Steps to reproduce
Here is an example:
Visuals
FluxMeterAlerts.mp4
The text was updated successfully, but these errors were encountered: