Class: Braintrust::Models::ScoreSummary

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/braintrust/models/score_summary.rb

Instance Attribute Summary collapse

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

#diffFloat

Difference in score between the current and comparison experiment

Returns:

  • (Float)


29
# File 'lib/braintrust/models/score_summary.rb', line 29

optional :diff, Float

#improvementsInteger

Number of improvements in the score

Returns:

  • (Integer)


9
# File 'lib/braintrust/models/score_summary.rb', line 9

required :improvements, Integer

#name_String

Name of the score

Returns:

  • (String)


14
# File 'lib/braintrust/models/score_summary.rb', line 14

required :name_, String

#regressionsInteger

Number of regressions in the score

Returns:

  • (Integer)


19
# File 'lib/braintrust/models/score_summary.rb', line 19

required :regressions, Integer

#scoreFloat

Average score across all examples

Returns:

  • (Float)


24
# File 'lib/braintrust/models/score_summary.rb', line 24

required :score, Float