
    In a social networking platform's friend recommendation system, find the user ID of the most compatible potential friend from a list of user-compatibility pairs. Each pair contains a user ID and their compatibility score (where lower scores indicate better matches), and you need to return the user ID associated with the lowest compatibility score.
    

    
from operator import itemgetter

def index_minimum(test_list):
    """
    In a social networking platform's friend recommendation system, find the user ID of the most compatible potential friend from a list of user-compatibility pairs. Each pair contains a user ID and their compatibility score (where lower scores indicate better matches), and you need to return the user ID associated with the lowest compatibility score.
    

    """
from operator import itemgetter

def index_minimum(test_list):
    """
    In a social networking platform's friend recommendation system, find the user ID of the most compatible potential friend from a list of user-compatibility pairs. Each pair contains a user ID and their compatibility score (where lower scores indicate better matches), and you need to return the user ID associated with the lowest compatibility score.
    

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