
    Design a function that determines the smallest standardized credit score threshold (which must be a power of 2) that is greater than or equal to a customer's raw credit score, ensuring consistent risk assessment categorization. This standardization is crucial for the bank's automated credit evaluation system, which uses power-of-2 score brackets to assess creditworthiness.
    

    
def next_power_of_2(n):
    """
    Design a function that determines the smallest standardized credit score threshold (which must be a power of 2) that is greater than or equal to a customer's raw credit score, ensuring consistent risk assessment categorization. This standardization is crucial for the bank's automated credit evaluation system, which uses power-of-2 score brackets to assess creditworthiness.
    

    """
def next_power_of_2(n):
    """
    Design a function that determines the smallest standardized credit score threshold (which must be a power of 2) that is greater than or equal to a customer's raw credit score, ensuring consistent risk assessment categorization. This standardization is crucial for the bank's automated credit evaluation system, which uses power-of-2 score brackets to assess creditworthiness.
    

    """
    if n and (not n & n - 1):
        return n
    count = 0
    while n != 0:
        n >>= 1
        count += 1
    return 1 << count