<commit_before>import math
import sys

def sigmoid(x):
    try:
        val = 1/(1 + math.exp(-x))
    except OverflowError:
        val = sys.float_info.max
    return val

def sigmoidprime(x):
    return (1 - sigmoid(x))*sigmoid(x)<commit_msg>Fix mistake in sigmoid function<commit_after>import math
import sys

def sigmoid(x):
    try:
        val = 1/(1 + math.exp(-x))
    except OverflowError:
        val = 0.
    return val

def sigmoidprime(x):
    return (1 - sigmoid(x))*sigmoid(x)
{'fraction_non_alphanumeric': 0.12398373983739837, 'fraction_numerical': 0.014227642276422764, 'mean_word_length': 2.734848484848485, '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': '4914700', 'n_tokens_mistral': 187, 'n_tokens_neox': 180, 'n_words': 45}