<commit_before>from PIL import Image, ImageDraw
from random import gauss

def generate_noise(width, height, mu=255.0/2, sigma=255.0/2):
    noise = Image.new('RGBA', (width, height), 'black')
    draw = ImageDraw.Draw(noise)
    for i in range(width):
        for j in range(height):
            draw.point((i,j), fill=(0, 0, 0, int(gauss(mu, sigma))))
    del draw
    return noise<commit_msg>Removed 'del'<commit_after>from PIL import Image, ImageDraw
from random import gauss

def generate_noise(width, height, mu=255.0/2, sigma=255.0/2):
    noise = Image.new('RGBA', (width, height), 'black')
    draw = ImageDraw.Draw(noise)
    for i in range(width):
        for j in range(height):
            draw.point((i,j), fill=(0, 0, 0, int(gauss(mu, sigma))))
    return noise
{'fraction_non_alphanumeric': 0.14967741935483872, 'fraction_numerical': 0.03354838709677419, 'mean_word_length': 3.511627906976744, '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': '6171194', 'n_tokens_mistral': 285, 'n_tokens_neox': 264, 'n_words': 76}