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

Fix flaky drying test #72650

Merged
merged 1 commit into from
Mar 27, 2024
Merged

Conversation

Venera3
Copy link
Member

@Venera3 Venera3 commented Mar 27, 2024

Summary

None

Purpose of change

Fix #72631

Describe the solution

Gave base_dry a slightly larger margin, uncouple the high/low rate target from the current base dry.

Describe alternatives you've considered

Move drying over to a less random system than roll the remainder of 0,004 every turn, but that's work.

Testing

Ran the test 500,000 times, passed.

Additional context

@github-actions github-actions bot added Code: Tests Measurement, self-control, statistics, balancing. [C++] Changes (can be) made in C++. Previously named `Code` <Bugfix> This is a fix for a bug (or closes open issue) astyled astyled PR, label is assigned by github actions json-styled JSON lint passed, label assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions labels Mar 27, 2024
@kevingranade kevingranade merged commit 95fd226 into CleverRaven:master Mar 27, 2024
26 of 27 checks passed
@kevingranade
Copy link
Member

BIG MARGINS until we get around to a better solution is fine.

@Venera3 Venera3 deleted the limb_dry_test branch March 28, 2024 04:20
@RenechCDDA
Copy link
Member

@Venera3 It looks like I caught another random failure even after this. Am I just the unlucky lottery winner?

https://github.com/CleverRaven/Cataclysm-DDA/actions/runs/8473598830/job/23218304344#step:17:83

@Venera3
Copy link
Member Author

Venera3 commented Mar 29, 2024

Imma just go with "seems so unless it happens twice".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Code: Tests Measurement, self-control, statistics, balancing. json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The new "drying_rate" test is flaky
3 participants