Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
LARA
inox
Commits
617a070d
Commit
617a070d
authored
10 years ago
by
Emmanouil (Manos) Koukoutos
Committed by
Etienne Kneuss
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix runtests/ add List benchmarks
parent
db6b957b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
runTests.sh
+29
-18
29 additions, 18 deletions
runTests.sh
testcases/repair/List/List4.scala
+3
-3
3 additions, 3 deletions
testcases/repair/List/List4.scala
testcases/repair/List/List5.scala
+3
-1
3 additions, 1 deletion
testcases/repair/List/List5.scala
with
35 additions
and
22 deletions
runTests.sh
+
29
−
18
View file @
617a070d
...
@@ -13,24 +13,35 @@ echo "################################" >> $fullLog
...
@@ -13,24 +13,35 @@ echo "################################" >> $fullLog
echo
"# Category, File, function, S, f.S, Tms, Fms, Rms, verif?"
>>
$fullLog
echo
"# Category, File, function, S, f.S, Tms, Fms, Rms, verif?"
>>
$fullLog
#All benchmarks:
#All benchmarks:
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
desugar testcases/repair/Desugar/Desugar1.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
desugar testcases/repair/Desugar/Desugar1.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
desugar testcases/repair/Desugar/Desugar2.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
desugar testcases/repair/Desugar/Desugar2.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
desugar testcases/repair/Desugar/Desugar3.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
desugar testcases/repair/Desugar/Desugar3.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
desugar testcases/repair/Desugar/Desugar4.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
desugar testcases/repair/Desugar/Desugar4.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
merge testcases/repair/HeapSort/HeapSort3.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
merge testcases/repair/HeapSort/HeapSort3.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
merge testcases/repair/HeapSort/HeapSort4.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
merge testcases/repair/HeapSort/HeapSort4.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
merge testcases/repair/HeapSort/HeapSort8.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
merge testcases/repair/HeapSort/HeapSort5.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
merge testcases/repair/HeapSort/HeapSort6.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
merge testcases/repair/HeapSort/HeapSort6.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
merge testcases/repair/HeapSort/HeapSort7.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
merge testcases/repair/HeapSort/HeapSort7.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
insert testcases/repair/HeapSort/HeapSort5.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
insert testcases/repair/HeapSort/HeapSort8.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
makeN testcases/repair/HeapSort/HeapSort9.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
makeN testcases/repair/HeapSort/HeapSort9.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
nnf testcases/repair/PropLogic/PropLogic1.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
nnf testcases/repair/PropLogic/PropLogic1.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
nnf testcases/repair/PropLogic/PropLogic2.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
nnf testcases/repair/PropLogic/PropLogic2.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
nnf testcases/repair/PropLogic/PropLogic3.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
nnf testcases/repair/PropLogic/PropLogic3.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
nnf testcases/repair/PropLogic/PropLogic4.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
nnf testcases/repair/PropLogic/PropLogic4.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
nnf testcases/repair/PropLogic/PropLogic5.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
nnf testcases/repair/PropLogic/PropLogic5.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
_pad testcases/repair/List/List1.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
_ap testcases/repair/List/List3.scala
./leon
--repair
--functions
=
_drop testcases/repair/List/List4.scala
./leon
--repair
--functions
=
_replace testcases/repair/List/List5.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
_count testcases/repair/List/List6.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
_find testcases/repair/List/List7.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
_find testcases/repair/List/List8.scala
./leon
--repair
--functions
=
_find testcases/repair/List/List9.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
_size testcases/repair/List/List10.scala
./leon
--repair
--solvers
=
fairz3:enum
--functions
=
sum
testcases/repair/List/List11.scala
# Average results
# Average results
cat
$log
>>
$fullLog
cat
$log
>>
$fullLog
...
...
This diff is collapsed.
Click to expand it.
testcases/repair/List/List4.scala
+
3
−
3
View file @
617a070d
...
@@ -82,9 +82,9 @@ sealed abstract class List0[T] {
...
@@ -82,9 +82,9 @@ sealed abstract class List0[T] {
case
(
Cons0
(
h
,
t
),
i
)
=>
case
(
Cons0
(
h
,
t
),
i
)
=>
t
.
drop
(
i
-
1
)
//FIXME missing if-split
t
.
drop
(
i
-
1
)
//FIXME missing if-split
}}
ensuring
{
res
=>
((
this
,
i
),
res
)
passes
{
}}
ensuring
{
res
=>
((
this
,
i
),
res
)
passes
{
case
(
l
@
Cons0
(
_
,
Nil0
()),
42
)
=>
l
case
(
Cons0
(
_
,
Nil0
()),
42
)
=>
Nil0
()
case
(
Cons0
(
a
,
t
),
0
)
=>
t
case
(
l
@
Cons0
(
_
,
_
),
0
)
=>
l
case
(
Cons0
(
a
,
Cons0
(
b
,
Nil0
())),
1
)
=>
Cons0
(
a
,
Nil0
())
case
(
Cons0
(
a
,
Cons0
(
b
,
Nil0
())),
1
)
=>
Cons0
(
b
,
Nil0
())
}}
}}
def
slice
(
from
:
Int
,
to
:
Int
)
:
List0
[
T
]
=
{
def
slice
(
from
:
Int
,
to
:
Int
)
:
List0
[
T
]
=
{
...
...
This diff is collapsed.
Click to expand it.
testcases/repair/List/List5.scala
+
3
−
1
View file @
617a070d
...
@@ -97,7 +97,9 @@ sealed abstract class List0[T] {
...
@@ -97,7 +97,9 @@ sealed abstract class List0[T] {
case
Cons0
(
h
,
t
)
=>
case
Cons0
(
h
,
t
)
=>
val
r
=
t
.
replace
(
from
,
to
)
val
r
=
t
.
replace
(
from
,
to
)
Cons0
(
to
,
r
)
// FIXME
Cons0
(
to
,
r
)
// FIXME
}}
ensuring
{
res
=>
(
res
.
content
==
this
.
content
--
Set
(
from
)
++
Set
(
to
))
&&
res
.
size
==
this
.
size
}}
ensuring
{
res
=>
(
if
(
this
.
contains
(
from
))
res
.
contains
(
to
)
else
true
)
&&
!
res
.
contains
(
from
)
&&
res
.
size
==
this
.
size
}
}
private
def
chunk0
(
s
:
Int
,
l
:
List0
[
T
],
acc
:
List0
[
T
],
res
:
List0
[
List0
[
T
]],
s0
:
Int
)
:
List0
[
List0
[
T
]]
=
l
match
{
private
def
chunk0
(
s
:
Int
,
l
:
List0
[
T
],
acc
:
List0
[
T
],
res
:
List0
[
List0
[
T
]],
s0
:
Int
)
:
List0
[
List0
[
T
]]
=
l
match
{
...
...
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