<commit_before>from __future__ import division, print_function

def get_ivar(data, s2):
    """
    Return a copy of the inverse variance array with jitter included.

    This is safe for zero'd out inverse variances.

    Parameters
    ----------
    data : `~thejoker.data.RVData`
    s2 : numeric
        Jitter squared in the same units as the RV data.

    """
    return data.ivar.value / (1 + s2 * data.ivar.value)<commit_msg>assume jitter not jitter squared<commit_after>from __future__ import division, print_function

def get_ivar(data, s):
    """
    Return a copy of the inverse variance array with jitter included.

    This is safe for zero'd out inverse variances.

    Parameters
    ----------
    data : `~thejoker.data.RVData`
    s : numeric
        Jitter in the same units as the RV data.

    """
    return data.ivar.value / (1 + s**2 * data.ivar.value)
{'fraction_non_alphanumeric': 0.10238907849829351, 'fraction_numerical': 0.006825938566552901, 'mean_word_length': 2.5483870967741935, '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': '1175136', 'n_tokens_mistral': 278, 'n_tokens_neox': 260, 'n_words': 96}