Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
caisar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
caisar
Commits
05ce7976
Commit
05ce7976
authored
2 years ago
by
Michele Alberti
Browse files
Options
Downloads
Patches
Plain Diff
[SAVer] Harmonize output on SAVer's Unknown answer.
No "empty parenthesis" anymore.
parent
9a680abf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/verification.ml
+9
-3
9 additions, 3 deletions
src/verification.ml
tests/simple_ovo.t
+1
-1
1 addition, 1 deletion
tests/simple_ovo.t
with
10 additions
and
4 deletions
src/verification.ml
+
9
−
3
View file @
05ce7976
...
...
@@ -75,9 +75,15 @@ let answer_saver limit config env config_prover dataset_csv task =
|
Some
filename
->
filename
in
let
answer
=
SAVer
.
call
limit
config
env
config_prover
~
dataset
task
in
let
prover_answer
=
answer
.
prover_answer
in
let
additional_info
=
Fmt
.
str
"(%d/%d)"
answer
.
nb_proved
answer
.
nb_total
in
(
prover_answer
,
Some
additional_info
)
match
answer
.
prover_answer
with
|
Call_provers
.
Unknown
""
->
let
additional_info
=
Fmt
.
str
"%d/%d"
answer
.
nb_proved
answer
.
nb_total
in
(
Call_provers
.
Unknown
additional_info
,
None
)
|
Call_provers
.
Unknown
_
->
assert
false
(* By construction of SAVer's Unknown answer. *)
|
prover_answer
->
let
additional_info
=
Fmt
.
str
"(%d/%d)"
answer
.
nb_proved
answer
.
nb_total
in
(
prover_answer
,
Some
additional_info
)
let
answer_generic
limit
config
prover
config_prover
driver
task
=
let
task_prepared
=
Driver
.
prepare_task
driver
task
in
...
...
This diff is collapsed.
Click to expand it.
tests/simple_ovo.t
+
1
−
1
View file @
05ce7976
...
...
@@ -39,4 +39,4 @@ Test verify
>
EOF
[
caisar
]
Goal
G:
Valid
(
2
/
2
)
[
caisar
]
Goal
H:
Invalid
(
1
/
2
)
[
caisar
]
Goal
I:
Unknown
()
(
0
/
2
)
[
caisar
]
Goal
I:
Unknown
(
0
/
2
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment