Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
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
frama-c
Commits
6d990023
Commit
6d990023
authored
2 years ago
by
Loïc Correnson
Committed by
Allan Blanchard
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[wp] export human-readlabel json stats
parent
f5331b9f
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/plugins/wp/Stats.ml
+1
-0
1 addition, 0 deletions
src/plugins/wp/Stats.ml
src/plugins/wp/Why3Provers.ml
+1
-1
1 addition, 1 deletion
src/plugins/wp/Why3Provers.ml
with
2 additions
and
1 deletion
src/plugins/wp/Stats.ml
+
1
−
0
View file @
6d990023
...
@@ -187,6 +187,7 @@ let pretty fmt s =
...
@@ -187,6 +187,7 @@ let pretty fmt s =
let
to_json_p
(
p
,
r
)
:
Json
.
t
=
`Assoc
[
let
to_json_p
(
p
,
r
)
:
Json
.
t
=
`Assoc
[
"prover"
,
`String
(
VCS
.
name_of_prover
p
)
;
"prover"
,
`String
(
VCS
.
name_of_prover
p
)
;
"hprover"
,
`String
(
VCS
.
title_of_prover
p
)
;
"time"
,
`Float
r
.
time
;
"time"
,
`Float
r
.
time
;
"htime"
,
`String
(
Pretty_utils
.
to_string
Rformat
.
pp_time
r
.
time
)
;
"htime"
,
`String
(
Pretty_utils
.
to_string
Rformat
.
pp_time
r
.
time
)
;
"success"
,
`Int
r
.
success
;
"success"
,
`Int
r
.
success
;
...
...
This diff is collapsed.
Click to expand it.
src/plugins/wp/Why3Provers.ml
+
1
−
1
View file @
6d990023
...
@@ -93,7 +93,7 @@ let print_wp s =
...
@@ -93,7 +93,7 @@ let print_wp s =
let
prv
=
String
.
split_on_char
'
,
'
name
in
let
prv
=
String
.
split_on_char
'
,
'
name
in
String
.
concat
":"
prv
String
.
concat
":"
prv
let
title
p
=
Format
.
asprintf
"%a"
Why3
.
Whyconf
.
print_prover
p
let
title
p
=
Pretty_utils
.
to_string
Why3
.
Whyconf
.
print_prover
p
let
name
p
=
p
.
Why3
.
Whyconf
.
prover_name
let
name
p
=
p
.
Why3
.
Whyconf
.
prover_name
let
compare
=
Why3
.
Whyconf
.
Prover
.
compare
let
compare
=
Why3
.
Whyconf
.
Prover
.
compare
let
is_mainstream
p
=
p
.
Why3
.
Whyconf
.
prover_altern
=
""
let
is_mainstream
p
=
p
.
Why3
.
Whyconf
.
prover_altern
=
""
...
...
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