<commit_before>#!/usr/bin/env python

#-----------------------------------------------------------------------------
# Copyright (c) 2013--, scikit-bio development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------

from __future__ import division
from skbio.maths.stats.special import MACHEP, ndtri
from skbio.maths.stats.distribution import (chi_high, zprob, f_high,
                                            binomial_high, t_high, t_low,
                                            tprob)
from numpy import (absolute, arctanh, array, asarray, concatenate, transpose,
                   ravel, take, nonzero, log, sum, mean, tanh, isnan, isinf,
                   sqrt, trace, zeros, ones, var, std)
from numpy.random import permutation, randint

<commit_msg>added seterr to raise on divide<commit_after>#!/usr/bin/env python

#-----------------------------------------------------------------------------
# Copyright (c) 2013--, scikit-bio development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------

from __future__ import division
from skbio.maths.stats.special import MACHEP, ndtri
from skbio.maths.stats.distribution import (chi_high, zprob, f_high,
                                            binomial_high, t_high, t_low,
                                            tprob)
from numpy import (absolute, arctanh, array, asarray, concatenate, transpose,
                   ravel, take, nonzero, log, sum, mean, tanh, isnan, isinf,
                   sqrt, trace, zeros, ones, var, std, seterr)
from numpy.random import permutation, randint


seterr(divide='raise')


{'fraction_non_alphanumeric': 0.2301710730948678, 'fraction_numerical': 0.00414722654224987, 'mean_word_length': 1.480719794344473, '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': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2728329', 'n_tokens_mistral': 487, 'n_tokens_neox': 446, 'n_words': 161}