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 parsing of input and return empty solution #25

Merged
merged 3 commits into from
Sep 11, 2023

Conversation

harisang
Copy link
Contributor

This PR enables the parsing of instances and it also returns the empty solution.

Follow-up PR will add some very simple single-order solving.

@github-actions
Copy link

github-actions bot commented Sep 11, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@harisang
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Sep 11, 2023
@fhenneke fhenneke marked this pull request as ready for review September 11, 2023 15:07
"prices": {},
"approvals": [],
"interaction_data": [],
"score": "0",
Copy link
Contributor

Choose a reason for hiding this comment

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

Fine for the workshop. Later on it might be useful to have an example solution which follows the correct format

@@ -278,6 +278,7 @@ class AmmKindEnum(str, Enum):
CONSTANT_PRODUCT = "ConstantProduct"
WEIGHTED_PRODUCT = "WeightedProduct"
STABLE = "Stable"
CONCENTRATED = "Concentrated"
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it already parsed into something? If not, this should be added at some point, see #19

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Univ3 is not supported here, and I think it's a bit out of scope, at least for now.

@harisang harisang merged commit 815decb into main Sep 11, 2023
@harisang harisang deleted the fix_parsing_of_input_and_return_empty_solution branch September 11, 2023 15:22
@github-actions github-actions bot locked and limited conversation to collaborators Sep 11, 2023
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.

2 participants