FIRSTTeam102 / scoutradioz

Scoutradioz, a multi-team FRC scouting app developed by The Gearheads. Designed for and running on Amazon Web Services.
https://scoutradioz.com
Other
24 stars 10 forks source link

Match assignments: More robust re-generation #141

Closed JL102 closed 1 year ago

JL102 commented 1 year ago

Re-generates match scouting assignments schedule if:

  1. there is a length mismatch (i.e. # of matchscouting entries is not exactly 6x the # of qualifying matches)
  2. there is a mismatch in the time attribute between each matchscouting entry and the associated match
  3. there is a mismatch between a match's list of teams and any of its matchscouting entries

I'm not sure if matches' time attributes change often, and if they do, we may wish to have separate code that only updates the matchscouting entries' time attribute without touching anything else.