
    In a real-time fraud detection system, given a list of transaction data pairs where each pair contains a transaction ID and its risk score, find the transaction ID associated with the lowest risk score to identify the safest transaction in the current batch. The risk scores are calculated based on various fraud detection parameters, and lower scores indicate safer transactions.
    

    
from operator import itemgetter

def index_minimum(test_list):
    """
    In a real-time fraud detection system, given a list of transaction data pairs where each pair contains a transaction ID and its risk score, find the transaction ID associated with the lowest risk score to identify the safest transaction in the current batch. The risk scores are calculated based on various fraud detection parameters, and lower scores indicate safer transactions.
    

    """
from operator import itemgetter

def index_minimum(test_list):
    """
    In a real-time fraud detection system, given a list of transaction data pairs where each pair contains a transaction ID and its risk score, find the transaction ID associated with the lowest risk score to identify the safest transaction in the current batch. The risk scores are calculated based on various fraud detection parameters, and lower scores indicate safer transactions.
    

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