def genRunEntryStr(queryId, docId, rank, score, runId):
    """A simple function to generate one run entry.

    :param queryId: query id
    :param docId:   document id
    :param rank:    entry rank
    :param score:   entry score
    :param runId:   run id

    """
    return f'{queryId} Q0 {docId} {rank} {score} {runId}'