def increment_cache(key, increment):
    """Increment cache by value increment, never exceed 100."""
    value = cache.get(key) or 0.0
    value = float(value)
    if 100.0 >= value + increment:
        value = 100.0
    else:
        value += increment

    cache.set(key, value)
dataset/ETHPy150Open buildingenergy/buildingenergy-platform/seed/decorators.py/increment_cache/swapped operands of `>=`