Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Merge requests
!73
Continue benchmark in case of analysis failure.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Continue benchmark in case of analysis failure.
stu202077/theodolite:fix/continueProcessing
into
master
Overview
5
Commits
3
Pipelines
0
Changes
2
All threads resolved!
Thread options
Hide all comments
Merged
Continue benchmark in case of analysis failure.
Björn Vonheiden
requested to merge
stu202077/theodolite:fix/continueProcessing
into
master
Dec 17, 2020
Overview
5
Commits
3
Pipelines
0
Changes
2
All threads resolved!
Thread options
Hide all comments
Implement
#119 (closed)
0
0
Merge request reports
Compare
master
version 3
edd6a3bf
Dec 17, 2020
version 2
de79021e
Dec 17, 2020
version 1
1d5d429c
Dec 17, 2020
master (base)
and
latest version
latest version
8288df9b
3 commits,
Dec 17, 2020
version 3
edd6a3bf
2 commits,
Dec 17, 2020
version 2
de79021e
1 commit,
Dec 17, 2020
version 1
1d5d429c
1 commit,
Dec 17, 2020
2 files
+
21
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
execution/strategies/subexperiment_evaluation/subexperiment_evaluator.py
+
11
−
3
View file @ 8288df9b
Edit in single-file editor
Open in Web IDE
Show full file
import
lib.trend_slope_computer
as
trend_slope_computer
import
logging
import
os
import
sys
import
os
import
lib.trend_slope_computer
as
trend_slope_computer
THRESHOLD
=
2000
WARMUP_SEC
=
60
@@ -10,7 +10,15 @@ def execute(config):
cwd
=
f
'
{
os
.
getcwd
()
}
/
{
config
.
result_path
}
'
file
=
f
"
exp
{
config
.
exp_id
}
_uc
{
config
.
use_case
}
_
{
config
.
dim_value
}
_
{
config
.
replicas
}
_totallag.csv
"
trend_slope
=
trend_slope_computer
.
compute
(
cwd
,
file
,
WARMUP_SEC
,
THRESHOLD
)
try
:
trend_slope
=
trend_slope_computer
.
compute
(
cwd
,
file
,
WARMUP_SEC
,
THRESHOLD
)
except
Exception
as
e
:
err_msg
=
'
Computing trend slope failed
'
print
(
err_msg
)
logging
.
exception
(
err_msg
)
print
(
'
Mark this subexperiment as not successful and continue benchmark
'
)
return
0
print
(
f
"
Trend Slope:
{
trend_slope
}
"
)
success
=
0
if
trend_slope
>
THRESHOLD
else
1
Loading