We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b056f9 commit 5c970f3Copy full SHA for 5c970f3
app/models/lab_tech/result.rb
@@ -115,7 +115,7 @@ def record_observation(scientist_observation, attrs = {})
115
def record_simple_stats(scientist_result)
116
cont, cands = scientist_result.control, scientist_result.candidates
117
118
- self.equivalent = cands.all? { |cand| cand.equivalent_to?(cont, &experiment.comparator) }
+ self.equivalent = cands.all? { |cand| cont.equivalent_to?(cand, &experiment.comparator) }
119
120
raised = ->(scientist_observation) { scientist_observation.exception.present? }
121
self.raised_error = !raised.(cont) && cands.any?(&raised)
0 commit comments