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 running the evaluator from the CLI #308

Merged
merged 3 commits into from
Feb 13, 2025

Conversation

dkasak
Copy link
Contributor

@dkasak dkasak commented Jan 14, 2025

It seems the idea here was to populate an answers map with satisfiable solutions, then pass that map to the evaluator method. However, the answers map is never added to, so the check before calling the evaluator always fails.

This PR changes things around a bit so that we just pass the latest solution in to evaluator directly, which makes the evaluator run successfully. Not sure whether this matches with @pkriens' intention (probably not) but it worked for me, so I figured I'd put up a PR in case it's useful.

Fixes #307.

@grayswandyr grayswandyr requested a review from pkriens February 13, 2025 10:12
@pkriens pkriens merged commit 768f015 into AlloyTools:master Feb 13, 2025
1 check passed
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.

alloy exec -e doesn't seem to do anything
2 participants