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

Match control page shows wrong scores during match replay #803

Open
LazyKoala82 opened this issue Dec 9, 2024 · 0 comments
Open

Match control page shows wrong scores during match replay #803

LazyKoala82 opened this issue Dec 9, 2024 · 0 comments
Labels
bug Something isn't working Local

Comments

@LazyKoala82
Copy link

LazyKoala82 commented Dec 9, 2024

Describe the bug
During yesterday's qualifier, we had to rerun match Q-29. During that match, we saw the scores on the audience displays were very different than the ones on the match control page,

To Reproduce
I was unable to reproduce this on a new test event after the fact, but what we did was click "Replay", confirm it, and then started the match when it was time. Then went to Active Match tab.

Expected behavior
The old scoring data should be cleared out and no discrepancy should be shown between the Active Match tab and the field displays.

Screenshots
image

(edit: sorry, looks like Github downsized it a bit, the original resolution: https://photos.app.goo.gl/ESgNv75QmH6adRnKA)

Device (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome 131

Additional context
Here are the relevant log events for Q-29; it does appear the match control page was showing the old values as they match the score breakdown in the screenshot, but then the final calculated score shown is no longer this 66-69, and the large value at the top of the match control page was updating during this time, so it seems like some cached values were present:

14:35:44.455 [JettyServerThreadPool-875] [] DEBUG org.usfirst.ftc.server.Server - COMMITTING 29:{"autoSampleNet":0,"autoSampleLow":0,"autoSampleHigh":0,"autoSpecimenLow":0,"autoSpecimenHigh":1,"robot1Auto":0,"robot2Auto":0,"teleopSampleNet":0,"teleopSampleLow":1,"teleopSampleHigh":5,"teleopSpecimenLow":0,"teleopSpecimenHigh":1,"robot1Teleop":0,"robot2Teleop":3,"reqRefInteraction":false,"major":0,"minor":0,"adjust":0,"card1":0,"card2":0,"oldCard1":0,"oldCard2":0,"dq1":0,"dq2":0,"noshow1":0,"noshow2":0,"noshow3":0,"penaltyPoints":0,"scoredPoints":79,"autonomousPoints":10,"teleopPoints":69,"endGamePoints":0,"teleopToSubtractFromAuto":54,"teleopToSubtractFromInMatch":15}, {"autoSampleNet":0,"autoSampleLow":0,"autoSampleHigh":0,"autoSpecimenLow":0,"autoSpecimenHigh":1,"robot1Auto":0,"robot2Auto":0,"teleopSampleNet":0,"teleopSampleLow":0,"teleopSampleHigh":1,"teleopSpecimenLow":0,"teleopSpecimenHigh":3,"robot1Teleop":1,"robot2Teleop":3,"reqRefInteraction":false,"major":0,"minor":0,"adjust":0,"card1":0,"card2":0,"oldCard1":0,"oldCard2":0,"dq1":0,"dq2":0,"noshow1":0,"noshow2":0,"noshow3":0,"penaltyPoints":0,"scoredPoints":66,"autonomousPoints":10,"teleopPoints":56,"endGamePoints":0,"teleopToSubtractFromAuto":38,"teleopToSubtractFromInMatch":18}
14:35:44.470 [JettyServerThreadPool-875] [] INFO  org.usfirst.ftc.server.Server - Match Q-29 has been saved to the database and set to committed. Proceeding with rankings calc.
14:35:44.487 [JettyServerThreadPool-875] [] INFO  org.usfirst.ftc.server.Server - Match Q-29 rankings calc finished.
---
15:23:50.599 [JettyServerThreadPool-1046] [] DEBUG org.usfirst.ftc.server.Server - COMMITTING 29:{"autoSampleNet":0,"autoSampleLow":0,"autoSampleHigh":0,"autoSpecimenLow":0,"autoSpecimenHigh":1,"robot1Auto":1,"robot2Auto":0,"teleopSampleNet":0,"teleopSampleLow":0,"teleopSampleHigh":7,"teleopSpecimenLow":0,"teleopSpecimenHigh":1,"robot1Teleop":1,"robot2Teleop":3,"reqRefInteraction":false,"major":0,"minor":1,"adjust":0,"card1":0,"card2":0,"oldCard1":0,"oldCard2":0,"dq1":0,"dq2":0,"noshow1":0,"noshow2":0,"noshow3":0,"penaltyPoints":5,"scoredPoints":97,"autonomousPoints":13,"teleopPoints":84,"endGamePoints":0,"teleopToSubtractFromAuto":66,"teleopToSubtractFromInMatch":18}, {"autoSampleNet":0,"autoSampleLow":0,"autoSampleHigh":0,"autoSpecimenLow":0,"autoSpecimenHigh":2,"robot1Auto":0,"robot2Auto":0,"teleopSampleNet":0,"teleopSampleLow":0,"teleopSampleHigh":2,"teleopSpecimenLow":0,"teleopSpecimenHigh":1,"robot1Teleop":0,"robot2Teleop":2,"reqRefInteraction":false,"major":0,"minor":0,"adjust":0,"card1":0,"card2":0,"oldCard1":0,"oldCard2":0,"dq1":0,"dq2":0,"noshow1":0,"noshow2":0,"noshow3":0,"penaltyPoints":0,"scoredPoints":49,"autonomousPoints":20,"teleopPoints":29,"endGamePoints":0,"teleopToSubtractFromAuto":26,"teleopToSubtractFromInMatch":3}
15:23:50.612 [JettyServerThreadPool-1046] [] INFO  org.usfirst.ftc.server.Server - Match Q-29 has been saved to the database and set to committed. Proceeding with rankings calc.
15:23:50.629 [JettyServerThreadPool-1046] [] INFO  org.usfirst.ftc.server.Server - Match Q-29 rankings calc finished.
@LazyKoala82 LazyKoala82 added bug Something isn't working Local labels Dec 9, 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

1 participant