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
1d0efd99
Commit
1d0efd99
authored
1 year ago
by
Michele Alberti
Browse files
Options
Downloads
Patches
Plain Diff
[aimos] Do not log specification information for AIMOS.
parent
c9a7d99a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/aimos.ml
+0
-3
0 additions, 3 deletions
src/aimos.ml
tests/aimos.t
+0
-26
0 additions, 26 deletions
tests/aimos.t
with
0 additions
and
29 deletions
src/aimos.ml
+
0
−
3
View file @
1d0efd99
...
...
@@ -94,9 +94,6 @@ let build_command config_prover
amplitude
in
let
command
=
Whyconf
.
get_complete_command
~
with_steps
:
false
config_prover
in
Logs
.
info
(
fun
m
->
m
"@[Specification to verify:
\n
%s@]"
(
Stdio
.
In_channel
.
read_all
(
Unix
.
realpath
aimos_config
)));
Re__Core
.
replace_string
re_aimos_file
~
by
:
aimos_config
command
let
re_aimos_output
=
Re__Pcre
.
regexp
"((,
\\
s)(
\\
d+
\\
.
\\
d+))"
...
...
This diff is collapsed.
Click to expand it.
tests/aimos.t
+
0
−
26
View file @
1d0efd99
...
...
@@ -23,29 +23,3 @@ Test verify
>
end
>
EOF
[
caisar
]
Goal
G:
Valid
$
cat
>>
test
<<
EOF
>
theory
AIMOS_oracle
>
use
TestNetwork
.
AsArray
>
use
ieee_float
.
Float64
>
use
caisar
.
DatasetClassification
>
use
caisar
.
DatasetClassificationProps
>
>
goal
G:
meta_robust
model
dataset
(
1.0
:
t
)
("
reluplex_rotation
":
string
)
("
config/custom_transformations.py
":
string
)
("
classif_min
":
string
)
(
0
:
int
)
(
0
:
int
)
(
0
:
int
)
>
end
>
EOF
$
caisar
verify
-
L
.
--
format
whyml
--
prover
=
AIMOS
--
dataset
=
test_data
.
csv
--
verbosity
=
info
--
log
-
category
=
specification
test
2
>&
1
|
awk
'
{if ($1 =="models_path:") {n=split ($2,a,"/");print " "$1" "a[n-3]"/"a[n-2]"/"a[n-1]"/"a[n];} else print $0}
'
[
caisar
][
INFO
]
Specification
to
verify:
options:
plot:
false
inputs_path:
$TESTCASE_ROOT
/
test_data
.
csv
transformations:
-
name:
reluplex_rotation
custom_t_path:
config
/
custom_transformations
.
py
models:
-
defaults:
models_path:
_build
/default/
tests
/
TestNetwork
.
nnet
out_mode:
classif_min
[
caisar
][
INFO
]
Verification
results
for
theory
'
AIMOS_oracle
'
[
caisar
]
Goal
G:
Valid
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