Class: LLMExperiment::CLI::StatusCommand
- Defined in:
- lib/llm_experiment/cli/status_command.rb
Constant Summary collapse
- NAME =
"status"- SUMMARY =
"grid completion: which cells have results"
Instance Method Summary collapse
Methods inherited from Command
Constructor Details
This class inherits a constructor from LLMExperiment::CLI::Command
Instance Method Details
#add_options(parser) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/llm_experiment/cli/status_command.rb', line 9 def (parser) parser. = <<~BANNER Usage: llmx status [options] One row per task, one column per agent x condition. A cell reads `done` once it has a run that got as far as writing meta.json. Trials run one at a time, on purpose: two at once share the machine and contaminate wall_seconds. Expect the grid to take as long as the sum of its cells, and resume it with `llmx run --all` whenever it is interrupted. BANNER parser.on("--app KEY", "only this app's tasks") { |v| @app = v } parser.on("--task ID", "only this task") { |v| @task = v } parser.on("--agent NAME", "only this agent") { |v| @agent = v } end |