<commit_before>import pickle

def encode_long(l):
   if l == 0:
       return '\x00'

   return ''.join(reversed(pickle.encode_long(l)))

def decode_long(s):
   return pickle.decode_long(''.join(reversed(s)))

def power_mod(base, exp, modulus):
    square = base % modulus
    result = 1
    while exp > 0:
        if exp & 1 == 1:
            result = (result * square) % modulus
        exp /= 2
        
        square = (square * square) % modulus
    
    return result


### DH Constants
DEFAULT_MOD = 155172898181473697471232257763715539915724801966915404479707795314057629378541917580651227423698188993727816152646631438561595825688188889951272158842675419950341258706556549803580104870537681476726513255747040765857479291291572334510643245094715007229621094194349783925984760375594985848253359305585439638443L

DEFAULT_GEN = 2<commit_msg>[project @ Removed unnecessary power_mod code]<commit_after>import pickle

def encode_long(l):
   if l == 0:
       return '\x00'

   return ''.join(reversed(pickle.encode_long(l)))

def decode_long(s):
   return pickle.decode_long(''.join(reversed(s)))

### DH Constants
DEFAULT_MOD = 155172898181473697471232257763715539915724801966915404479707795314057629378541917580651227423698188993727816152646631438561595825688188889951272158842675419950341258706556549803580104870537681476726513255747040765857479291291572334510643245094715007229621094194349783925984760375594985848253359305585439638443L

DEFAULT_GEN = 2
{'fraction_non_alphanumeric': 0.07465753424657534, 'fraction_numerical': 0.4321917808219178, 'mean_word_length': 5.763888888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '6446575', 'n_tokens_mistral': 929, 'n_tokens_neox': 551, 'n_words': 73}