def gen_run_entry_str(query_id, doc_id, rank, score, run_id):
    """A simple function to generate one run entry.

    :param query_id: query id
    :param doc_id:   document id
    :param rank:    entry rank
    :param score:   entry score
    :param run_id:   run id

    """
    return f'{query_id} Q0 {doc_id} {rank} {score} {run_id}'