<commit_before><md-toolbar style="height:100%;">
    <div class="md-toolbar-tools">
        <div class="md-toolbar-tools" style="height: 100%;padding-left: 0px;" ng-click="header.showImportDialog()">
            <img src="resource/jsonforms-logo.png" class="logo-img"/>
            <span>JSON Forms Editor v0.0.9</span>
        </div>
        <!-- fill up the space between left and right area -->
        <span flex></span>
        <!--<i ng-if="header.undoService.canUndo()" ng-click="header.undoService.undo()" class="material-icons"
           style="padding-right: 6px; margin: 4px">undo</i>-->
        <md-button ng-if="!header.configService.isPreviewTab()" class="md-raised md-accent" ui-sref="preview"
                   ui-sref-active="hidden">Preview
        </md-button>
        <md-button ng-if="!header.configService.isPreviewTab()" class="md-raised md-accent" ui-sref="edit"
                   ui-sref-active="hidden">Edit
        </md-button>
        <md-button ng-if="header.socioCortexConnector.isLoggedWithSocioCortex()" class="md-raised md-accent"<commit_msg>Add New button to header for showing the import dialog<commit_after><md-toolbar style="height:100%;">
    <div class="md-toolbar-tools">
        <div class="md-toolbar-tools" style="height: 100%;padding-left: 0px;">
            <img src="resource/jsonforms-logo.png" class="logo-img"/>
            <span>JSON Forms Editor v0.0.9</span>
        </div>
        <!-- fill up the space between left and right area -->
        <span flex></span>
        <!--<i ng-if="header.undoService.canUndo()" ng-click="header.undoService.undo()" class="material-icons"
           style="padding-right: 6px; margin: 4px">undo</i>-->
        <md-button class="md-raised md-accent" ng-click="header.showImportDialog()">New</md-button>
        <md-button ng-if="!header.configService.isPreviewTab()" class="md-raised md-accent" ui-sref="preview"
                   ui-sref-active="hidden">Preview
        </md-button>
        <md-button ng-if="!header.configService.isPreviewTab()" class="md-raised md-accent" ui-sref="edit"
                   ui-sref-active="hidden">Edit
        </md-button>
        <md-button ng-if="header.socioCortexConnector.isLoggedWithSocioCortex()" class="md-raised md-accent"
{'fraction_non_alphanumeric': 0.1743362831858407, 'fraction_numerical': 0.010619469026548672, 'mean_word_length': 2.911764705882353, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 39, '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': '2348748', 'n_tokens_mistral': 748, 'n_tokens_neox': 701, 'n_words': 121}