<commit_before>""" Global constants, contains default values used throughout the application.
"""

# Size of buffer used to hold simulation data.
MAX_BUFFER_ELEMENTS = 100000

MAX_WINDOW_SIZE = 1000

RESIZE_CONTAINER_DEFAULT_WIDTH = 300
RESIZE_CONTAINER_DEFAULT_HEIGHT = 300
RESIZE_BOX_WIDTH = 10
RESIZE_BOX_HEIGHT = 10
RESIZE_BOX_LINE_WIDTH = 2
RESIZE_BOX_PLUS_LENGTH = 10
RESIZE_BOX_PLUS_PADDING = 3
RESIZE_MIN_WIDTH = 250
RESIZE_MIN_HEIGHT = 250

PLOT_DEFAULT_X_WIDTH = 1

SIMULATOR_DEFAULT_DELTA_TIME = 0.001
SIMULATOR_DEFAULT_SIM_RATE = 6
SIMULATOR_FRAME_RATE = 2

LAYOUT_FILE_EXTENSION = ".bpwn"
LAYOUT_FILE_EXTENSION_NAME = "Layout files"

PYTHON_FILE_EXTENSION = "py"
PYTHON_FILE_EXTENSION_NAME = "Python files"

CONTROLLER_PANEL_WIDTH = 300
CONTROLLER_PANEL_HEIGHT = 50

CUSTOMIZE_WINDOW_BORDER_WIDTH = 10
CUSTOMIZE_WINDOW_BUTTON_WIDTH = 80
CUSTOMIZE_WINDOW_BUTTON_HEIGHT = 20
CUSTOMIZE_WINDOW_TITLE = "Customize"

MAX_UNSIGNED_SHORT_FLOAT = 65535.0

EVENT_BUTTON_RIGHT_CLICK = 3

VISUALIZER_WIDTH = 800
VISUALIZER_HEIGHT = 600
VISUALIZER_TIMER_INTERVAL = 1

MAIN_FRAME_TITLE = "Nengo Visualizer"<commit_msg>Documented settings.py<commit_after>""" Global constants, contains default values used throughout the application.
"""

# Size of buffer used to hold simulation data.
MAX_BUFFER_ELEMENTS = 100000

MAX_WINDOW_SIZE = 1000

# Initial size of a resize box when added to canvas
RESIZE_CONTAINER_DEFAULT_WIDTH = 300
RESIZE_CONTAINER_DEFAULT_HEIGHT = 300
# Size of the resize area in the bottom right corner of a resize box
RESIZE_BOX_WIDTH = 10
RESIZE_BOX_HEIGHT = 10
# Width of the resize area box line
RESIZE_BOX_LINE_WIDTH = 2
# Minimum size that resize boxes can be resized to
RESIZE_MIN_WIDTH = 250
RESIZE_MIN_HEIGHT = 250

# Default range of x for plots
PLOT_DEFAULT_X_WIDTH = 1

# Default step size for simulator
SIMULATOR_DEFAULT_DELTA_TIME = 0.001
# Default number of steps before redraw
SIMULATOR_DEFAULT_SIM_RATE = 6
# Default number of frames to draw per second
SIMULATOR_FRAME_RATE = 2

# File extension for layout files
LAYOUT_FILE_EXTENSION = ".bpwn"

# File extension for model files
PYTHON_FILE_EXTENSION = "py"
# Name of model files in save/open dialogs
PYTHON_FILE_EXTENSION_NAME = "Python files"

# Size of controller panel in main frame
CONTROLLER_PANEL_WIDTH = 300
CONTROLLER_PANEL_HEIGHT = 50

# Border padding of the customize window
CUSTOMIZE_WINDOW_BORDER_WIDTH = 10
# Customize window button size
CUSTOMIZE_WINDOW_BUTTON_WIDTH = 80
CUSTOMIZE_WINDOW_BUTTON_HEIGHT = 20
# Title for customize window
CUSTOMIZE_WINDOW_TITLE = "Customize"

# Maximum unsigned float value, used in converting colour values
MAX_UNSIGNED_SHORT_FLOAT = 65535.0

# GTK enum for right click
EVENT_BUTTON_RIGHT_CLICK = 3

# Default size of visualizer
VISUALIZER_WIDTH = 800
VISUALIZER_HEIGHT = 600
# Default timer interval for GUI timer, drives simulator
VISUALIZER_TIMER_INTERVAL = 1

# Default title of visualizer
MAIN_FRAME_TITLE = "Nengo Visualizer"
{'fraction_non_alphanumeric': 0.0462525320729237, 'fraction_numerical': 0.04085077650236327, 'mean_word_length': 6.174334140435835, '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': '1320258', 'n_tokens_mistral': 1174, 'n_tokens_neox': 1020, 'n_words': 292}