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

[EASY] Don't report encoding errors for merged solutions #3084

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

MartinquaXD
Copy link
Contributor

Description

The majority of solutions that get discarded due to failing encoding/simulating/scoring are actually merged solutions. These solutions get merged by the driver and not by the solver. The driver does it naively so it's not really surprising that it tries to merge solutions which are incompatible (e.g. they could use the same liquidity source).

Changes

To avoid alerting on false positives the solver has no control over we now only report solutions that come directly from the solver in a non-working state (i.e. only 1 sub-solution contained).

@MartinquaXD MartinquaXD requested a review from a team as a code owner October 25, 2024 12:15
@MartinquaXD MartinquaXD changed the title Don't report encoding errors for merged solutions [EASY] Don't report encoding errors for merged solutions Oct 25, 2024
Copy link
Contributor

@squadgazzz squadgazzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@MartinquaXD MartinquaXD merged commit 2c92f95 into main Oct 25, 2024
10 of 11 checks passed
@MartinquaXD MartinquaXD deleted the dont-report-errors-coming-from-merged-solutions branch October 25, 2024 12:39
@github-actions github-actions bot locked and limited conversation to collaborators Oct 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants