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

Make the result posting process for delegates easier #7220

Open
timreyn opened this issue Sep 12, 2022 · 1 comment
Open

Make the result posting process for delegates easier #7220

timreyn opened this issue Sep 12, 2022 · 1 comment

Comments

@timreyn
Copy link
Contributor

timreyn commented Sep 12, 2022

(this is probably a large project!)

I mentioned this in thewca/wca-live#191 a few years ago; reposting as a separate issue.

While uploading results, you often have to go back to the beginning of the process repeatedly. For instance, if a new competitor has actually competed before, you have to:

  • assign the ID to their account (hopefully they don't already have an account with their ID)
  • re-sync to WCA live
  • re-export to scramble matcher
  • re-match scrambles (hopefully you didn't make too many manual changes that you have to redo)
  • download a new copy of the results json file
  • re-upload it results posting page

This also involves downloading a json file, which can get confusing since you'll have multiple copies floating around (one for each fix), plus JSON files extracted from the scramble zip.

This whole process could be redesigned to be a lot smoother. A much smoother flow would be:

  • Delegate syncs results from WCA Live -> WCA.
  • Delegate opens results posting page and uploads scramble zip file(s).
  • Delegate does scramble matching on the results posting page.
  • If any IDs need to be assigned, this shouldn't require syncing back through WCA Live.
  • If any results are changed, delegate should be able to sync straight from WCA Live to the WCA site, without needing to scramble match again.
  • If anything goes horribly wrong (wrong number of rounds, etc), Delegate can clear the results and start again.
@Jambrose777
Copy link
Member

I think this might be best to break out into different tasks to accomplish a similar improvement. Specifically what I have in mind is:

  • Remove Need to download a Finished Result JSON locally. Maybe something like the Scramble matcher still does all the relevant work and uploads the scrambles used to the WCFI, while the WCA website compiles a JSON using all info available on the WCFI.
    • I believe this would defacto allow modifications via WCA Live and Syncing (ie fixing a result, assigning ID) while still having the scrambles be uploaded. There is a caveat that doing so may result in a round being added without scrambles, but that could result in a validation error when on the WCA site and then the Delegate would need to redo the scramble assignments.
  • Have "saving" on the Scramble matcher. Ie if I leave scramble matcher with partial work or even a compiled JSON and come back to it, I would currently have to start over. It would be nice if progress was saved and would result in a cleaner workflow for fixes.
  • Allow validations to be ran (on persons) before the competition happens or during the competition without!
  • Changes to persons data don't require a sync on WCA Live (I don't actually know if that's feasible, just adding as Tim mentioned it as a point)

I believe that would cover everything that Tim brought up into more bite-sized tasks. Each step would also be a massive improvement for Delegates on their own too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants