Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
bob.measure
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bob
bob.measure
Commits
e5324be0
Commit
e5324be0
authored
Nov 08, 2016
by
André Anjos
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make use of test set on compute_perf optional; Update docs
parent
ac41e56a
Pipeline
#5215
passed with stages
in 5 minutes and 58 seconds
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
230 additions
and
124 deletions
+230
-124
bob/measure/script/compute_perf.py
bob/measure/script/compute_perf.py
+131
-75
bob/measure/test_scripts.py
bob/measure/test_scripts.py
+16
-0
doc/guide.rst
doc/guide.rst
+83
-49
No files found.
bob/measure/script/compute_perf.py
View file @
e5324be0
This diff is collapsed.
Click to expand it.
bob/measure/test_scripts.py
View file @
e5324be0
...
...
@@ -46,6 +46,22 @@ def test_compute_perf():
nose
.
tools
.
eq_
(
main
(
cmdline
),
0
)
def
test_compute_perf_only_dev
():
# sanity checks
assert
os
.
path
.
exists
(
DEV_SCORES
)
tmp_output
=
tempfile
.
NamedTemporaryFile
(
prefix
=
__name__
,
suffix
=
'.pdf'
)
cmdline
=
[
DEV_SCORES
,
'--output='
+
tmp_output
.
name
,
]
from
.script.compute_perf
import
main
nose
.
tools
.
eq_
(
main
(
cmdline
),
0
)
def
test_eval_threshold
():
# sanity checks
...
...
doc/guide.rst
View file @
e5324be0
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment