<commit_before>import numpy as np
def correct(pop):

    """ I went through all the planets shown in the Dressing et al. (2015)
        mass-radius diagram to double the values that are present in the
        NASA Exoplanet Archive."""

    # parameters taken from the updates in Demory et al. (2015, *submitted*)
    '''pop.correct('55 Cnce',
                planet_radius=1.92,
                planet_radius_upper=0.08,
                planet_radius_lower=-0.08,
                a_over_r=3.53,
                planet_mass=8.08,
                planet_mass_upper=0.31,
                planet_mass_lower=-0.31,
                b=0.36)'''

    pop.correct('HD 209458b',

                planet_mass=235.0,
                planet_mass_upper=19.0,
                planet_mass_lower=-19.0,
                teff=6065.0)



    # from Gillon et al. (2012) (and some from Demory et al.)
    pop.correct('55 Cnce',
                planet_radius=2.17,
                planet_radius_upper=0.1,<commit_msg>new curation on HD189733b<commit_after>import numpy as np


def correct(pop):


    """I corrected the famous ones, which have weird choices in the archive."""
    pop.correct('HD 209458b',

                planet_mass=235.0,
                planet_mass_upper=19.0,
                planet_mass_lower=-19.0,
                teff=6065.0)

    pop.correct('HD 189733b',
                planet_radius=13.630,
                planet_radius_upper=0.269,
                planet_radius_lower=-0.269,
                planet_mass=369.303,
                planet_mass_upper=18.433,
                planet_mass_lower=-18.433)

    """ I went through all the planets shown in the Dressing et al. (2015)
        mass-radius diagram to double check the values that are present in the
        NASA Exoplanet Archive."""

    # parameters taken from the updates in Demory et al. (2015, *submitted*)
    '''pop.correct('55 Cnce',
                planet_radius=1.92,
                planet_radius_upper=0.08,
                planet_radius_lower=-0.08,
                a_over_r=3.53,
                planet_mass=8.08,
                planet_mass_upper=0.31,
                planet_mass_lower=-0.31,
                b=0.36)'''



    # from Gillon et al. (2012) (and some from Demory et al.)
    pop.correct('55 Cnce',
                planet_radius=2.17,
                planet_radius_upper=0.1,
{'fraction_non_alphanumeric': 0.09582102152807091, 'fraction_numerical': 0.07302659349936683, 'mean_word_length': 1.65993265993266, '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': '6410381', 'n_tokens_mistral': 835, 'n_tokens_neox': 716, 'n_words': 173}