parsers/src/main/python/utils/DBExtractor.py
def retrieveName(list, result):
    """
    Retrieve the name of the problems, and sort the dictionary wrt to their name
    :param list: list of specific pids
    :param result: a list of result -- to get the name
    :return:
    """
    dict = OrderedDict()
    for pid in list:
        name = result.get(pid).name
        name = name.replace("_", "\_")
        dict[name] = pid
    return OrderedDict(sorted(dict.items(), key=lambda t: t[0]))

    Retrieve the name of the problems, and sort the dictionary wrt to their name
    :param list: list of specific pids
    :param result: a list of result -- to get the name
    :return:
    
Retrieve the name of the problems, and sort the dictionary wrt to their name
Retrieve the name of the problems and sort the dictionary wrt to their name
def retrieveName(list, result):
    dict = OrderedDict()
    for pid in list:
        name = result.get(pid).name
        name = name.replace("_", "\_")
        dict[name] = pid
    return OrderedDict(sorted(dict.items(), key=lambda t: t[0]))
def retrieveName ( list , result ) : dict = OrderedDict ( ) for pid in list : name = result . get ( pid ) . name name = name . replace ( "_" , "\_" ) dict [ name ] = pid return OrderedDict ( sorted ( dict . items ( ) , key = lambda t : t [ 0 ] ) )
Retrieve the name of the problems, and sort the dictionary wrt to their name
Retrieve the name of the problems and sort the dictionary wrt to their name
"""
    Retrieve the name of the problems, and sort the dictionary wrt to their name
    :param list: list of specific pids
    :param result: a list of result -- to get the name
    :return:
    """
None
list
list of specific pids
list of specific pids
result
a list of result -- to get the name
a list of result -- to get the name