Class: Braintrust::Models::ScoreSummary
- Defined in:
- lib/braintrust/models/score_summary.rb
Instance Attribute Summary collapse
-
#diff ⇒ Float
Difference in score between the current and comparison experiment.
-
#improvements ⇒ Integer
Number of improvements in the score.
-
#name_ ⇒ String
Name of the score.
-
#regressions ⇒ Integer
Number of regressions in the score.
-
#score ⇒ Float
Average score across all examples.
Method Summary
Methods inherited from BaseModel
#[], #initialize, #inspect, #to_h, #to_s
Constructor Details
This class inherits a constructor from Braintrust::BaseModel
Instance Attribute Details
#diff ⇒ Float
Difference in score between the current and comparison experiment
29 |
# File 'lib/braintrust/models/score_summary.rb', line 29 optional :diff, Float |
#improvements ⇒ Integer
Number of improvements in the score
9 |
# File 'lib/braintrust/models/score_summary.rb', line 9 required :improvements, Integer |
#name_ ⇒ String
Name of the score
14 |
# File 'lib/braintrust/models/score_summary.rb', line 14 required :name_, String |
#regressions ⇒ Integer
Number of regressions in the score
19 |
# File 'lib/braintrust/models/score_summary.rb', line 19 required :regressions, Integer |
#score ⇒ Float
Average score across all examples
24 |
# File 'lib/braintrust/models/score_summary.rb', line 24 required :score, Float |