lab_tech 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/lab_tech/result.rb +8 -1
- data/lib/lab_tech/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +245 -0
- data/spec/dummy/log/test.log +11197 -0
- data/spec/examples.txt +79 -79
- data/spec/models/lab_tech/experiment_spec.rb +6 -1
- metadata +2 -2
data/spec/examples.txt
CHANGED
@@ -1,83 +1,83 @@
|
|
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:4:2] | passed | 0.
|
14
|
-
./spec/models/lab_tech/experiment_spec.rb[1:1:2:5:1] | passed | 0.
|
15
|
-
./spec/models/lab_tech/experiment_spec.rb[1:1:2:6:1] | passed | 0.
|
16
|
-
./spec/models/lab_tech/experiment_spec.rb[1:1:2:6:2] | passed | 0.
|
17
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:1] | passed | 0.
|
18
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:2] | passed | 0.
|
19
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:3] | passed | 0.
|
20
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:4] | passed | 0.
|
21
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:5] | passed | 0.
|
22
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:6] | passed | 0.
|
23
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:7] | passed | 0.
|
24
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:8] | passed | 0.
|
25
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:9] | passed | 0.
|
26
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:1:10] | passed | 0.
|
27
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:2:1] | passed | 0.
|
3
|
+
./spec/models/lab_tech/default_cleaner_spec.rb[1:1] | passed | 0.00039 seconds |
|
4
|
+
./spec/models/lab_tech/default_cleaner_spec.rb[1:2] | passed | 0.00163 seconds |
|
5
|
+
./spec/models/lab_tech/default_cleaner_spec.rb[1:3] | passed | 0.00045 seconds |
|
6
|
+
./spec/models/lab_tech/default_cleaner_spec.rb[1:4] | passed | 0.00291 seconds |
|
7
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:1:1] | passed | 0.00425 seconds |
|
8
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:2:1] | passed | 0.01671 seconds |
|
9
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:2:2] | passed | 0.00537 seconds |
|
10
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:2:3:1] | passed | 0.01245 seconds |
|
11
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:2:3:2] | passed | 0.01226 seconds |
|
12
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:2:4:1] | passed | 0.00971 seconds |
|
13
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:2:4:2] | passed | 0.01165 seconds |
|
14
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:2:5:1] | passed | 0.00848 seconds |
|
15
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:2:6:1] | passed | 0.02714 seconds |
|
16
|
+
./spec/models/lab_tech/experiment_spec.rb[1:1:2:6:2] | passed | 0.02236 seconds |
|
17
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:1] | passed | 0.00038 seconds |
|
18
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:2] | passed | 0.00041 seconds |
|
19
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:3] | passed | 0.00047 seconds |
|
20
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:4] | passed | 0.00043 seconds |
|
21
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:5] | passed | 0.00056 seconds |
|
22
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:6] | passed | 0.00039 seconds |
|
23
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:7] | passed | 0.00039 seconds |
|
24
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:8] | passed | 0.00046 seconds |
|
25
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:9] | passed | 0.0004 seconds |
|
26
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:1:10] | passed | 0.00044 seconds |
|
27
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:2:1] | passed | 0.00038 seconds |
|
28
28
|
./spec/models/lab_tech/percentile_spec.rb[1:1:2:2] | passed | 0.00038 seconds |
|
29
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:2:3] | passed | 0.
|
30
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:2:4] | passed | 0.
|
31
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:3:1] | passed | 0.
|
32
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:3:2] | passed | 0.
|
33
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:3:3] | passed | 0.
|
34
|
-
./spec/models/lab_tech/percentile_spec.rb[1:1:3:4] | passed | 0.
|
35
|
-
./spec/models/lab_tech/percentile_spec.rb[1:2:1] | passed | 0.
|
36
|
-
./spec/models/lab_tech/percentile_spec.rb[1:2:2] | passed | 0.
|
37
|
-
./spec/models/lab_tech/percentile_spec.rb[1:2:3] | passed | 0.
|
38
|
-
./spec/models/lab_tech/percentile_spec.rb[1:2:4] | passed | 0.
|
39
|
-
./spec/models/lab_tech/percentile_spec.rb[1:2:5] | passed | 0.
|
40
|
-
./spec/models/lab_tech/percentile_spec.rb[1:3:1] | passed | 0.
|
41
|
-
./spec/models/lab_tech/percentile_spec.rb[1:3:2] | passed | 0.
|
42
|
-
./spec/models/lab_tech/percentile_spec.rb[1:3:3] | passed | 0.
|
43
|
-
./spec/models/lab_tech/percentile_spec.rb[1:3:4] | passed | 0.
|
44
|
-
./spec/models/lab_tech/percentile_spec.rb[1:3:5] | passed | 0.
|
45
|
-
./spec/models/lab_tech/result_spec.rb[1:1:1] | passed | 0.
|
46
|
-
./spec/models/lab_tech/result_spec.rb[1:1:2:1:1] | passed | 0.
|
47
|
-
./spec/models/lab_tech/result_spec.rb[1:1:2:2:1] | passed | 0.
|
48
|
-
./spec/models/lab_tech/result_spec.rb[1:1:2:3:1] | passed | 0.
|
49
|
-
./spec/models/lab_tech/result_spec.rb[1:1:2:3:2] | passed | 0.
|
50
|
-
./spec/models/lab_tech/result_spec.rb[1:1:2:4:1] | passed | 0.
|
51
|
-
./spec/models/lab_tech/result_spec.rb[1:1:3:1] | passed | 0.
|
52
|
-
./spec/models/lab_tech/result_spec.rb[1:1:4:1] | passed | 0.
|
53
|
-
./spec/models/lab_tech/result_spec.rb[1:1:5:1] | passed | 0.
|
54
|
-
./spec/models/lab_tech/result_spec.rb[1:1:6] | passed | 0.
|
55
|
-
./spec/models/lab_tech/speedup_spec.rb[1:1] | passed | 0.
|
56
|
-
./spec/models/lab_tech/speedup_spec.rb[1:2] | passed | 0.
|
57
|
-
./spec/models/lab_tech/speedup_spec.rb[1:3] | passed | 0.
|
58
|
-
./spec/models/lab_tech/speedup_spec.rb[1:4] | passed | 0.
|
59
|
-
./spec/models/lab_tech/speedup_spec.rb[1:5] | passed | 0.
|
60
|
-
./spec/models/lab_tech/speedup_spec.rb[1:6] | passed | 0.
|
61
|
-
./spec/models/lab_tech/speedup_spec.rb[1:7] | passed | 0.
|
29
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:2:3] | passed | 0.00042 seconds |
|
30
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:2:4] | passed | 0.00038 seconds |
|
31
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:3:1] | passed | 0.00043 seconds |
|
32
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:3:2] | passed | 0.00038 seconds |
|
33
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:3:3] | passed | 0.00041 seconds |
|
34
|
+
./spec/models/lab_tech/percentile_spec.rb[1:1:3:4] | passed | 0.00041 seconds |
|
35
|
+
./spec/models/lab_tech/percentile_spec.rb[1:2:1] | passed | 0.0004 seconds |
|
36
|
+
./spec/models/lab_tech/percentile_spec.rb[1:2:2] | passed | 0.00039 seconds |
|
37
|
+
./spec/models/lab_tech/percentile_spec.rb[1:2:3] | passed | 0.00056 seconds |
|
38
|
+
./spec/models/lab_tech/percentile_spec.rb[1:2:4] | passed | 0.00042 seconds |
|
39
|
+
./spec/models/lab_tech/percentile_spec.rb[1:2:5] | passed | 0.00041 seconds |
|
40
|
+
./spec/models/lab_tech/percentile_spec.rb[1:3:1] | passed | 0.00057 seconds |
|
41
|
+
./spec/models/lab_tech/percentile_spec.rb[1:3:2] | passed | 0.00063 seconds |
|
42
|
+
./spec/models/lab_tech/percentile_spec.rb[1:3:3] | passed | 0.00063 seconds |
|
43
|
+
./spec/models/lab_tech/percentile_spec.rb[1:3:4] | passed | 0.00051 seconds |
|
44
|
+
./spec/models/lab_tech/percentile_spec.rb[1:3:5] | passed | 0.00057 seconds |
|
45
|
+
./spec/models/lab_tech/result_spec.rb[1:1:1] | passed | 0.01431 seconds |
|
46
|
+
./spec/models/lab_tech/result_spec.rb[1:1:2:1:1] | passed | 0.00846 seconds |
|
47
|
+
./spec/models/lab_tech/result_spec.rb[1:1:2:2:1] | passed | 0.00873 seconds |
|
48
|
+
./spec/models/lab_tech/result_spec.rb[1:1:2:3:1] | passed | 0.0152 seconds |
|
49
|
+
./spec/models/lab_tech/result_spec.rb[1:1:2:3:2] | passed | 0.00929 seconds |
|
50
|
+
./spec/models/lab_tech/result_spec.rb[1:1:2:4:1] | passed | 0.00876 seconds |
|
51
|
+
./spec/models/lab_tech/result_spec.rb[1:1:3:1] | passed | 0.01267 seconds |
|
52
|
+
./spec/models/lab_tech/result_spec.rb[1:1:4:1] | passed | 0.01739 seconds |
|
53
|
+
./spec/models/lab_tech/result_spec.rb[1:1:5:1] | passed | 0.02185 seconds |
|
54
|
+
./spec/models/lab_tech/result_spec.rb[1:1:6] | passed | 0.05496 seconds |
|
55
|
+
./spec/models/lab_tech/speedup_spec.rb[1:1] | passed | 0.0004 seconds |
|
56
|
+
./spec/models/lab_tech/speedup_spec.rb[1:2] | passed | 0.0004 seconds |
|
57
|
+
./spec/models/lab_tech/speedup_spec.rb[1:3] | passed | 0.00041 seconds |
|
58
|
+
./spec/models/lab_tech/speedup_spec.rb[1:4] | passed | 0.00043 seconds |
|
59
|
+
./spec/models/lab_tech/speedup_spec.rb[1:5] | passed | 0.00038 seconds |
|
60
|
+
./spec/models/lab_tech/speedup_spec.rb[1:6] | passed | 0.00038 seconds |
|
61
|
+
./spec/models/lab_tech/speedup_spec.rb[1:7] | passed | 0.00044 seconds |
|
62
62
|
./spec/models/lab_tech/speedup_spec.rb[1:8] | passed | 0.00042 seconds |
|
63
|
-
./spec/models/lab_tech/speedup_spec.rb[1:9] | passed | 0.
|
64
|
-
./spec/models/lab_tech/speedup_spec.rb[1:10] | passed | 0.
|
65
|
-
./spec/models/lab_tech/speedup_spec.rb[1:11] | passed | 0.
|
66
|
-
./spec/models/lab_tech/speedup_spec.rb[1:12] | passed | 0.
|
67
|
-
./spec/models/lab_tech/speedup_spec.rb[1:13] | passed | 0.
|
68
|
-
./spec/models/lab_tech/summary_spec.rb[1:1:1] | passed | 0.
|
69
|
-
./spec/models/lab_tech/summary_spec.rb[1:2:1] | passed | 0.
|
70
|
-
./spec/models/lab_tech/summary_spec.rb[1:3:1] | passed | 0.
|
71
|
-
./spec/models/lab_tech/summary_spec.rb[1:4:1] | passed | 0.
|
72
|
-
./spec/models/lab_tech/summary_spec.rb[1:5:1] | passed | 0.
|
73
|
-
./spec/models/lab_tech/summary_spec.rb[1:5:2] | passed | 0.
|
74
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:1:1] | passed | 0.
|
75
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:1:2] | passed | 0.
|
76
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:2:1] | passed | 0.
|
77
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:3:1] | passed | 0.
|
78
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:4:1] | passed | 0.
|
79
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:4:2] | passed | 0.
|
80
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:4:3] | passed | 0.
|
81
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:5:1] | passed | 0.
|
82
|
-
./spec/models/lab_tech/summary_spec.rb[1:6:6:1] | passed | 0.
|
83
|
-
./spec/models/lab_tech_spec.rb[1:1:1] | passed | 0.
|
63
|
+
./spec/models/lab_tech/speedup_spec.rb[1:9] | passed | 0.00058 seconds |
|
64
|
+
./spec/models/lab_tech/speedup_spec.rb[1:10] | passed | 0.00066 seconds |
|
65
|
+
./spec/models/lab_tech/speedup_spec.rb[1:11] | passed | 0.00042 seconds |
|
66
|
+
./spec/models/lab_tech/speedup_spec.rb[1:12] | passed | 0.00063 seconds |
|
67
|
+
./spec/models/lab_tech/speedup_spec.rb[1:13] | passed | 0.00054 seconds |
|
68
|
+
./spec/models/lab_tech/summary_spec.rb[1:1:1] | passed | 0.00498 seconds |
|
69
|
+
./spec/models/lab_tech/summary_spec.rb[1:2:1] | passed | 0.01448 seconds |
|
70
|
+
./spec/models/lab_tech/summary_spec.rb[1:3:1] | passed | 0.02159 seconds |
|
71
|
+
./spec/models/lab_tech/summary_spec.rb[1:4:1] | passed | 0.01541 seconds |
|
72
|
+
./spec/models/lab_tech/summary_spec.rb[1:5:1] | passed | 0.02253 seconds |
|
73
|
+
./spec/models/lab_tech/summary_spec.rb[1:5:2] | passed | 0.01092 seconds |
|
74
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:1:1] | passed | 0.01805 seconds |
|
75
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:1:2] | passed | 0.01903 seconds |
|
76
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:2:1] | passed | 0.01573 seconds |
|
77
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:3:1] | passed | 0.02503 seconds |
|
78
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:4:1] | passed | 0.05415 seconds |
|
79
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:4:2] | passed | 0.04614 seconds |
|
80
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:4:3] | passed | 0.04486 seconds |
|
81
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:5:1] | passed | 0.0669 seconds |
|
82
|
+
./spec/models/lab_tech/summary_spec.rb[1:6:6:1] | passed | 0.18077 seconds |
|
83
|
+
./spec/models/lab_tech_spec.rb[1:1:1] | passed | 0.01138 seconds |
|
@@ -100,7 +100,12 @@ RSpec.describe LabTech::Experiment do
|
|
100
100
|
e.use { :control }
|
101
101
|
e.try { :candidate }
|
102
102
|
|
103
|
-
e.diff { |control, candidate|
|
103
|
+
e.diff { |control, candidate|
|
104
|
+
# Make sure we pass values to the diff block, not the observations themselves
|
105
|
+
raise "nope" if control.is_a?(Scientist::Observation)
|
106
|
+
raise "nope" if candidate.is_a?(Scientist::Observation)
|
107
|
+
"this is a diff"
|
108
|
+
}
|
104
109
|
end
|
105
110
|
|
106
111
|
result = experiment.results.first
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Livingston-Gray
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|