Class: LlmConductor::Eval::Report
- Inherits:
-
Struct
- Object
- Struct
- LlmConductor::Eval::Report
- 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
-
#csv_string ⇒ Object
Returns the value of attribute csv_string.
-
#markdown_string ⇒ Object
Returns the value of attribute markdown_string.
-
#needs_review ⇒ Object
Returns the value of attribute needs_review.
-
#rows ⇒ Object
Returns the value of attribute rows.
-
#summary ⇒ Object
Returns the value of attribute summary.
Instance Method Summary collapse
Instance Attribute Details
#csv_string ⇒ Object
Returns the value of attribute csv_string
12 13 14 |
# File 'lib/llm_conductor/eval/report.rb', line 12 def csv_string @csv_string end |
#markdown_string ⇒ Object
Returns the value of attribute markdown_string
12 13 14 |
# File 'lib/llm_conductor/eval/report.rb', line 12 def markdown_string @markdown_string end |
#needs_review ⇒ Object
Returns the value of attribute needs_review
12 13 14 |
# File 'lib/llm_conductor/eval/report.rb', line 12 def needs_review @needs_review end |
#rows ⇒ Object
Returns the value of attribute rows
12 13 14 |
# File 'lib/llm_conductor/eval/report.rb', line 12 def rows @rows end |
#summary ⇒ Object
Returns the value of attribute summary
12 13 14 |
# File 'lib/llm_conductor/eval/report.rb', line 12 def summary @summary end |
Instance Method Details
#to_csv ⇒ Object
13 14 15 |
# File 'lib/llm_conductor/eval/report.rb', line 13 def to_csv csv_string end |
#to_markdown ⇒ Object
17 18 19 |
# File 'lib/llm_conductor/eval/report.rb', line 17 def to_markdown markdown_string end |