<commit_before>from collections import OrderedDict

GENDER_MALE = 1
GENDER_FEMALE = 2
GENDER_NOT_SPECIFIED = 9

GENDERS = OrderedDict(
    [(GENDER_MALE, "Male"), (GENDER_FEMALE, "Female"), (GENDER_NOT_SPECIFIED, "Not Specified")]
)

SIGNED_OFF_NOT_COMPLETE = 0
SIGNED_OFF_NURTURE_BASELINE = 1
SIGNED_OFF_FOLLOW_UP = 2

SIGNED_OFF = OrderedDict(
    [
        (SIGNED_OFF_NOT_COMPLETE, "Not signed off"), 
        (SIGNED_OFF_NURTURE_BASELINE, "Nurture baseline data complete"), 
        (SIGNED_OFF_FOLLOW_UP, "Nurture Baseline and follow up data complete")
    ]
)

ETHNICITIES = OrderedDict(
    [
        ("A", "White - British"),
        ("B", "White - Irish"),
        ("C", "Other White Background"),<commit_msg>Added refused code for signed_off<commit_after>from collections import OrderedDict

GENDER_MALE = 1
GENDER_FEMALE = 2
GENDER_NOT_SPECIFIED = 9

GENDERS = OrderedDict(
    [(GENDER_MALE, "Male"), (GENDER_FEMALE, "Female"), (GENDER_NOT_SPECIFIED, "Not Specified")]
)

SIGNED_OFF_NOT_COMPLETE = 0
SIGNED_OFF_NURTURE_BASELINE = 1
SIGNED_OFF_FOLLOW_UP = 2
SIGNED_OFF_FOLLOW_UP_REFUSED =3 

SIGNED_OFF = OrderedDict(
    [
        (SIGNED_OFF_NOT_COMPLETE, "Not signed off"), 
        (SIGNED_OFF_NURTURE_BASELINE, "Nurture baseline data complete"), 
        (SIGNED_OFF_FOLLOW_UP, "Nurture Baseline and follow up data complete"),
        (SIGNED_OFF_FOLLOW_UP_REFUSED, "Patient refused Follow Up")
    ]
)

ETHNICITIES = OrderedDict(
    [
        ("A", "White - British"),
        ("B", "White - Irish"),
        ("C", "Other White Background"),
{'fraction_non_alphanumeric': 0.10961538461538461, 'fraction_numerical': 0.008333333333333333, 'mean_word_length': 4.051779935275081, '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': '2203812', 'n_tokens_mistral': 620, 'n_tokens_neox': 589, 'n_words': 122}