<commit_before>define([], function() {

    return {

        app: null,
        ctx: null,
        radius: 9,
        colour: "#725d3c",
        position: {
            x: 25,
            y: 250,
        },
        velocity: {
            x: 1.6,
            y: -2,
        },

        init: function(app) {
            this.app = app;
            this.ctx = this.app.ctx;
        },<commit_msg>Refactoring ball so position and velocity aren't defined twice<commit_after>define([], function() {

    return {

        app: null,
        ctx: null,
        radius: 9,
        colour: "#725d3c",
        position: {},
        velocity: {},

        init: function(app) {
            this.app = app;
            this.ctx = this.app.ctx;
            this.restart();
        },

        restart: function() {
            this.position = {
                x: 25,
                y: 250,
            };
            this.velocity = {
                x: 8,
                y: -8,
            };
        },
{'fraction_non_alphanumeric': 0.1283851554663992, 'fraction_numerical': 0.025075225677031094, 'mean_word_length': 0.9920159680638723, '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': '7410766', 'n_tokens_mistral': 314, 'n_tokens_neox': 283, 'n_words': 67}