<commit_before>""" Default ImageKit configuration """

from imagekit.specs import ImageSpec
from imagekit import processors
    
class ResizeThumbnail(processors.Resize):
    width = 200
    height = 100
    crop = True
    
class EnhanceSmall(processors.Adjustment):
    contrast = 1.2
    sharpness = 1.1
    
class SampleReflection(processors.Reflection):
    size = 0.5
    background_color = "#000000"
    
class DjangoAdminThumbnail(ImageSpec):<commit_msg>Restored defaults<commit_after>""" Default ImageKit configuration """

from imagekit.specs import ImageSpec
from imagekit import processors
    
class ResizeThumbnail(processors.Resize):
    width = 100
    height = 50
    crop = True
    
class EnhanceSmall(processors.Adjustment):
    contrast = 1.2
    sharpness = 1.1
    
class SampleReflection(processors.Reflection):
    size = 0.5
    background_color = "#000000"
    
class DjangoAdminThumbnail(ImageSpec):
{'fraction_non_alphanumeric': 0.08198489751887811, 'fraction_numerical': 0.037756202804746494, 'mean_word_length': 3.7346938775510203, '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': '4374541', 'n_tokens_mistral': 298, 'n_tokens_neox': 268, 'n_words': 68}