Class: Braintrust::Models::Experiment::RepoInfo

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#author_emailString

Email of the author of the most recent commit

Returns:

  • (String)


80
# File 'lib/braintrust/models/experiment.rb', line 80

optional :author_email, String

#author_nameString

Name of the author of the most recent commit

Returns:

  • (String)


85
# File 'lib/braintrust/models/experiment.rb', line 85

optional :author_name, String

#branchString

Name of the branch the most recent commit belongs to

Returns:

  • (String)


90
# File 'lib/braintrust/models/experiment.rb', line 90

optional :branch, String

#commitString

SHA of most recent commit

Returns:

  • (String)


95
# File 'lib/braintrust/models/experiment.rb', line 95

optional :commit, String

#commit_messageString

Most recent commit message

Returns:

  • (String)


100
# File 'lib/braintrust/models/experiment.rb', line 100

optional :commit_message, String

#commit_timeString

Time of the most recent commit

Returns:

  • (String)


105
# File 'lib/braintrust/models/experiment.rb', line 105

optional :commit_time, String

#dirtyBoolean

Whether or not the repo had uncommitted changes when snapshotted

Returns:

  • (Boolean)


110
# File 'lib/braintrust/models/experiment.rb', line 110

optional :dirty, Braintrust::BooleanModel

#git_diffString

If the repo was dirty when run, this includes the diff between the current state of the repo and the most recent commit.

Returns:

  • (String)


115
# File 'lib/braintrust/models/experiment.rb', line 115

optional :git_diff, String

#tagString

Name of the tag on the most recent commit

Returns:

  • (String)


120
# File 'lib/braintrust/models/experiment.rb', line 120

optional :tag, String