<commit_before>Router.configure({
    layoutTemplate: 'layout'
});

Router.map(function() {
    this.route('presenter', {
        path: '/presenter/:_id',
        template: 'presentation',
        load: function() {
            Session.set('presentationId', this.params._id);
        },
        waitOn: function() {
            return Meteor.subscribe('singlePresentation', this.params._id);
        },
        data: function() { return Presentations.findOne(this.params._id); },
        action: function() {
            if (this.params._id === 'test') {
                this.redirect('/presenter/9wtSudD3G4MMKZvpN');
            } else {
                this.render();
            }
        }
    });

    this.route('presentationUpload', {
        path: '/upload',
        template: 'presentationUpload'
    });
});<commit_msg>fuck it, nevermind<commit_after>Router.configure({
    layoutTemplate: 'layout'
});

Router.map(function() {
    this.route('presenter', {
        path: '/presenter/:_id',
        template: 'presentation',
        load: function() {
            Session.set('presentationId', this.params._id);
        },
        waitOn: function() {
            return Meteor.subscribe('singlePresentation', this.params._id);
        },
        data: function() { return Presentations.findOne(this.params._id); },
    });

    this.route('presentationUpload', {
        path: '/upload',
        template: 'presentationUpload'
    });
});
{'fraction_non_alphanumeric': 0.158040027605245, 'fraction_numerical': 0.002070393374741201, 'mean_word_length': 2.193832599118943, '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': '1944584', 'n_tokens_mistral': 415, 'n_tokens_neox': 399, 'n_words': 64}