Class: LLMExperiment::App

Inherits:
Data
  • Object
show all
Defined in:
lib/llm_experiment/experiment.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#branch_prefixObject (readonly)

Returns the value of attribute branch_prefix

Returns:

  • (Object)

    the current value of branch_prefix



6
7
8
# File 'lib/llm_experiment/experiment.rb', line 6

def branch_prefix
  @branch_prefix
end

#bundlerObject (readonly)

Returns the value of attribute bundler

Returns:

  • (Object)

    the current value of bundler



6
7
8
# File 'lib/llm_experiment/experiment.rb', line 6

def bundler
  @bundler
end

#databaseObject (readonly)

Returns the value of attribute database

Returns:

  • (Object)

    the current value of database



6
7
8
# File 'lib/llm_experiment/experiment.rb', line 6

def database
  @database
end

#db_prepareObject (readonly)

Returns the value of attribute db_prepare

Returns:

  • (Object)

    the current value of db_prepare



6
7
8
# File 'lib/llm_experiment/experiment.rb', line 6

def db_prepare
  @db_prepare
end

#keyObject (readonly)

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



6
7
8
# File 'lib/llm_experiment/experiment.rb', line 6

def key
  @key
end

#neutralizeObject (readonly)

Returns the value of attribute neutralize

Returns:

  • (Object)

    the current value of neutralize



6
7
8
# File 'lib/llm_experiment/experiment.rb', line 6

def neutralize
  @neutralize
end

#publish_transcriptsObject (readonly)

Returns the value of attribute publish_transcripts

Returns:

  • (Object)

    the current value of publish_transcripts



6
7
8
# File 'lib/llm_experiment/experiment.rb', line 6

def publish_transcripts
  @publish_transcripts
end

#rubyObject (readonly)

Returns the value of attribute ruby

Returns:

  • (Object)

    the current value of ruby



6
7
8
# File 'lib/llm_experiment/experiment.rb', line 6

def ruby
  @ruby
end

#suite_ran_patternObject (readonly)

Returns the value of attribute suite_ran_pattern

Returns:

  • (Object)

    the current value of suite_ran_pattern



6
7
8
# File 'lib/llm_experiment/experiment.rb', line 6

def suite_ran_pattern
  @suite_ran_pattern
end

#test_commandObject (readonly)

Returns the value of attribute test_command

Returns:

  • (Object)

    the current value of test_command



6
7
8
# File 'lib/llm_experiment/experiment.rb', line 6

def test_command
  @test_command
end

Instance Method Details

#imageObject



14
15
16
# File 'lib/llm_experiment/experiment.rb', line 14

def image
  "llmx-app-#{key}:latest"
end

#repo_pathObject

Host checkout paths never live in experiment.yml; they identify the machine and belong in the environment (.apps.local convention).



10
11
12
# File 'lib/llm_experiment/experiment.rb', line 10

def repo_path
  ENV["LLMX_APP_#{key.upcase}"]
end