def parse_result(track_result: dict):
    """
    Parse track result to string
    """
    lines = ""
    for metric_key in track_result:
        lines += f"{metric_key},"
        for class_key in track_result[metric_key]:
            lines += f"{track_result[metric_key][class_key]},"
        lines += "\n"
    return lines