human
Solve the following python programming problem given the following code:
def flash_test(board_id) : 
    with MbedBoard.chooseBoard (board_id = board_id, frequency = 1000000) as board : 
        target_type = board.getTargetType () 
        test_clock = 10000000 
        if (target_type == 'nrf51') : 
            test_clock = 1000000 
memory_map = board.target.getMemoryMap () 
        ram_regions = [region for region in memory_map if (region.type == 'ram')] 
        ram_region = ram_regions [0] 
        rom_region = memory_map.getBootMemory () 
        ram_start = ram_region.start 
        ram_size = ram_region.length 
        rom_start = rom_region.start 
        rom_size = rom_region.length 
        target = board.target 
        link = board.link 
        flash = board.flash 
        link.set_clock (test_clock) 
        link.set_deferred_transfer (True) 
        test_pass_count = 0 
        test_count = 0 
        result = FlashTestResult () 
        def print_progress(progress) : 
            assert (progress >= 0.0) 
            assert (progress <= 1.0) 
            assert (((progress == 0) and (print_progress.prev_progress == 1.0)) or (progress >= print_progress.prev_progress)) 
            if (progress == 0.0) : 
                print_progress.prev_progress = 0 
                print_progress.backwards_progress = False 
                print_progress.done = False 
if (progress < print_progress.prev_progress) : 
                print_progress.backwards_progress = True 
print_progress.prev_progress = progress 
            if (not print_progress.done) : 
                sys.stdout.write ('\r') 
                i = int ((progress * 20.0)) 
                sys.stdout.write (('[%-20s] %3d%%' % (('=' * i), round ((progress * 100))))) 
                sys.stdout.flush () 
if (progress >= 1.0) : 
                if (not print_progress.done) : 
                    print_progress.done = True 
                    sys.stdout.write ('
') 
                    if print_progress.backwards_progress : 
                        print ('Progress went backwards during flash')...

    
    

    Fix the buggy line: if (same (data_flashed_more, data) and same (data_flashed_more, more_data)) :
assistant
#Here is Python program to fix the buggy line: if (same (data_flashed_more, data) and same (data_flashed_more, more_data)) :
.

if (same (data_flashed, data) and same (data_flashed_more, more_data)) :