-
Notifications
You must be signed in to change notification settings - Fork 31
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
CN: Check countermodels #829
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good - couple of things, but happy to ship and address in a follow-up as well if pragmatic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoever squashes and merges this in, please make sure the commit message contains the top comment on this PR.
It looks like it's now just the formatting that's failing. When that's fixed, and if you're happy, we can go ahead and merge. Probably we'll have to do the squash-and-merge option. |
This reverts commit 5277e69.
Sorry, I should have left a comment - I was just debugging, one of the last set of changes seems to have introduced a bug. (The bug just seems to cause |
Ah, sorry, I had assumed this was finished. In that case, best to make a small new PR with a fix (rather than |
I would very much like to improve our commit standards and cooperation on this would be much appreciated. If you have not reviewed this in a while, please take a moment to remind yourself of this. If you disagree, please open a separate issue and explain what and why. I have struggled with the uninformative messages and non-atomic commits often enough in this repo to have wasted a lot time and effort. On the other hand, when the commits are small and the messages accurate, though this meant a little bit of extra work for the original author, this helped tremendously with understanding, debugging, maintaining, updating, refactoring, catching regressions, and adding new features. Having tests and reasonable commits, including on development branches helps avoid regressions and bugs. |
When the solver returns a countermodel, checks resources not given to the solver to see if their outputs in the countermodel could actually have come from those resources. (Undecidable in general, so this can return "unknown".)