<commit_before># cohens_kappa
Functions for computing Cohen's kappa (𝜅), a measure of inter-annotator  agreement between exactly two annotators.

Cohen's kappa is computed as follows:

        Pr(a) - Pr(e)
    𝜅 = -------------
          1 - Pr(e)
    
Where Pr(a) is observed agreement and Pr(e) is expected agreement.<commit_msg>Added header1 and header2 to be more descriptive<commit_after># Cohen's kappa
## cohen.py
Functions for computing Cohen's kappa (𝜅), a measure of inter-annotator  agreement between exactly two annotators.

Cohen's kappa is computed as follows:

        Pr(a) - Pr(e)
    𝜅 = -------------
          1 - Pr(e)
    
Where Pr(a) is observed agreement and Pr(e) is expected agreement.
{'fraction_non_alphanumeric': 0.1151685393258427, 'fraction_numerical': 0.0056179775280898875, 'mean_word_length': 2.7526315789473683, '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': '6357156', 'n_tokens_mistral': 228, 'n_tokens_neox': 216, 'n_words': 84}