<commit_before>import ctypes

G = 0.5

Density = 0.1

# define starting window width and height
try:
    # Windows
    import ctypes
    dim = ctypes.cdll.user32.GetSystemMetrics
    monitor_width, monitor_height = dim(0), dim(1)
except:
    # Linux
    import subprocess, re
    output = subprocess.Popen('xrandr | grep "\*" | cut -d" " -f4',shell=True, stdout=subprocess.PIPE).communicate()[0]
    monitor_width, monitor_height = re.findall(r'[0-9]+',str(output))

width, height = int(monitor_width * 0.6), int(monitor_height * 0.75)

# Set simulation hard clock speed (fps)
clock_speed = 144<commit_msg>Automatic window resizing fix<commit_after>import ctypes

G = 0.5

Density = 0.1

# define starting window width and height
try:
    # Windows
    import ctypes
    dim = ctypes.windll.user32.GetSystemMetrics
    monitor_width, monitor_height = dim(0), dim(1)
except:
    # Linux
    import subprocess, re
    output = subprocess.Popen('xrandr | grep "\*" | cut -d" " -f4',shell=True, stdout=subprocess.PIPE).communicate()[0]
    monitor_width, monitor_height = re.findall(r'[0-9]+',str(output))

width, height = int(monitor_width * 0.6), int(monitor_height * 0.75)

# Set simulation hard clock speed (fps)
clock_speed = 144
{'fraction_non_alphanumeric': 0.12845528455284552, 'fraction_numerical': 0.032520325203252036, 'mean_word_length': 4.045081967213115, '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': '7265556', 'n_tokens_mistral': 448, 'n_tokens_neox': 429, 'n_words': 104}