<commit_before>import argparse
import numpy as np
from compute_cv import compute_Z, get_energies

class Jackknife_CV(object):
    
    def __init__(self, energies, nsubsets, K, T, P, ndof):
        self.E = np.array(energies)
        self.n = floor(float(K)/float(nsubsets))
        self.K = K
        self.nsubset = nsubset
        self.T = np.array(T)
        self.P = P
        self.ndof = ndof
    
    def __call__(self):
        ESplit = split_energies()
        EJack = jack_E_averages(Esplit)
        CvJack = jack_Cv_averages(EJack)<commit_msg>run_jackknife bug fix<commit_after>import argparse
import numpy as np
from compute_cv import compute_Z, get_energies

class Jackknife_CV(object):
    
    def __init__(self, energies, nsubsets, K, T, P, ndof):
        self.E = np.array(energies)
        self.n = np.floor(float(K)/float(nsubsets))
        self.K = K
        self.nsubset = nsubset
        self.T = np.array(T)
        self.P = P
        self.ndof = ndof
    
    def __call__(self):
        ESplit = split_energies()
        EJack = jack_E_averages(Esplit)
        CvJack = jack_Cv_averages(EJack)
{'fraction_non_alphanumeric': 0.09937332139659803, 'fraction_numerical': 0.0, 'mean_word_length': 2.4294478527607364, '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': '222232', 'n_tokens_mistral': 401, 'n_tokens_neox': 401, 'n_words': 87}