def METHOD_NAME(output, metric):
    """Function for parsing the output from MS MARCO eval scripts, but returning result as a string. This is used for
       checking results to the entire degree of precision that the script generates."""
    for line in output.split('\n'):
        if metric in line:
            return line.split()[-1]
    return None