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
339daf42
Commit
339daf42
authored
1 year ago
by
Julien Girard-Satabin
Committed by
Michele Alberti
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
[tests] Added test oracles to interpretation unit tests.
parent
3c5d779b
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
tests/interpretation_acasxu.t
+38
-1
38 additions, 1 deletion
tests/interpretation_acasxu.t
tests/interpretation_dataset.t
+94
-1
94 additions, 1 deletion
tests/interpretation_dataset.t
with
132 additions
and
2 deletions
tests/interpretation_acasxu.t
+
38
−
1
View file @
339daf42
...
...
@@ -7,7 +7,7 @@ Test interpret on acasxu
$
PATH
=
$
(
pwd
)
/
bin:$PATH
$
caisar
verify
-
L
.
--
format
whyml
--
prover
PyRAT
-
2
>&
1
<<
EOF
|
./
filter_tmpdir
.
sh
$
caisar
verify
-
L
.
--
format
whyml
--
prover
PyRAT
--
verbosity
=
info
-
2
>&
1
<<
EOF
|
./
filter_tmpdir
.
sh
>
theory
T
>
use
ieee_float
.
Float64
>
use
bool
.
Bool
...
...
@@ -95,5 +95,42 @@ Test interpret on acasxu
>
not
(
advises
nn
i
clear_of_conflict
)
>
end
>
EOF
[
caisar
][
INFO
]
Specification
to
verify:
-
0.328421367053318091766556108268559910356998443603515625
<=
x0
x0
<=
0.67985927880386987087746319957659579813480377197265625
-
0.499999999999967081887319864108576439321041107177734375
<=
x1
x1
<=
0.499999999999967081887319864108576439321041107177734375
-
0.499999999999967081887319864108576439321041107177734375
<=
x2
x2
<=
0.499999999999967081887319864108576439321041107177734375
-
0.5
<=
x3
x3
<=
0.5
-
0.5
<=
x4
x4
<=
0.5
0.60000151009774149724051994780893437564373016357421875
<=
x0
0.450000000000000011102230246251565404236316680908203125
<=
x3
x4
<=
-
0.450000000000000011102230246251565404236316680908203125
y0
<=
3.991125645861615112153231166303157806396484375
[
caisar
][
INFO
]
Specification
to
verify:
-
0.328421367053318091766556108268559910356998443603515625
<=
x0
x0
<=
0.67985927880386987087746319957659579813480377197265625
-
0.499999999999967081887319864108576439321041107177734375
<=
x1
x1
<=
0.499999999999967081887319864108576439321041107177734375
-
0.499999999999967081887319864108576439321041107177734375
<=
x2
x2
<=
0.499999999999967081887319864108576439321041107177734375
-
0.5
<=
x3
x3
<=
0.5
-
0.5
<=
x4
x4
<=
0.5
-
0.303529646039727207806890874053351581096649169921875
<=
x0
x0
<=
-
0.298551301837009008810497334707179106771945953369140625
-
0.0095492965855130916563719978285007528029382228851318359375
<=
x1
x1
<=
0.0095492965855130916563719978285007528029382228851318359375
0.493380323584843072382000173092819750308990478515625
<=
x2
0.299999999999999988897769753748434595763683319091796875
<=
x3
0.299999999999999988897769753748434595763683319091796875
<=
x4
(((
y0
>=
y1
or
y0
>=
y2
)
or
y0
>=
y3
)
or
y0
>=
y4
)
[
caisar
][
INFO
]
Verification
results
for
theory
'
T
'
[
caisar
]
Goal
P1:
Unknown
()
[
caisar
]
Goal
P3:
Unknown
()
This diff is collapsed.
Click to expand it.
tests/interpretation_dataset.t
+
94
−
1
View file @
339daf42
...
...
@@ -11,7 +11,7 @@ Test interpret on dataset
$
PATH
=
$
(
pwd
)
/
bin:$PATH
$
caisar
verify
-
L
.
--
format
whyml
--
prover
Marabou
-
2
>&
1
<<
EOF
|
./
filter_tmpdir
.
sh
$
caisar
verify
-
L
.
--
format
whyml
--
prover
Marabou
--
verbosity
=
info
-
2
>&
1
<<
EOF
|
./
filter_tmpdir
.
sh
>
theory
T
>
use
ieee_float
.
Float64
>
use
bool
.
Bool
...
...
@@ -53,4 +53,97 @@ Test interpret on dataset
>
robust
nn
dataset
eps
>
end
>
EOF
[
caisar
][
INFO
]
Specification
to
verify:
x0
>=
0.0
x0
<=
1.0
x1
>=
0.0
x1
<=
1.0
x2
>=
0.0
x2
<=
1.0
x3
>=
0.0
x3
<=
1.0
x4
>=
0.0
x4
<=
1.0
x0
>=
-
0.375
x0
<=
0.375
x1
>=
0.625
x1
<=
1.375
x2
>=
0.40931372499999996161790249971090815961360931396484375
x2
<=
1.159313725000000072640204962226562201976776123046875
x3
>=
-
0.355392156999999986322080758327501825988292694091796875
x3
<=
0.394607843000000013677919241672498174011707305908203125
x4
>=
0.401470588000000017103729987866245210170745849609375
x4
<=
1.151470588000000017103729987866245210170745849609375
+
y0
-
y1
>=
0
[
caisar
][
INFO
]
Specification
to
verify:
x0
>=
0.0
x0
<=
1.0
x1
>=
0.0
x1
<=
1.0
x2
>=
0.0
x2
<=
1.0
x3
>=
0.0
x3
<=
1.0
x4
>=
0.0
x4
<=
1.0
x0
>=
-
0.375
x0
<=
0.375
x1
>=
0.625
x1
<=
1.375
x2
>=
0.40931372499999996161790249971090815961360931396484375
x2
<=
1.159313725000000072640204962226562201976776123046875
x3
>=
-
0.355392156999999986322080758327501825988292694091796875
x3
<=
0.394607843000000013677919241672498174011707305908203125
x4
>=
0.401470588000000017103729987866245210170745849609375
x4
<=
1.151470588000000017103729987866245210170745849609375
+
y2
-
y1
>=
0
[
caisar
][
INFO
]
Specification
to
verify:
x0
>=
0.0
x0
<=
1.0
x1
>=
0.0
x1
<=
1.0
x2
>=
0.0
x2
<=
1.0
x3
>=
0.0
x3
<=
1.0
x4
>=
0.0
x4
<=
1.0
x0
>=
0.625
x0
<=
1.375
x1
>=
-
0.375
x1
<=
0.375
x2
>=
-
0.355392156999999986322080758327501825988292694091796875
x2
<=
0.394607843000000013677919241672498174011707305908203125
x3
>=
0.401470588000000017103729987866245210170745849609375
x3
<=
1.151470588000000017103729987866245210170745849609375
x4
>=
0.40931372499999996161790249971090815961360931396484375
x4
<=
1.159313725000000072640204962226562201976776123046875
+
y1
-
y0
>=
0
[
caisar
][
INFO
]
Specification
to
verify:
x0
>=
0.0
x0
<=
1.0
x1
>=
0.0
x1
<=
1.0
x2
>=
0.0
x2
<=
1.0
x3
>=
0.0
x3
<=
1.0
x4
>=
0.0
x4
<=
1.0
x0
>=
0.625
x0
<=
1.375
x1
>=
-
0.375
x1
<=
0.375
x2
>=
-
0.355392156999999986322080758327501825988292694091796875
x2
<=
0.394607843000000013677919241672498174011707305908203125
x3
>=
0.401470588000000017103729987866245210170745849609375
x3
<=
1.151470588000000017103729987866245210170745849609375
x4
>=
0.40931372499999996161790249971090815961360931396484375
x4
<=
1.159313725000000072640204962226562201976776123046875
+
y2
-
y0
>=
0
[
caisar
][
INFO
]
Verification
results
for
theory
'
T
'
[
caisar
]
Goal
G:
Unknown
()
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