<commit_before>;(function($, ns) {
    ns.WorkspaceSummaryPage = chorus.pages.Base.extend({
        crumbs : function() {
            return [
                { label: t("breadcrumbs.home"), url: "#/" },
                { label: this.model.get("name") }
            ]
        },

        setup : function(workspaceId) {
            // chorus.router supplies arguments to setup
            this.model = new chorus.models.Workspace({id : workspaceId});
            this.model.fetch();
            this.breadcrumbs = new chorus.views.WorkspaceBreadcrumbsView({model: this.model});
            this.subNav = new chorus.views.SubNav({workspace : this.model, tab: "Summary"})
            this.sidebar = new chorus.views.WorkspaceSummarySidebar({model: this.model});

            this.mainContent = new chorus.views.MainContentView({
                model: this.model,
                content : new chorus.views.WorkspaceDetail({model: this.model }),
                contentHeader : new chorus.views.StaticTemplate("plain_text", {text: "Summary"}),
            });
        }
    });
})(jQuery, chorus.pages);<commit_msg>Fix current tab styling on workspace summary page<commit_after>;(function($, ns) {
    ns.WorkspaceSummaryPage = chorus.pages.Base.extend({
        crumbs : function() {
            return [
                { label: t("breadcrumbs.home"), url: "#/" },
                { label: this.model.get("name") }
            ]
        },

        setup : function(workspaceId) {
            // chorus.router supplies arguments to setup
            this.model = new chorus.models.Workspace({id : workspaceId});
            this.model.fetch();
            this.breadcrumbs = new chorus.views.WorkspaceBreadcrumbsView({model: this.model});
            this.subNav = new chorus.views.SubNav({workspace : this.model, tab: "summary"})
            this.sidebar = new chorus.views.WorkspaceSummarySidebar({model: this.model});

            this.mainContent = new chorus.views.MainContentView({
                model: this.model,
                content : new chorus.views.WorkspaceDetail({model: this.model }),
                contentHeader : new chorus.views.StaticTemplate("plain_text", {text: "Summary"}),
            });
        }
    });
})(jQuery, chorus.pages);
{'fraction_non_alphanumeric': 0.1361626878868258, 'fraction_numerical': 0.0, 'mean_word_length': 2.1, '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': '5390769', 'n_tokens_mistral': 619, 'n_tokens_neox': 597, 'n_words': 114}