<commit_before>#!/usr/bin/env python
import pygame
import Axon
from Axon.Ipc import producerFinished
from Kamaelia.UI.GraphicDisplay import PygameDisplay

class XYBounce(Axon.Component.component):
    Inboxes = {"inbox"    : "Receive events from Pygame Display",
              "control"  : "For shutdown messages",
              "callback" : "Receive callbacks from Pygame Display"
              
    Outboxes = {"outbox" : "XY positions emitted here",
                "signal" : "For shutdown messages",
                "display_signal" : "Outbox used for communicating to the display surface"
               }
   
    def __init__(self, size=(100, 100)):
        super(XYBounce, self).__init__()
        self.size = size<commit_msg>Fix missing bracket<commit_after>#!/usr/bin/env python
import pygame
import Axon
from Axon.Ipc import producerFinished
from Kamaelia.UI.GraphicDisplay import PygameDisplay

class XYBounce(Axon.Component.component):
    Inboxes = {"inbox"    : "Receive events from Pygame Display",
              "control"  : "For shutdown messages",
              "callback" : "Receive callbacks from Pygame Display"}
              
    Outboxes = {"outbox" : "XY positions emitted here",
                "signal" : "For shutdown messages",
                "display_signal" : "Outbox used for communicating to the display surface"
               }
   
    def __init__(self, size=(100, 100)):
        super(XYBounce, self).__init__()
        self.size = size
{'fraction_non_alphanumeric': 0.09694915254237288, 'fraction_numerical': 0.008135593220338983, 'mean_word_length': 2.5566265060240965, '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': '4007775', 'n_tokens_mistral': 432, 'n_tokens_neox': 398, 'n_words': 121}