
    Write a function that analyzes a collection of student essays, where each essay is represented by its unique ID and number of grammatical errors, to identify the ID of the essay containing the least number of errors. The function should return the essay ID that corresponds to the submission with the minimum error count.
    

    
from operator import itemgetter

def index_minimum(test_list):
    """
    Write a function that analyzes a collection of student essays, where each essay is represented by its unique ID and number of grammatical errors, to identify the ID of the essay containing the least number of errors. The function should return the essay ID that corresponds to the submission with the minimum error count.
    

    """
from operator import itemgetter

def index_minimum(test_list):
    """
    Write a function that analyzes a collection of student essays, where each essay is represented by its unique ID and number of grammatical errors, to identify the ID of the essay containing the least number of errors. The function should return the essay ID that corresponds to the submission with the minimum error count.
    

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