def resetChapterProgress(chapterProgressDict, chapter, initRepeatLevel):
    """This method resets chapter progress and sets initial level for repeat routine.

    Args:
        chapterProgressDict (dict): Chapter progress data.
        chapter (int): Number of the chapter.
        initRepeatLevel (int): Initial level for repeat routine.

    Returns:
        dictionary: Return Reseted chapter progress dictionary with initial level set.
    """

    chapterProgressDict[chapter]["status"] = "Not started"
    chapterProgressDict[chapter]["progress"]["current"] = 0
    chapterProgressDict[chapter]["correct"] = {"correct":0, "subtotal":0, "rate":''}
    chapterProgressDict[chapter]["repeatLevel"] = initRepeatLevel

    return chapterProgressDict