Class: Braintrust::Eval::ExperimentSummary
- Inherits:
-
Struct
- Object
- Struct
- Braintrust::Eval::ExperimentSummary
- Defined in:
- lib/braintrust/eval/summary.rb
Overview
Summary of results from an Experiment Typically used to generate experiment output
Instance Attribute Summary collapse
-
#duration ⇒ Float
Duration in seconds.
-
#error_count ⇒ Integer
Number of errors.
-
#errors ⇒ Array<String>
Error messages with locations.
-
#experiment_id ⇒ String
Experiment ID.
-
#experiment_name ⇒ String
Experiment name.
-
#experiment_url ⇒ String
URL to view experiment in Braintrust UI.
-
#project_name ⇒ String
Project name.
-
#scores ⇒ Hash<String, ScorerStats>
Scorer stats keyed by scorer name.
Instance Attribute Details
#duration ⇒ Float
Duration in seconds
20 21 22 |
# File 'lib/braintrust/eval/summary.rb', line 20 def duration @duration end |
#error_count ⇒ Integer
Number of errors
20 21 22 |
# File 'lib/braintrust/eval/summary.rb', line 20 def error_count @error_count end |
#errors ⇒ Array<String>
Error messages with locations
20 21 22 |
# File 'lib/braintrust/eval/summary.rb', line 20 def errors @errors end |
#experiment_id ⇒ String
Experiment ID
20 21 22 |
# File 'lib/braintrust/eval/summary.rb', line 20 def experiment_id @experiment_id end |
#experiment_name ⇒ String
Experiment name
20 21 22 |
# File 'lib/braintrust/eval/summary.rb', line 20 def experiment_name @experiment_name end |
#experiment_url ⇒ String
URL to view experiment in Braintrust UI
20 21 22 |
# File 'lib/braintrust/eval/summary.rb', line 20 def experiment_url @experiment_url end |
#project_name ⇒ String
Project name
20 21 22 |
# File 'lib/braintrust/eval/summary.rb', line 20 def project_name @project_name end |
#scores ⇒ Hash<String, ScorerStats>
Scorer stats keyed by scorer name
20 21 22 |
# File 'lib/braintrust/eval/summary.rb', line 20 def scores @scores end |