<commit_before>App = {
    
    config: {
        debug: true
        , datepickerOptions: {
            format: 'yyyy-mm-dd'
        },
        fullMonthNames: [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ],
        shortMonthNames: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec" ],
        queryColors: ['#e14c11', "#249fc9"]
    },
    
    initialize: function () {
        App.debug('App.initialize()');
        App.instance = this;
        // Create models and router
        this.userModel = new App.UserModel();
        this.mediaSources = new App.MediaModel({parse:true});
console.log(this.mediaSources);
        this.router = new App.Router({
            userModel: this.userModel
            , mediaSources: this.mediaSources
        });
        // Bind event handlers
        _.bindAll(this, 'onSignIn');
        _.bindAll(this, 'onSignOut');
        // Listener for events
        this.userModel.on('signin', this.onSignIn);
        this.userModel.on('signout', this.onSignOut);
        this.userModel.on('unauthorized', this.onSignOut);
        // Start navigation and log user in
        this.userModel.fetch({
            "type": "post"
            , "success": function() { _.defer(function () { Backbone.history.start(); }); }
            , "error": function() { _.defer(function () { Backbone.history.start(); }); }
        });
    },
    
    onSignIn: function () {
        App.debug('App.onSignIn()');
        var that = this;
        if (this.mediaSources.get('sources').length == 0) {
            $.ajax('/static/data/media.json', {
                "dataType": "json",<commit_msg>remove a useless debug stmt<commit_after>App = {
    
    config: {
        debug: true
        , datepickerOptions: {
            format: 'yyyy-mm-dd'
        },
        fullMonthNames: [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ],
        shortMonthNames: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec" ],
        queryColors: ['#e14c11', "#249fc9"]
    },
    
    initialize: function () {
        App.debug('App.initialize()');
        App.instance = this;
        // Create models and router
        this.userModel = new App.UserModel();
        this.mediaSources = new App.MediaModel({parse:true});
        this.router = new App.Router({
            userModel: this.userModel
            , mediaSources: this.mediaSources
        });
        // Bind event handlers
        _.bindAll(this, 'onSignIn');
        _.bindAll(this, 'onSignOut');
        // Listener for events
        this.userModel.on('signin', this.onSignIn);
        this.userModel.on('signout', this.onSignOut);
        this.userModel.on('unauthorized', this.onSignOut);
        // Start navigation and log user in
        this.userModel.fetch({
            "type": "post"
            , "success": function() { _.defer(function () { Backbone.history.start(); }); }
            , "error": function() { _.defer(function () { Backbone.history.start(); }); }
        });
    },
    
    onSignIn: function () {
        App.debug('App.onSignIn()');
        var that = this;
        if (this.mediaSources.get('sources').length == 0) {
            $.ajax('/static/data/media.json', {
                "dataType": "json",
{'fraction_non_alphanumeric': 0.17727803738317757, 'fraction_numerical': 0.005257009345794392, 'mean_word_length': 2.1595940959409594, 'pattern_counts': {'":': 8, '<': 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': '3779312', 'n_tokens_mistral': 1060, 'n_tokens_neox': 1011, 'n_words': 210}