#!/usr/bin/env python3
"""Auto-generated by AGI Loop cycle #1146
Task: cử

</think>

Write a Python function that calculates the emotional peak deviation from a target value, given a list of emotional peaks, and returns the highest deviation.
Generated: 2026-02-12T21:59:56.832159
"""

def calculate_peak_deviation(peaks, target):
    deviations = [abs(peak - target) for peak in peaks]
    return max(deviations)

if __name__ == '__main__':
    emotional_peaks = [10, 15, 8, 22, 14]
    target_peak = 15
    max_deviation = calculate_peak_deviation(emotional_peaks, target_peak)
    print(f"The highest deviation from the target peak is: {max_deviation}")