<commit_before>"""solution to the array pair sum problem"""


def pair_sum_arrays(k, arr):
    """returns the array of pairs using an iterative method."""

    result = []

    for i in range(len(arr)):
        for j in range(i + 1, len(arr)):
            if arr[i] + arr[j] == k:
                result.append([arr[i], arr[j]])
    return result<commit_msg>Modify styling to a proper one<commit_after>"""solution to the array pair sum problem"""

def pair_sum_arrays(k, arr):
    """returns the array of pairs using an iterative method."""

    result = []

    for i in range(len(arr)):
        for j in range(i + 1, len(arr)):
            if arr[i] + arr[j] == k:
                result.append([arr[i], arr[j]])

    return result
{'fraction_non_alphanumeric': 0.1446111869031378, 'fraction_numerical': 0.002728512960436562, 'mean_word_length': 2.563106796116505, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6520847', 'n_tokens_mistral': 238, 'n_tokens_neox': 222, 'n_words': 80}