Class: SkillBench::Services::FeedbackGenerator
- Inherits:
-
Object
- Object
- SkillBench::Services::FeedbackGenerator
- 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
-
.call(report) ⇒ Hash
Generates feedback sections from a DeltaReport.
Methods included from FormattingHelpers
delta_str, humanize, trend_icon, truncate
Class Method Details
.call(report) ⇒ Hash
Generates feedback sections from a DeltaReport.
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 |