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

updated the description of AdvancementCondition[percent] #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SonjaBlack
Copy link

@SonjaBlack SonjaBlack commented Mar 9, 2023

I noticed that the allowed range for the "percent" subkey of AdvancementCondition (an Integer between 0 and 100 inclusive) was inconsistent with regulation 9p1, "At least 25% of competitors must be eliminated between consecutive rounds of the same event." The range should be 0 to 75, inclusive.

This pull request implements that and makes other clarifying edits to the description of the "percent" subkey.

Background: This is Jason Black, 2019BLAC02. I have been working with Cailyn Hoover to get more involved with tools for comp organizers, and she suggested a good place to start would be by improving the WCIF docs. This pull request is just to say hello and dip my toe in those waters before engaging in any substantive edits.

@jonatanklosko
Copy link
Member

Hey @p2peditor! I'm not sure if WCIF spec itself needs to be restricted to mirror regulations. The issue with doing so is that:

  1. if regulation change, it's more likely the spec gets outdated
  2. WCIF for old competitions may no longer be valid, it's better if people writing tools make less assumptions about the data and handle possible cases

If anyone else has a strong opinion, shoot :)

@gregorbg
Copy link
Member

I agree with Jonatan in principle. This is about data, not about Regulations. The data allows any percentage to proceed, no matter if the regulations currently allow that percentage or not. The value can and should be defined as "0 to 1" and then other tools can handle their own exceptions if an "illegal" value (as per the Regulations) is used.

@SonjaBlack
Copy link
Author

SonjaBlack commented Mar 14, 2023 via email

@gregorbg
Copy link
Member

Sounds absolutely cool and well-considered, but please note that the general state of things in the WCA Software stack is currently not at the stage yet where we can regularly consider stuff like Software Development Principles and such.

@jonatanklosko
Copy link
Member

Sounds good, though perhaps instead of noting that in this specific place, we can have a more general note at the top/bottom that clarifies that WCIF focuses on the data format, while it is up to the consumer to ensure validity and expected behaviour to match the current regulations.

@SonjaBlack
Copy link
Author

SonjaBlack commented Mar 16, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants