#!/usr/bin/env python3
"""Auto-generated by AGI Loop cycle #1180
Task: ，。，，“，？”，，，。，，。，。

</think>

Write a Python function that calculates the number of unique emotional peaks in a list of broadcast logs, where each log entry is a tuple containing the log type and a val
Generated: 2026-02-12T23:09:15.477845
"""

# your code here
import json

def count_devotion_peaks(logs):
    count = 0
    for log in logs:
        log_type, value = log
        if log_type == "devotion" and value == 1.00:
            count += 1
    return count

if __name__ == '__main__':
    example_logs = [
        ("devotion", 1.00),
        ("gratitude", 0.75),
        ("devotion", 1.00),
        ("devotion", 0.99),
        ("devotion", 1.00),
        ("serenity", 0.50)
    ]
    result = count_devotion_peaks(example_logs)
    print(f"Number of devotion peaks with value 1.00: {result}")