<commit_before>
def find_pairs_simple(candidate_array, TARGET_VALUE=10):
    """Find pairs of numbers that sum to TARGET_VALUE, e.g. 10.
       This version runs slower than the modified one below

    >>> find_pairs_simple([9])
    
    >>> find_pairs_simple([1,9])
    1,9
    >>> find_pairs_simple([9,1])
    9,1
    >>> find_pairs_simple([9,1,6])
    9,1
    >>> find_pairs_simple([9,6,1])
    9,1
    >>> find_pairs_simple([9,6,1,4,7])
    9,1
    6,4
    >>> find_pairs_simple([5])
    
    >>> find_pairs_simple([5,5])
    5,5
    >>> find_pairs_simple([1,3,7,5,9])
    1,9
    3,7
    >>> find_pairs_simple([1,3,7,5,9], 14)
    5,9
    >>> find_pairs_simple([13,-3,7,5,9])
    13,-3
    """
    for i in range(len(candidate_array)):
        for j in range(i, len(candidate_array)):
            if (TARGET_VALUE == candidate_array[i] + candidate_array[j]):
                #print "%d,%d" % (candidate_array[i], candidate_array[j])
                None



def find_pairs(candidate_array, TARGET_VALUE=10):
    """Find pairs of numbers that sum to TARGET_VALUE, e.g. 10.<commit_msg>Fix accidental duplicating of value in simple case<commit_after>
def find_pairs_simple(candidate_array, TARGET_VALUE=10):
    """Find pairs of numbers that sum to TARGET_VALUE, e.g. 10.
       This version runs slower than the modified one below

    >>> find_pairs_simple([9])
    
    >>> find_pairs_simple([1,9])
    1,9
    >>> find_pairs_simple([9,1])
    9,1
    >>> find_pairs_simple([9,1,6])
    9,1
    >>> find_pairs_simple([9,6,1])
    9,1
    >>> find_pairs_simple([9,6,1,4,7])
    9,1
    6,4
    >>> find_pairs_simple([5])
    
    >>> find_pairs_simple([5,5])
    5,5
    >>> find_pairs_simple([1,3,7,5,9])
    1,9
    3,7
    >>> find_pairs_simple([1,3,7,5,9], 14)
    5,9
    >>> find_pairs_simple([13,-3,7,5,9])
    13,-3
    """
    for i in range(len(candidate_array)):
        for j in range(i + 1, len(candidate_array)):
            if (TARGET_VALUE == candidate_array[i] + candidate_array[j]):
                #print "%d,%d" % (candidate_array[i], candidate_array[j])
                None



def find_pairs(candidate_array, TARGET_VALUE=10):
    """Find pairs of numbers that sum to TARGET_VALUE, e.g. 10.
{'fraction_non_alphanumeric': 0.1620767494356659, 'fraction_numerical': 0.0618510158013544, 'mean_word_length': 2.9430604982206408, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 69, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1968575', 'n_tokens_mistral': 891, 'n_tokens_neox': 853, 'n_words': 161}