lab_tech 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -5
- data/app/models/lab_tech/experiment.rb +1 -1
- data/lib/lab_tech/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +824 -0
- data/spec/dummy/log/test.log +19486 -0
- data/spec/examples.txt +78 -78
- data/spec/models/lab_tech/summary_spec.rb +3 -3
- metadata +17 -11
data/spec/examples.txt
CHANGED
@@ -1,81 +1,81 @@
|
|
1
1
|
example_id | status | run_time |
|
2
2
|
---------------------------------------------------- | ------ | --------------- |
|
3
|
-
./spec/models/lab_tech/default_cleaner_spec.rb[1:1] | passed | 0.
|
4
|
-
./spec/models/lab_tech/default_cleaner_spec.rb[1:2] | passed | 0.
|
5
|
-
./spec/models/lab_tech/default_cleaner_spec.rb[1:3] | passed | 0.
|
6
|
-
./spec/models/lab_tech/default_cleaner_spec.rb[1:4] | passed | 0.
|
7
|
-
./spec/models/lab_tech/experiment_spec.rb[1:1:1:1] | passed | 0.
|
8
|
-
./spec/models/lab_tech/experiment_spec.rb[1:1:2:1] | passed | 0.
|
9
|
-
./spec/models/lab_tech/experiment_spec.rb[1:1:2:2] | passed | 0.
|
10
|
-
./spec/models/lab_tech/experiment_spec.rb[1:1:2:3:1] | passed | 0.
|
11
|
-
./spec/models/lab_tech/experiment_spec.rb[1:1:2:3:2] | passed | 0.
|
12
|
-
./spec/models/lab_tech/experiment_spec.rb[1:1:2:4:1] | passed | 0.
|
13
|
-
./spec/models/lab_tech/experiment_spec.rb[1:1:2:5:1] | passed | 0.
|
14
|
-
./spec/models/lab_tech/experiment_spec.rb[1:1:2:5:2] | passed | 0.
|
15
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:1] | passed | 0.
|
16
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:2] | passed | 0.
|
17
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:3] | passed | 0.
|
18
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:4] | passed | 0.
|
19
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:5] | passed | 0.
|
20
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:6] | passed | 0.
|
21
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:7] | passed | 0.
|
22
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:8] | passed | 0.
|
23
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:9] | passed | 0.
|
24
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:10] | passed | 0.
|
25
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:2:1] | passed | 0.
|
26
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:2:2] | passed | 0.
|
27
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:2:3] | passed | 0.
|
28
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:2:4] | passed | 0.
|
29
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:3:1] | passed | 0.
|
30
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:3:2] | passed | 0.
|
31
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:3:3] | passed | 0.
|
32
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:3:4] | passed | 0.
|
33
|
-
./spec/models/lab_tech/percentile_spec.rb[1:2:1] | passed | 0.
|
34
|
-
./spec/models/lab_tech/percentile_spec.rb[1:2:2] | passed | 0.
|
35
|
-
./spec/models/lab_tech/percentile_spec.rb[1:2:3] | passed | 0.
|
36
|
-
./spec/models/lab_tech/percentile_spec.rb[1:2:4] | passed | 0.
|
37
|
-
./spec/models/lab_tech/percentile_spec.rb[1:2:5] | passed | 0.
|
38
|
-
./spec/models/lab_tech/percentile_spec.rb[1:3:1] | passed | 0.
|
3
|
+
./spec/models/lab_tech/default_cleaner_spec.rb[1:1] | passed | 0.00044 seconds |
|
4
|
+
./spec/models/lab_tech/default_cleaner_spec.rb[1:2] | passed | 0.00179 seconds |
|
5
|
+
./spec/models/lab_tech/default_cleaner_spec.rb[1:3] | passed | 0.00053 seconds |
|
6
|
+
./spec/models/lab_tech/default_cleaner_spec.rb[1:4] | passed | 0.00312 seconds |
|
7
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:1:1] | passed | 0.00219 seconds |
|
8
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:2:1] | passed | 0.007 seconds |
|
9
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:2:2] | passed | 0.0031 seconds |
|
10
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:2:3:1] | passed | 0.01087 seconds |
|
11
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:2:3:2] | passed | 0.02208 seconds |
|
12
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:2:4:1] | passed | 0.00954 seconds |
|
13
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:2:5:1] | passed | 0.02513 seconds |
|
14
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:2:5:2] | passed | 0.02252 seconds |
|
15
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:1] | passed | 0.00039 seconds |
|
16
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:2] | passed | 0.00041 seconds |
|
17
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:3] | passed | 0.00042 seconds |
|
18
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:4] | passed | 0.0004 seconds |
|
19
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:5] | passed | 0.0004 seconds |
|
20
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:6] | passed | 0.00044 seconds |
|
21
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:7] | passed | 0.00054 seconds |
|
22
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:8] | passed | 0.00051 seconds |
|
23
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:9] | passed | 0.00047 seconds |
|
24
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:10] | passed | 0.00044 seconds |
|
25
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:2:1] | passed | 0.00039 seconds |
|
26
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:2:2] | passed | 0.0005 seconds |
|
27
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:2:3] | passed | 0.00041 seconds |
|
28
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:2:4] | passed | 0.00047 seconds |
|
29
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:3:1] | passed | 0.00039 seconds |
|
30
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:3:2] | passed | 0.00038 seconds |
|
31
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:3:3] | passed | 0.00039 seconds |
|
32
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:3:4] | passed | 0.00047 seconds |
|
33
|
+
./spec/models/lab_tech/percentile_spec.rb[1:2:1] | passed | 0.00042 seconds |
|
34
|
+
./spec/models/lab_tech/percentile_spec.rb[1:2:2] | passed | 0.00041 seconds |
|
35
|
+
./spec/models/lab_tech/percentile_spec.rb[1:2:3] | passed | 0.00044 seconds |
|
36
|
+
./spec/models/lab_tech/percentile_spec.rb[1:2:4] | passed | 0.00041 seconds |
|
37
|
+
./spec/models/lab_tech/percentile_spec.rb[1:2:5] | passed | 0.00055 seconds |
|
38
|
+
./spec/models/lab_tech/percentile_spec.rb[1:3:1] | passed | 0.00051 seconds |
|
39
39
|
./spec/models/lab_tech/percentile_spec.rb[1:3:2] | passed | 0.00052 seconds |
|
40
|
-
./spec/models/lab_tech/percentile_spec.rb[1:3:3] | passed | 0.
|
41
|
-
./spec/models/lab_tech/percentile_spec.rb[1:3:4] | passed | 0.
|
42
|
-
./spec/models/lab_tech/percentile_spec.rb[1:3:5] | passed | 0.
|
43
|
-
./spec/models/lab_tech/result_spec.rb[1:1:1] | passed | 0.
|
44
|
-
./spec/models/lab_tech/result_spec.rb[1:1:2:1:1] | passed | 0.
|
45
|
-
./spec/models/lab_tech/result_spec.rb[1:1:2:2:1] | passed | 0.
|
46
|
-
./spec/models/lab_tech/result_spec.rb[1:1:2:3:1] | passed | 0.
|
47
|
-
./spec/models/lab_tech/result_spec.rb[1:1:2:3:2] | passed | 0.
|
48
|
-
./spec/models/lab_tech/result_spec.rb[1:1:2:4:1] | passed | 0.
|
49
|
-
./spec/models/lab_tech/result_spec.rb[1:1:3:1] | passed | 0.
|
50
|
-
./spec/models/lab_tech/result_spec.rb[1:1:4:1] | passed | 0.
|
51
|
-
./spec/models/lab_tech/result_spec.rb[1:1:5:1] | passed | 0.
|
52
|
-
./spec/models/lab_tech/result_spec.rb[1:1:6] | passed | 0.
|
53
|
-
./spec/models/lab_tech/speedup_spec.rb[1:1] | passed | 0.
|
54
|
-
./spec/models/lab_tech/speedup_spec.rb[1:2] | passed | 0.
|
55
|
-
./spec/models/lab_tech/speedup_spec.rb[1:3] | passed | 0.
|
56
|
-
./spec/models/lab_tech/speedup_spec.rb[1:4] | passed | 0.
|
57
|
-
./spec/models/lab_tech/speedup_spec.rb[1:5] | passed | 0.
|
58
|
-
./spec/models/lab_tech/speedup_spec.rb[1:6] | passed | 0.
|
59
|
-
./spec/models/lab_tech/speedup_spec.rb[1:7] | passed | 0.
|
60
|
-
./spec/models/lab_tech/speedup_spec.rb[1:8] | passed | 0.
|
61
|
-
./spec/models/lab_tech/speedup_spec.rb[1:9] | passed | 0.
|
62
|
-
./spec/models/lab_tech/speedup_spec.rb[1:10] | passed | 0.
|
63
|
-
./spec/models/lab_tech/speedup_spec.rb[1:11] | passed | 0.
|
64
|
-
./spec/models/lab_tech/speedup_spec.rb[1:12] | passed | 0.
|
65
|
-
./spec/models/lab_tech/speedup_spec.rb[1:13] | passed | 0.
|
66
|
-
./spec/models/lab_tech/summary_spec.rb[1:1:1] | passed | 0.
|
67
|
-
./spec/models/lab_tech/summary_spec.rb[1:2:1] | passed | 0.
|
68
|
-
./spec/models/lab_tech/summary_spec.rb[1:3:1] | passed | 0.
|
69
|
-
./spec/models/lab_tech/summary_spec.rb[1:4:1] | passed | 0.
|
70
|
-
./spec/models/lab_tech/summary_spec.rb[1:5:1] | passed | 0.
|
71
|
-
./spec/models/lab_tech/summary_spec.rb[1:5:2] | passed | 0.
|
72
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:1:1] | passed | 0.
|
73
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:1:2] | passed | 0.
|
74
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:2:1] | passed | 0.
|
75
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:3:1] | passed | 0.
|
76
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:4:1] | passed | 0.
|
77
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:4:2] | passed | 0.
|
78
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:4:3] | passed | 0.
|
79
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:5:1] | passed | 0.
|
80
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:6:1] | passed | 0.
|
81
|
-
./spec/models/lab_tech_spec.rb[1:1:1] | passed | 0.
|
40
|
+
./spec/models/lab_tech/percentile_spec.rb[1:3:3] | passed | 0.00054 seconds |
|
41
|
+
./spec/models/lab_tech/percentile_spec.rb[1:3:4] | passed | 0.00056 seconds |
|
42
|
+
./spec/models/lab_tech/percentile_spec.rb[1:3:5] | passed | 0.00051 seconds |
|
43
|
+
./spec/models/lab_tech/result_spec.rb[1:1:1] | passed | 0.01638 seconds |
|
44
|
+
./spec/models/lab_tech/result_spec.rb[1:1:2:1:1] | passed | 0.01103 seconds |
|
45
|
+
./spec/models/lab_tech/result_spec.rb[1:1:2:2:1] | passed | 0.00878 seconds |
|
46
|
+
./spec/models/lab_tech/result_spec.rb[1:1:2:3:1] | passed | 0.00874 seconds |
|
47
|
+
./spec/models/lab_tech/result_spec.rb[1:1:2:3:2] | passed | 0.01173 seconds |
|
48
|
+
./spec/models/lab_tech/result_spec.rb[1:1:2:4:1] | passed | 0.00923 seconds |
|
49
|
+
./spec/models/lab_tech/result_spec.rb[1:1:3:1] | passed | 0.00914 seconds |
|
50
|
+
./spec/models/lab_tech/result_spec.rb[1:1:4:1] | passed | 0.01062 seconds |
|
51
|
+
./spec/models/lab_tech/result_spec.rb[1:1:5:1] | passed | 0.0125 seconds |
|
52
|
+
./spec/models/lab_tech/result_spec.rb[1:1:6] | passed | 0.01386 seconds |
|
53
|
+
./spec/models/lab_tech/speedup_spec.rb[1:1] | passed | 0.00236 seconds |
|
54
|
+
./spec/models/lab_tech/speedup_spec.rb[1:2] | passed | 0.00051 seconds |
|
55
|
+
./spec/models/lab_tech/speedup_spec.rb[1:3] | passed | 0.00043 seconds |
|
56
|
+
./spec/models/lab_tech/speedup_spec.rb[1:4] | passed | 0.00045 seconds |
|
57
|
+
./spec/models/lab_tech/speedup_spec.rb[1:5] | passed | 0.00043 seconds |
|
58
|
+
./spec/models/lab_tech/speedup_spec.rb[1:6] | passed | 0.00203 seconds |
|
59
|
+
./spec/models/lab_tech/speedup_spec.rb[1:7] | passed | 0.00041 seconds |
|
60
|
+
./spec/models/lab_tech/speedup_spec.rb[1:8] | passed | 0.00038 seconds |
|
61
|
+
./spec/models/lab_tech/speedup_spec.rb[1:9] | passed | 0.00048 seconds |
|
62
|
+
./spec/models/lab_tech/speedup_spec.rb[1:10] | passed | 0.01061 seconds |
|
63
|
+
./spec/models/lab_tech/speedup_spec.rb[1:11] | passed | 0.0099 seconds |
|
64
|
+
./spec/models/lab_tech/speedup_spec.rb[1:12] | passed | 0.00053 seconds |
|
65
|
+
./spec/models/lab_tech/speedup_spec.rb[1:13] | passed | 0.00061 seconds |
|
66
|
+
./spec/models/lab_tech/summary_spec.rb[1:1:1] | passed | 0.02629 seconds |
|
67
|
+
./spec/models/lab_tech/summary_spec.rb[1:2:1] | passed | 0.01373 seconds |
|
68
|
+
./spec/models/lab_tech/summary_spec.rb[1:3:1] | passed | 0.01542 seconds |
|
69
|
+
./spec/models/lab_tech/summary_spec.rb[1:4:1] | passed | 0.12154 seconds |
|
70
|
+
./spec/models/lab_tech/summary_spec.rb[1:5:1] | passed | 0.01481 seconds |
|
71
|
+
./spec/models/lab_tech/summary_spec.rb[1:5:2] | passed | 0.01615 seconds |
|
72
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:1:1] | passed | 0.01593 seconds |
|
73
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:1:2] | passed | 0.01359 seconds |
|
74
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:2:1] | passed | 0.01338 seconds |
|
75
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:3:1] | passed | 0.02064 seconds |
|
76
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:4:1] | passed | 0.05045 seconds |
|
77
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:4:2] | passed | 0.04024 seconds |
|
78
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:4:3] | passed | 0.05503 seconds |
|
79
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:5:1] | passed | 0.07954 seconds |
|
80
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:6:1] | passed | 0.13822 seconds |
|
81
|
+
./spec/models/lab_tech_spec.rb[1:1:1] | passed | 0.00115 seconds |
|
@@ -31,7 +31,7 @@ RSpec.describe LabTech::Summary do
|
|
31
31
|
|
32
32
|
if baseline && comparison && speedup_factor
|
33
33
|
result = experiment.results.last
|
34
|
-
result.
|
34
|
+
result.update({
|
35
35
|
control_duration: baseline,
|
36
36
|
candidate_duration: comparison,
|
37
37
|
speedup_factor: speedup_factor,
|
@@ -39,8 +39,8 @@ RSpec.describe LabTech::Summary do
|
|
39
39
|
})
|
40
40
|
|
41
41
|
# Technically, we only needed to update the result... but for consistency, let's update the observations too.
|
42
|
-
result.control .
|
43
|
-
result.candidates.first .
|
42
|
+
result.control .update duration: baseline
|
43
|
+
result.candidates.first .update duration: comparison
|
44
44
|
end
|
45
45
|
|
46
46
|
end # LabTech.publish_results_in_test_mode do
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lab_tech
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Livingston-Gray
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 5.1.0
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: 6.1.0
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 5.1.0
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 6.1.0
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: scientist
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +64,14 @@ dependencies:
|
|
58
64
|
requirements:
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
67
|
+
version: '4.0'
|
62
68
|
type: :development
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
72
|
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
74
|
+
version: '4.0'
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: awesome_print
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -172,7 +178,7 @@ homepage: https://github.com/RealGeeks/lab_tech
|
|
172
178
|
licenses:
|
173
179
|
- MIT
|
174
180
|
metadata: {}
|
175
|
-
post_install_message:
|
181
|
+
post_install_message:
|
176
182
|
rdoc_options: []
|
177
183
|
require_paths:
|
178
184
|
- lib
|
@@ -188,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
194
|
version: '0'
|
189
195
|
requirements: []
|
190
196
|
rubygems_version: 3.0.3
|
191
|
-
signing_key:
|
197
|
+
signing_key:
|
192
198
|
specification_version: 4
|
193
199
|
summary: Tools for using GitHub's 'Scientist' library with ActiveRecord, for those
|
194
200
|
of us not operating apps at ROFLscale
|