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
f33c170c
Commit
f33c170c
authored
2 years ago
by
Julien Girard-Satabin
Browse files
Options
Downloads
Patches
Plain Diff
[SAVer] Option on dataset csv.
parent
8276b98c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/verification.ml
+2
-3
2 additions, 3 deletions
src/verification.ml
with
2 additions
and
3 deletions
src/verification.ml
+
2
−
3
View file @
f33c170c
...
@@ -61,8 +61,8 @@ let answer_saver limit config task env prover dataset_csv =
...
@@ -61,8 +61,8 @@ let answer_saver limit config task env prover dataset_csv =
let
handle_task_saver
task
env
dataset_csv
command
=
let
handle_task_saver
task
env
dataset_csv
command
=
let
dataset_filename
=
let
dataset_filename
=
match
dataset_csv
with
match
dataset_csv
with
|
""
->
failwith
"Error, no dataset provided for SAVer."
|
None
->
failwith
"Error, no dataset provided for SAVer."
|
s
->
s
|
Some
s
->
s
in
in
let
goal
=
Task
.
task_goal_fmla
task
in
let
goal
=
Task
.
task_goal_fmla
task
in
let
eps
,
svm_filename
=
let
eps
,
svm_filename
=
...
@@ -190,7 +190,6 @@ let verify ?(debug = false) format loadpath ?memlimit ?timeout prover
...
@@ -190,7 +190,6 @@ let verify ?(debug = false) format loadpath ?memlimit ?timeout prover
let
env
,
config
=
create_env
loadpath
in
let
env
,
config
=
create_env
loadpath
in
let
steplimit
=
None
in
let
steplimit
=
None
in
let
steps
=
match
steplimit
with
Some
0
->
None
|
_
->
steplimit
in
let
steps
=
match
steplimit
with
Some
0
->
None
|
_
->
steplimit
in
let
dataset_csv
=
Option
.
value
dataset_csv
~
default
:
""
in
let
limit
=
let
limit
=
let
memlimit
=
let
memlimit
=
Option
.
value
memlimit
~
default
:
Whyconf
.(
memlimit
(
get_main
config
))
Option
.
value
memlimit
~
default
:
Whyconf
.(
memlimit
(
get_main
config
))
...
...
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