def score_response(ai_response, scenario): return { 'accuracy': 1.0 if ai_response == scenario.expected else 0.5, 'tone': 1.0, 'quality': 1.0, 'cost': 0.01 }