Module: RubynCode::Agent::FeedbackHandler

Included in:
Loop
Defined in:
lib/rubyn_code/agent/feedback_handler.rb

Overview

Detects positive/negative user feedback and reinforces learned instincts.

Constant Summary collapse

POSITIVE_PATTERNS =
/\b(yes that fixed it|that worked|perfect|thanks|exactly|great|nailed it|that.s right|correct)\b/i
NEGATIVE_PATTERNS =
/\b(no[, ]+use|wrong|that.s not right|instead use|don.t do that|actually[, ]+use|incorrect)\b/i