Class: Leva::RunnerResult
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Leva::RunnerResult
- Defined in:
- app/models/leva/runner_result.rb
Instance Method Summary collapse
-
#ground_truth ⇒ String
The ground truth for this runner result.
-
#parsed_predictions ⇒ Array<String>
The parsed draft responses.
Instance Method Details
#ground_truth ⇒ String
Returns The ground truth for this runner result.
46 47 48 |
# File 'app/models/leva/runner_result.rb', line 46 def ground_truth @ground_truth ||= runner&.ground_truth(self) end |
#parsed_predictions ⇒ Array<String>
Returns The parsed draft responses.
41 42 43 |
# File 'app/models/leva/runner_result.rb', line 41 def parsed_predictions @parsed_predictions ||= runner&.parsed_predictions(self) || [] end |