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

import os
import pygame
from pygame.locals import *
from pygame.compat import geterror

# Import new sprite class
parentdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
os.sys.path.insert(0, parentdir)
from sprite import *

if not pygame.font:
    print ("No font support compiled")
    sys.exit()

main_dir = os.path.split(os.path.abspath(__file__))[0]
data_dir = main_dir

SCREEN_SIZE = 700
SCREEN_CENTER = (SCREEN_SIZE / 2, SCREEN_SIZE / 2)
SCALE_STEP = 0.1
SCALE_MIN = 0.3
SCALE_MAX = 7.0
ROTATE_STEP = 5

colors = {
        "background": pygame.Color(225, 225, 225),
        "square": pygame.Color(0, 0, 0)
}


def load_image(name, colorkey=None):
    fullname = os.path.join(data_dir, name)<commit_msg>No need to require fonts for stay.py.<commit_after>#!/usr/bin/env python

import os
import pygame
from pygame.locals import *
from pygame.compat import geterror

# Import new sprite class
parentdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
os.sys.path.insert(0, parentdir)
from sprite import *

main_dir = os.path.split(os.path.abspath(__file__))[0]
data_dir = main_dir

SCREEN_SIZE = 700
SCREEN_CENTER = (SCREEN_SIZE / 2, SCREEN_SIZE / 2)
SCALE_STEP = 0.1
SCALE_MIN = 0.3
SCALE_MAX = 7.0
ROTATE_STEP = 5

colors = {
        "background": pygame.Color(225, 225, 225),
        "square": pygame.Color(0, 0, 0)
}


def load_image(name, colorkey=None):
    fullname = os.path.join(data_dir, name)
{'fraction_non_alphanumeric': 0.128135593220339, 'fraction_numerical': 0.03525423728813559, 'mean_word_length': 4.142857142857143, 'pattern_counts': {'":': 4, '<': 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': '1818978', 'n_tokens_mistral': 614, 'n_tokens_neox': 571, 'n_words': 130}