Skip to content
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

Live Score Disable Results in Unclear Referee Behavior #686

Open
jvens opened this issue Jan 3, 2024 · 2 comments
Open

Live Score Disable Results in Unclear Referee Behavior #686

jvens opened this issue Jan 3, 2024 · 2 comments
Labels
bug Something isn't working Local

Comments

@jvens
Copy link

jvens commented Jan 3, 2024

Describe the bug
I received a report of two bugs from a recent event that I was asked to post here. I don't know if they are related or not so I am creating as a single bug report. If these should be split into two reports I am happy to do that.

  1. Starting at about match number 8 every time the final buzzer went off the scorekeeper tablet would automatically submit the score before the score trackers had finished entering data. We had to edit each match to get the correct final score. It happened with both tablets each time until the last 3 matches.

  2. We had problems with the displays. About match 12, both the audience and field displays would only display the large timer with the teams on each side. There was no score of the different graphics for scoring elements. We were finally able to get the audience display back, but we could not get the regular field display to come back.

Note, it sounds like the router was restarted around match 12. FTC Live was never restarted.

To Reproduce
N/A

Expected behavior
N/A

Screenshots
N/A

Device (please complete the following information):

  • Unknown

Additional context
Event was USIAGOM9 and was run on December 30th.

I have requested the log files from the score computer and will upload them to this issue as soon as I receive them.

@jvens jvens added bug Something isn't working Local labels Jan 3, 2024
@jvens
Copy link
Author

jvens commented Jan 4, 2024

Here is the log file from the event. There is definitely a lot of Java Exceptions going on in there.
2023_12_29_09_24_43_PM.log

I was also sent this one which appears to be from the day before the event when it was imported into the system I think:
2023_12_28_07_42_21_PM.log

@adwiii
Copy link

adwiii commented Jan 4, 2024

Looking at the logs, it appears that the control page settings were changed at 9:44 (between Q5 and Q6) to uncheck the live scoring checkbox. Admittedly, the system does not handle this the most intuitive way, but if live scoring is turned off, the control page bypasses waiting for scores at the end of the match since the settings tell it that there won't be live scores to wait for. Later on, at 11:19 (between Q13 and Q14), the control page settings were changed again to re-check the live scoring checkbox, hence things returning to normal for the refs for the remainder of the event (Q14-Q17).

Two unintuitive things that lead to the checkbox being the culprit being non-obvious:

  1. If a display is newly opened after live-scoring is unchecked, then it will show the large timer only since it expects there will be no scores to show. However, if the checkbox is toggled while the display is already open, it does not receive an update telling it that live scoring has been turned off, so it continues behaving as it was before; the same also happens in reverse, i.e. if live scoring is toggled on. This explains the second issue - the displays were opened before Q1 and then refreshed between Q10 and Q11. Thus, from Q1-Q10, the displays thought live scoring was enabled, but starting at Q11, they thought live scoring was disabled and stopped showing scores.
  2. If live scoring is disabled, the system still shows all ref pages as normal and allows the refs to enter scores. If there are displays still open with live scoring enabled, i.e. they were opened before live scoring was disabled, then the displays will also continue to show the scoring information live from the referees.

We will look into making the handling of checking/unchecking the live scoring checkbox more robust in the future, though it may not be addressed immediately. I will leave the issue open until we have made these changes.

@tvbarnette999 tvbarnette999 changed the title Tablet automatically submitted scores Live Score Disable Results in Unclear Referee Behavior Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Local
Projects
None yet
Development

No branches or pull requests

2 participants