
    In a credit assessment system, given a list of customer records where each record contains a customer ID and their credit score, identify the customer ID of the person with the lowest credit score. If multiple customers have the same lowest credit score, return the first customer ID encountered.
    

    
from operator import itemgetter

def index_minimum(test_list):
    """
    In a credit assessment system, given a list of customer records where each record contains a customer ID and their credit score, identify the customer ID of the person with the lowest credit score. If multiple customers have the same lowest credit score, return the first customer ID encountered.
    

    """
from operator import itemgetter

def index_minimum(test_list):
    """
    In a credit assessment system, given a list of customer records where each record contains a customer ID and their credit score, identify the customer ID of the person with the lowest credit score. If multiple customers have the same lowest credit score, return the first customer ID encountered.
    

    """
    res = min(test_list, key=itemgetter(1))[0]
    return res