Repository navigation
fix(formats): read a real UIL Region meet correctly - #97
Merged
Merged
Conversation
A Texas tester's Region pack showed import and diving failing on real Meet Manager files. - EV3: read the round, so prelims stop importing as timed finals. - HYV: stop reading the board column as a dive count. - HY3: read stroke F as diving with scores as points, and keep one entry per swim when results repeat E1/F1 for each round. - CL2: read `1H` diving, stop treating ten-split lines as results, and stop names running into the member id. - Merge: match HY3 preferred names to CL2 legal names, so the pair imports 714 results, not 801. - Engine: import championship diving as one card, refuse finals from a diving event, match divers to events, and spread fields that fit the circle-seeded heats evenly (18 swim 6/6/6). - Admin: skip diving points on results import so they can't become a best time. Adds scrubbed UIL fixtures. Diving cuts between rounds are still to do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes importing and running a real Texas UIL Region meet. A tester sent the Meet Manager files for one, and replaying them showed event import and diving both failing.
Formats
1there as Meet Manager does.Fas diving with scores as points, and keeps one entry per swim when a results file repeats E1/F1 for each round.1Hdiving, treats ten-split lines as splits, and stops names at the end of the name column.Engine
Admin
Important
A diver cut mid-meet still can't be scored, because the event expects all 11 dives. Diving cuts and advancer files are on the roadmap. Diving semifinal scores import labeled as a swim-off.
Behavior changes to review
F;1. The round count (2 for prelim/final, 3 for diving) is inferred from one file.PR Type
🎟️ Related Tickets & Documents
None. The tester's account of the UIL postseason is summarized in the roadmap items this adds.
📸 Screenshots/Recordings
None. This changes parsing and meet logic, not the UI.
🛠️ Steps to QA
Then create a desktop meet from
packages/swim-formats/fixtures/uil-region-events.ev3and check that swims are prelims and diving has 11 dives. I haven't tried this in the running app, and the admin import action has no test of its own: only the skip rule does.The new
uil-region-*fixtures are events 9, 10, 15, and 17 of the real pack, with athletes, schools, ids, birth dates, and coaches replaced. Relay leg names don't match between the HY3 and CL2 fixtures.📜 Added to documentation?
The fixtures README and desktop roadmap are updated.
🤖 Generated with Claude Code