Skip to content

Feature request: batched mutations #129

Description

@timreyn

Sometimes the WCA site has trouble with large mutations, such as posting a large batch of group / staff assignments at once. I expect this to be a problem for pushing WC2025 groups.

Instead of directly mutating the competition WCIF in functions, and then pushing the whole mutated WCIF at once, create Mutation objects that can be run a few at a time. If the WCA site returns an error, pause and retry with a smaller batch; if it succeeds, try a slightly bigger batch next time.

e.g. one Mutation might be "assign 2005REYN01 to 3x3 round 1 group B6". We might have 2000 of these mutations in the assign_333_r1.cs script. We might have more luck pushing them 100 - 200 at a time, rather than trying all at once.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions