<commit_before>every :: Int -> [a] -> [a]
every n xs
   | n > (length xs) = []
   | otherwise       = case drop (n-1) xs of 
                        (y:ys) -> y : every n ys
                        []     -> []

buildList :: [a] -> [[a]] -> [[a]]
buildList xs xsList 
   | (length xsList) < (length xs) = buildList xs (xsList ++ [(every (length xsList) xs)])                 
   | otherwise                = xsList

skips :: [a] -> [[a]]
skips xs = buildList xs [[]]<commit_msg>removed empty head from result<commit_after>every :: Int -> [a] -> [a]
every n xs
   | n > (length xs) = []
   | otherwise       = case drop (n-1) xs of 
                        (y:ys) -> y : every n ys
                        []     -> []

buildList :: [a] -> [[a]] -> [[a]]
buildList xs xsList 
   | (length xsList) < (length xs) = buildList xs (xsList ++ [(every (length xsList) xs)])                 
   | otherwise                = drop 1 xsList

skips :: [a] -> [[a]]
skips xs = buildList xs [[]]
{'fraction_non_alphanumeric': 0.17755102040816326, 'fraction_numerical': 0.003061224489795918, 'mean_word_length': 1.5613577023498695, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, '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': '44581', 'n_tokens_mistral': 355, 'n_tokens_neox': 314, 'n_words': 102}