<commit_before>import numpy as np

reorder_bonds = lambda i0, i1: (min(i0, i1), max(i0, i1))
reorder_angles = lambda i0, i1, i2: (min(i0, i2), i1, max(i0, i2))
reorder_torsions = lambda i0, i1, i2, i3: (i0, i1, i2, i3)

def reorder_torsions(i0, i1, i2, i3, phase):
    if len(set([i0, i1, i2, i3])) == 4:  # Unique atoms
        if i0 < i3:
            j0, j1, j2, j3 = i0, i1, i2, i3
        else:
            j0, j1, j2, j3 = i3, i2, i1, i0
        if abs(phase - np.pi) < 1E-4:  # Four unique atoms in a planar configuration?  Not sure here...
            
    else:
        j0, j1, j2, j3 = i0, i1, i2, i3<commit_msg>Minor bugfix so that checker compiles<commit_after>import numpy as np

reorder_bonds = lambda i0, i1: (min(i0, i1), max(i0, i1))
reorder_angles = lambda i0, i1, i2: (min(i0, i2), i1, max(i0, i2))
reorder_torsions = lambda i0, i1, i2, i3: (i0, i1, i2, i3)

def reorder_torsions(i0, i1, i2, i3, phase):
    if len(set([i0, i1, i2, i3])) == 4:  # Unique atoms
        if i0 < i3:
            j0, j1, j2, j3 = i0, i1, i2, i3
        else:
            j0, j1, j2, j3 = i3, i2, i1, i0
        if abs(phase - np.pi) < 1E-4:  # Four unique atoms in a planar configuration?  Not sure here...
            pass
    else:
        j0, j1, j2, j3 = i0, i1, i2, i3
{'fraction_non_alphanumeric': 0.15118110236220472, 'fraction_numerical': 0.09291338582677165, 'mean_word_length': 2.3272251308900525, 'pattern_counts': {'":': 0, '<': 7, '<?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': '2720169', 'n_tokens_mistral': 599, 'n_tokens_neox': 590, 'n_words': 183}