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.
@@ -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.0004 seconds |
4
- ./spec/models/lab_tech/default_cleaner_spec.rb[1:2] | passed | 0.00159 seconds |
5
- ./spec/models/lab_tech/default_cleaner_spec.rb[1:3] | passed | 0.00044 seconds |
6
- ./spec/models/lab_tech/default_cleaner_spec.rb[1:4] | passed | 0.00243 seconds |
7
- ./spec/models/lab_tech/experiment_spec.rb[1:1:1:1] | passed | 0.00782 seconds |
8
- ./spec/models/lab_tech/experiment_spec.rb[1:1:2:1] | passed | 0.00826 seconds |
9
- ./spec/models/lab_tech/experiment_spec.rb[1:1:2:2] | passed | 0.00704 seconds |
10
- ./spec/models/lab_tech/experiment_spec.rb[1:1:2:3:1] | passed | 0.01044 seconds |
11
- ./spec/models/lab_tech/experiment_spec.rb[1:1:2:3:2] | passed | 0.01954 seconds |
12
- ./spec/models/lab_tech/experiment_spec.rb[1:1:2:4:1] | passed | 0.01763 seconds |
13
- ./spec/models/lab_tech/experiment_spec.rb[1:1:2:5:1] | passed | 0.03493 seconds |
14
- ./spec/models/lab_tech/experiment_spec.rb[1:1:2:5:2] | passed | 0.03951 seconds |
15
- ./spec/models/lab_tech/percentile_spec.rb[1:1:1:1] | passed | 0.00038 seconds |
16
- ./spec/models/lab_tech/percentile_spec.rb[1:1:1:2] | passed | 0.00037 seconds |
17
- ./spec/models/lab_tech/percentile_spec.rb[1:1:1:3] | passed | 0.00046 seconds |
18
- ./spec/models/lab_tech/percentile_spec.rb[1:1:1:4] | passed | 0.00038 seconds |
19
- ./spec/models/lab_tech/percentile_spec.rb[1:1:1:5] | passed | 0.00046 seconds |
20
- ./spec/models/lab_tech/percentile_spec.rb[1:1:1:6] | passed | 0.00037 seconds |
21
- ./spec/models/lab_tech/percentile_spec.rb[1:1:1:7] | passed | 0.00038 seconds |
22
- ./spec/models/lab_tech/percentile_spec.rb[1:1:1:8] | passed | 0.00041 seconds |
23
- ./spec/models/lab_tech/percentile_spec.rb[1:1:1:9] | passed | 0.00037 seconds |
24
- ./spec/models/lab_tech/percentile_spec.rb[1:1:1:10] | passed | 0.00039 seconds |
25
- ./spec/models/lab_tech/percentile_spec.rb[1:1:2:1] | passed | 0.00037 seconds |
26
- ./spec/models/lab_tech/percentile_spec.rb[1:1:2:2] | passed | 0.00036 seconds |
27
- ./spec/models/lab_tech/percentile_spec.rb[1:1:2:3] | passed | 0.00036 seconds |
28
- ./spec/models/lab_tech/percentile_spec.rb[1:1:2:4] | passed | 0.00039 seconds |
29
- ./spec/models/lab_tech/percentile_spec.rb[1:1:3:1] | passed | 0.00042 seconds |
30
- ./spec/models/lab_tech/percentile_spec.rb[1:1:3:2] | passed | 0.00036 seconds |
31
- ./spec/models/lab_tech/percentile_spec.rb[1:1:3:3] | passed | 0.00037 seconds |
32
- ./spec/models/lab_tech/percentile_spec.rb[1:1:3:4] | passed | 0.00036 seconds |
33
- ./spec/models/lab_tech/percentile_spec.rb[1:2:1] | passed | 0.00058 seconds |
34
- ./spec/models/lab_tech/percentile_spec.rb[1:2:2] | passed | 0.00049 seconds |
35
- ./spec/models/lab_tech/percentile_spec.rb[1:2:3] | passed | 0.00045 seconds |
36
- ./spec/models/lab_tech/percentile_spec.rb[1:2:4] | passed | 0.00079 seconds |
37
- ./spec/models/lab_tech/percentile_spec.rb[1:2:5] | passed | 0.00048 seconds |
38
- ./spec/models/lab_tech/percentile_spec.rb[1:3:1] | passed | 0.00049 seconds |
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.00053 seconds |
41
- ./spec/models/lab_tech/percentile_spec.rb[1:3:4] | passed | 0.00053 seconds |
42
- ./spec/models/lab_tech/percentile_spec.rb[1:3:5] | passed | 0.00074 seconds |
43
- ./spec/models/lab_tech/result_spec.rb[1:1:1] | passed | 0.02116 seconds |
44
- ./spec/models/lab_tech/result_spec.rb[1:1:2:1:1] | passed | 0.01865 seconds |
45
- ./spec/models/lab_tech/result_spec.rb[1:1:2:2:1] | passed | 0.01095 seconds |
46
- ./spec/models/lab_tech/result_spec.rb[1:1:2:3:1] | passed | 0.01134 seconds |
47
- ./spec/models/lab_tech/result_spec.rb[1:1:2:3:2] | passed | 0.01812 seconds |
48
- ./spec/models/lab_tech/result_spec.rb[1:1:2:4:1] | passed | 0.00906 seconds |
49
- ./spec/models/lab_tech/result_spec.rb[1:1:3:1] | passed | 0.00727 seconds |
50
- ./spec/models/lab_tech/result_spec.rb[1:1:4:1] | passed | 0.01982 seconds |
51
- ./spec/models/lab_tech/result_spec.rb[1:1:5:1] | passed | 0.01072 seconds |
52
- ./spec/models/lab_tech/result_spec.rb[1:1:6] | passed | 0.01629 seconds |
53
- ./spec/models/lab_tech/speedup_spec.rb[1:1] | passed | 0.00245 seconds |
54
- ./spec/models/lab_tech/speedup_spec.rb[1:2] | passed | 0.00062 seconds |
55
- ./spec/models/lab_tech/speedup_spec.rb[1:3] | passed | 0.00111 seconds |
56
- ./spec/models/lab_tech/speedup_spec.rb[1:4] | passed | 0.0012 seconds |
57
- ./spec/models/lab_tech/speedup_spec.rb[1:5] | passed | 0.00052 seconds |
58
- ./spec/models/lab_tech/speedup_spec.rb[1:6] | passed | 0.00034 seconds |
59
- ./spec/models/lab_tech/speedup_spec.rb[1:7] | passed | 0.00034 seconds |
60
- ./spec/models/lab_tech/speedup_spec.rb[1:8] | passed | 0.00035 seconds |
61
- ./spec/models/lab_tech/speedup_spec.rb[1:9] | passed | 0.0005 seconds |
62
- ./spec/models/lab_tech/speedup_spec.rb[1:10] | passed | 0.0008 seconds |
63
- ./spec/models/lab_tech/speedup_spec.rb[1:11] | passed | 0.00086 seconds |
64
- ./spec/models/lab_tech/speedup_spec.rb[1:12] | passed | 0.00104 seconds |
65
- ./spec/models/lab_tech/speedup_spec.rb[1:13] | passed | 0.00943 seconds |
66
- ./spec/models/lab_tech/summary_spec.rb[1:1:1] | passed | 0.00783 seconds |
67
- ./spec/models/lab_tech/summary_spec.rb[1:2:1] | passed | 0.01286 seconds |
68
- ./spec/models/lab_tech/summary_spec.rb[1:3:1] | passed | 0.02494 seconds |
69
- ./spec/models/lab_tech/summary_spec.rb[1:4:1] | passed | 0.02732 seconds |
70
- ./spec/models/lab_tech/summary_spec.rb[1:5:1] | passed | 0.01289 seconds |
71
- ./spec/models/lab_tech/summary_spec.rb[1:5:2] | passed | 0.02199 seconds |
72
- ./spec/models/lab_tech/summary_spec.rb[1:6:1:1] | passed | 0.02179 seconds |
73
- ./spec/models/lab_tech/summary_spec.rb[1:6:1:2] | passed | 0.03034 seconds |
74
- ./spec/models/lab_tech/summary_spec.rb[1:6:2:1] | passed | 0.04274 seconds |
75
- ./spec/models/lab_tech/summary_spec.rb[1:6:3:1] | passed | 0.02635 seconds |
76
- ./spec/models/lab_tech/summary_spec.rb[1:6:4:1] | passed | 0.06386 seconds |
77
- ./spec/models/lab_tech/summary_spec.rb[1:6:4:2] | passed | 0.0686 seconds |
78
- ./spec/models/lab_tech/summary_spec.rb[1:6:4:3] | passed | 0.07393 seconds |
79
- ./spec/models/lab_tech/summary_spec.rb[1:6:5:1] | passed | 0.08475 seconds |
80
- ./spec/models/lab_tech/summary_spec.rb[1:6:6:1] | passed | 0.26046 seconds |
81
- ./spec/models/lab_tech_spec.rb[1:1:1] | passed | 0.00095 seconds |
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.update_attributes({
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 .update_attributes duration: baseline
43
- result.candidates.first .update_attributes duration: comparison
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.3
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: 2020-03-11 00:00:00.000000000 Z
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: '5.1'
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: '5.1'
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: '3.8'
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: '3.8'
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