"""
Lighting helpers for consistent categorization.
"""


def categorize_light(brightness_value: float) -> str:
    """Map brightness to legacy light bucket names."""
    if brightness_value > 150:
        return "High Light Video"
    if brightness_value > 50:
        return "Normal Light Video"
    return "Low Light Video"
