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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dkasak
Copy link

@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.

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
1 participant