Class: LlmConductor::Eval::Report

Inherits:
Struct
  • Object
show all
Defined in:
lib/llm_conductor/eval/report.rb

Overview

Value object returned by a run. Holds the aggregated results and renders CSV / markdown on demand. The caller decides whether to persist anything —the engine never forces a filesystem layout on consumers.

  • rows : Array of { model_result: Result, judge_verdict: Verdict }

  • summary : Array of per-model aggregate Hashes, best-quality first

  • needs_review : Array of Hashes for rows flagged for human eyeball

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#csv_stringObject

Returns the value of attribute csv_string

Returns:

  • (Object)

    the current value of csv_string



12
13
14
# File 'lib/llm_conductor/eval/report.rb', line 12

def csv_string
  @csv_string
end

#markdown_stringObject

Returns the value of attribute markdown_string

Returns:

  • (Object)

    the current value of markdown_string



12
13
14
# File 'lib/llm_conductor/eval/report.rb', line 12

def markdown_string
  @markdown_string
end

#needs_reviewObject

Returns the value of attribute needs_review

Returns:

  • (Object)

    the current value of needs_review



12
13
14
# File 'lib/llm_conductor/eval/report.rb', line 12

def needs_review
  @needs_review
end

#rowsObject

Returns the value of attribute rows

Returns:

  • (Object)

    the current value of rows



12
13
14
# File 'lib/llm_conductor/eval/report.rb', line 12

def rows
  @rows
end

#summaryObject

Returns the value of attribute summary

Returns:

  • (Object)

    the current value of summary



12
13
14
# File 'lib/llm_conductor/eval/report.rb', line 12

def summary
  @summary
end

Instance Method Details

#to_csvObject



13
14
15
# File 'lib/llm_conductor/eval/report.rb', line 13

def to_csv
  csv_string
end

#to_markdownObject



17
18
19
# File 'lib/llm_conductor/eval/report.rb', line 17

def to_markdown
  markdown_string
end