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

[LRW] Lorwyn booster collation #12934

Closed
wants to merge 3 commits into from
Closed

Conversation

tiera3
Copy link
Contributor

@tiera3 tiera3 commented Sep 29, 2024

Note - uncommons are separated into two runs, but card order within the runs is not known.
Uncommon distribution not specified, but assumed AAB ABB as per Onslaught.
(Also, if it had been AAA BBB then surely the lethe project would have had a much easier time determining the card order within the runs.)

@github-actions github-actions bot added the cards label Sep 29, 2024
@xenohedron xenohedron self-assigned this Sep 29, 2024
@xenohedron
Copy link
Contributor

Agree with the implementation of uncommon runs without order, and of the AAB/ABB interpretation.

Without collation, there is a color balancing algorithm that excludes packs with three uncommons of the same color (roughly 1/25 chance, slightly less due to colorless). The unordered collated runs do permit that to happen. I consider that acceptable.

There's an error in your code here that I'm surprised Travis didn't catch: private final RarityConfiguration landRuns = new RarityConfiguration(L1); will fail because L1 isn't defined. Maybe it gets compiled out since it wasn't used anyway, and SonarLint in my IDE is stricter. Since no lands, I just delete the line.

You also made a mistake with the commons- two copies of BBBBBBCCCCC config, without AAAAAACCCCC config. Easy fix.

These issues apply to SHM as well. I'll fix both and commit to master.

Lorwyn - boosters opened: 100000. Found cards: 1500000

C: 121 unique, min 8819, max 9306, total 1100000
U: 80 unique, min 3626, max 3874, total 300000
R: 80 unique, min 1170, max 1348, total 100000

@tiera3
Copy link
Contributor Author

tiera3 commented Sep 30, 2024

My apologies. I was very careful with files with complex distributions and then made a silly error with a simple distribution.

@tiera3 tiera3 deleted the lrw-collation branch September 30, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants