Skip to content

Replace rule on positive score - #656

Open
fhenneke wants to merge 1 commit into
mainfrom
zero-surplus-solutions
Open

Replace rule on positive score#656
fhenneke wants to merge 1 commit into
mainfrom
zero-surplus-solutions

Conversation

@fhenneke

Copy link
Copy Markdown
Contributor

This PR aligns the documentation with the changes implemented in this PR in the autopilot.

Before, every solution with a score of zero was filtered out as invalid. This is problematic for som esolutions where tokens with few decimals are traded. Giving a small amount of surplus in such tokens might not be possible while executing at zero surplus can reasonably be regarded as better than not executing.

With combinatorial auctions and multiple winners, the old argument around a solution with zero score not beating the empty solution is also not valid anymore. The winner selection would pick both in such cases.

To avoid issues with solvers submitting actually emty solutions, we now require valid solutions to propose the execution of at least one order which can contribute to score. This currently includes orders from the orderbook and jit orders created by addresses on the list of surplus capturing jit order owners. It excludes (jit) liquidity orders.

and replace it by executing at lest one order eligible for surplus
@fhenneke
fhenneke requested a review from a team as a code owner August 19, 2026 09:28
@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview Aug 19, 2026 9:28am

Request Review

@coderabbitai

coderabbitai Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Important

  • 馃攳 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

鈿欙笍 Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 6c06d105-ef3d-438b-a54a-8b6c46ad62b7


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

鉂わ笍 Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant