-
Notifications
You must be signed in to change notification settings - Fork 169
Conversation
The CI check complains that there is no license file. |
The task definitions are missing: Please have a look at Section Task Definitions |
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.
For task-definition files, I guess most of them would look like this (foo.yml
for foo.c
):
format_version: '1.0'
input_files: 'foo.c'
properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: ...
Leave out expected_verdict
if you don't know it.
You can also consider adding other properties like termination, no-overflows, etc. if you consider them interesting for your programs.
On Jun 7, 2019, at 2:02 AM, Philipp Wendler ***@***.***> wrote:
@PhilippWendler commented on this pull request.
For task-definition files, I guess most of them would look like this (foo.yml for foo.c):
format_version: '1.0'
input_files: 'foo.c'
properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: …
If the assertion is true then I should use expected_verdict: true, right ?
I believe I can prove most of these by hand, but I don’t think there are existing tools to automatically prove them yet. Should I still put in expected verdicts then ?
Also, should I add these programs to an existing or a new a new category (.set and .cfg files) ?
When I am done making and committing the changes, do I create a new pull request ?
Thanks,
…
Leave out expected_verdict if you don't know it.
You can also consider adding other properties like termination, no-overflows, etc. if you consider them interesting for your programs.
In c/nla-digbench/LICSENSE.txt:
> @@ -0,0 +1,202 @@
+
The license file could be replaced by a symlink to the Apache license in the root directory.
In c/nla-digbench/Makefile:
> @@ -0,0 +1,3 @@
+LEVEL := ../
+IGNORE_DIRS := ./cannotverify ./done
What is cannotverify and done?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi Dirk and Phillip,
I've fixed the License and Task definition issues. I've also added a
comment to the pull request for additional questions. Please take a
look when you have time.
Thanks !
On Fri, Jun 7, 2019 at 10:37 AM ThanhVu (Vu) Nguyen
<nguyenthanhvuh@gmail.com> wrote:
…
> On Jun 7, 2019, at 2:02 AM, Philipp Wendler ***@***.***> wrote:
>
> @PhilippWendler commented on this pull request.
>
> For task-definition files, I guess most of them would look like this (foo.yml for foo.c):
>
> format_version: '1.0'
> input_files: 'foo.c'
> properties:
> - property_file: ../properties/unreach-call.prp
> expected_verdict: …
If the assertion is true then I should use expected_verdict: true, right ?
I believe I can prove most of these by hand, but I don’t think there are existing tools to automatically prove them yet. Should I still put in expected verdicts then ?
When I am done making and committing the changes, do I create a new pull request ?
Thanks,
>
> Leave out expected_verdict if you don't know it.
> You can also consider adding other properties like termination, no-overflows, etc. if you consider them interesting for your programs.
>
> In c/nla-digbench/LICSENSE.txt:
>
> > @@ -0,0 +1,202 @@
> +
>
> The license file could be replaced by a symlink to the Apache license in the root directory.
>
> In c/nla-digbench/Makefile:
>
> > @@ -0,0 +1,3 @@
> +LEVEL := ../
> +IGNORE_DIRS := ./cannotverify ./done
>
> What is cannotverify and done?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub, or mute the thread.
>
|
I would say yes.
Usually it is better to use an existing category, if there is one that fits. I guess
No, please just update this pull request (as you have already done). |
Update branch with expected properties and add files to ReachSafety-Loops.set |
Looks like the latest update passes all the checks. Ready for review now. |
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.
Looks good.
I suggest to do a "Squash and Merge" because this PR contains a lot of individual commits.
There's a message above saying that I "dismissed PhilippWendler’s stale review via 2815e06 10 hours ago". Not sure what that means. I did make some small edits to the |
Hi, anything that might block this from being pulled ? |
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.
Squash merge suggested.
Hi, just want to check the status of this PR. |
The file |
Thanks Phillipp. 'knuth.c' requires the |
Just provide an extern declaration of the |
done, and push the changes to my github repo. can you reuse the old PR (which was already merged) or should I create a new PR?
… On Aug 21, 2019, at 10:42 AM, Philipp Wendler ***@***.***> wrote:
Just provide an extern declaration of the sqrt function as declared in the header. You could also preprocess the file (which leads to inlining the complete header), but in this case I guess adding the single declaration is easier.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
One cannot merge a PR twice, you need a new PR. |
There seem to be overflows in the tasks, e.g. |
@nguyenthanhvuh Could you please submit a new pull request?
|
I wonder if this should become a new sub category. |
@nguyenthanhvuh Could you please add to the README a small paragraph that briefly describes the kind of non-linearity? I.e., they invariants are polynomials. This would be good to know in order to understand that these tasks are very different from the other tasks with non-linear arithmetic. |
Hi, thanks. I will work on it this weekend.
|
(Just for the book-keeping: This PR addresses issue #796, which can now get closed.) |
@nguyenthanhvuh Could you please start a new pull request (or two of them), such that we can track the discussion there, instead of under this already closed PR? Yes, what you plan to write to the README sound nice! I can take care of the new sub-category later. |
done, create new PR here #815.
… On Sep 23, 2019, at 12:14 PM, Dirk Beyer ***@***.***> wrote:
@nguyenthanhvuh Could you please start a new pull request (or two of them), such that we can track the discussion there, instead of under this already closed PR?
Yes, what you plan to write to the README sound nice!
I can take care of the new sub-category later.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Corrected verdict of hard.c (from PR #808) and added its correct version
Corrected divbin verdict (from #808) and its correct version
Added programs with nonlinear polynomial invariants in
c/nla-digbench
.[x ] programs added to new and appropriately named directory
[x ] license present and acceptable (either in separate file or as comment at beginning of program)
[x ] contributed-by present (either in README file or as comment at beginning of program)
programs added to a
.set
file of an existing category, or new sub-category established (if justified)intended property matches the corresponding
.prp
fileexpected answer in file names according to convention
.cfg
file