Class: Braintrust::Eval::ExperimentSummary

Inherits:
Struct
  • Object
show all
Defined in:
lib/braintrust/eval/summary.rb

Overview

Summary of results from an Experiment Typically used to generate experiment output

Instance Attribute Summary collapse

Instance Attribute Details

#durationFloat

Duration in seconds



20
21
22
# File 'lib/braintrust/eval/summary.rb', line 20

def duration
  @duration
end

#error_countInteger

Number of errors



20
21
22
# File 'lib/braintrust/eval/summary.rb', line 20

def error_count
  @error_count
end

#errorsArray<String>

Error messages with locations



20
21
22
# File 'lib/braintrust/eval/summary.rb', line 20

def errors
  @errors
end

#experiment_idString

Experiment ID



20
21
22
# File 'lib/braintrust/eval/summary.rb', line 20

def experiment_id
  @experiment_id
end

#experiment_nameString

Experiment name



20
21
22
# File 'lib/braintrust/eval/summary.rb', line 20

def experiment_name
  @experiment_name
end

#experiment_urlString

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_nameString

Project name



20
21
22
# File 'lib/braintrust/eval/summary.rb', line 20

def project_name
  @project_name
end

#scoresHash<String, ScorerStats>

Scorer stats keyed by scorer name



20
21
22
# File 'lib/braintrust/eval/summary.rb', line 20

def scores
  @scores
end