pub fn update_reputation(current: f32, success: bool, weight: f32) -> f32
Update reputation based on success/failure events.