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
f4cf3e03
Commit
f4cf3e03
authored
2 years ago
by
Julien Girard-Satabin
Browse files
Options
Downloads
Patches
Plain Diff
[SAVer] Parameters of SAVer added in CAISAR command line.
parent
30ab376b
Branches
stable/copper
Branches containing commit
Tags
0.7
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/caisar-detection-data.conf
+1
-1
1 addition, 1 deletion
config/caisar-detection-data.conf
src/verification.ml
+4
-0
4 additions, 0 deletions
src/verification.ml
with
5 additions
and
1 deletion
config/caisar-detection-data.conf
+
1
−
1
View file @
f4cf3e03
...
@@ -36,6 +36,6 @@ exec = "saver"
...
@@ -36,6 +36,6 @@ exec = "saver"
version_switch
=
"--version 2>&1 | cat"
version_switch
=
"--version 2>&1 | cat"
version_regexp
=
"\\(v[0-9.]+\\)"
version_regexp
=
"\\(v[0-9.]+\\)"
version_ok
=
"v1.0"
version_ok
=
"v1.0"
command
=
"%e %{svm} %{dataset}
hybrid l_inf
%{epsilon}"
command
=
"%e %{svm} %{dataset}
%{abstraction} %{distance}
%{epsilon}"
driver
=
"caisar_drivers/saver.drv"
driver
=
"caisar_drivers/saver.drv"
use_at_auto_level
=
1
use_at_auto_level
=
1
This diff is collapsed.
Click to expand it.
src/verification.ml
+
4
−
0
View file @
f4cf3e03
...
@@ -48,6 +48,8 @@ let nnet_or_onnx = Re__Core.(compile (str "%{nnet-onnx}"))
...
@@ -48,6 +48,8 @@ let nnet_or_onnx = Re__Core.(compile (str "%{nnet-onnx}"))
let
svm
=
Re__Core
.(
compile
(
str
"%{svm}"
))
let
svm
=
Re__Core
.(
compile
(
str
"%{svm}"
))
let
dataset
=
Re__Core
.(
compile
(
str
"%{dataset}"
))
let
dataset
=
Re__Core
.(
compile
(
str
"%{dataset}"
))
let
epsilon
=
Re__Core
.(
compile
(
str
"%{epsilon}"
))
let
epsilon
=
Re__Core
.(
compile
(
str
"%{epsilon}"
))
let
abstraction
=
Re__Core
.(
compile
(
str
"%{abstraction}"
))
let
distance
=
Re__Core
.(
compile
(
str
"%{distance}"
))
let
combine_prover_answers
answers
=
let
combine_prover_answers
answers
=
List
.
fold_left
answers
~
init
:
Call_provers
.
Valid
~
f
:
(
fun
acc
r
->
List
.
fold_left
answers
~
init
:
Call_provers
.
Valid
~
f
:
(
fun
acc
r
->
...
@@ -99,6 +101,8 @@ let answer_saver limit config task env prover dataset_csv =
...
@@ -99,6 +101,8 @@ let answer_saver limit config task env prover dataset_csv =
let
command
=
Re__Core
.
replace_string
svm
~
by
:
svm_file
command
in
let
command
=
Re__Core
.
replace_string
svm
~
by
:
svm_file
command
in
let
command
=
Re__Core
.
replace_string
dataset
~
by
:
dataset_file
command
in
let
command
=
Re__Core
.
replace_string
dataset
~
by
:
dataset_file
command
in
let
command
=
Re__Core
.
replace_string
epsilon
~
by
:
eps
command
in
let
command
=
Re__Core
.
replace_string
epsilon
~
by
:
eps
command
in
let
command
=
Re__Core
.
replace_string
distance
~
by
:
"l_inf"
command
in
let
command
=
Re__Core
.
replace_string
abstraction
~
by
:
"hybrid"
command
in
command
command
in
in
let
command
=
Whyconf
.
get_complete_command
~
with_steps
:
false
prover
in
let
command
=
Whyconf
.
get_complete_command
~
with_steps
:
false
prover
in
...
...
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