Class: SkillBench::Services::FeedbackGenerator

Inherits:
Object
  • Object
show all
Extended by:
FormattingHelpers
Defined in:
lib/skill_bench/services/feedback_generator.rb

Overview

Categorizes dimension scores into “what went well”, “what went wrong”, and actionable advice based on judge reasoning.

Class Method Summary collapse

Methods included from FormattingHelpers

delta_str, humanize, trend_icon, truncate

Class Method Details

.call(report) ⇒ Hash

Generates feedback sections from a DeltaReport.

Parameters:

Returns:

  • (Hash)

    Standardized response hash:

    • { success: true, response: { output: String } }



17
18
19
20
# File 'lib/skill_bench/services/feedback_generator.rb', line 17

def self.call(report)
  output = generate_feedback(report)
  { success: true, response: { output: output } }
end