<commit_before><div class="container-fluid">
    <hr>
    <ul class="nav nav-pills">
        <li class="active"><a href="#/analyst/compare">Compare</a></li>
        <li><a href="#/analyst/queries">Query Management</a></li>
    </ul>
    <hr>

    <div class="row">
        <!--Typeaheads go here -->
        <div class="col-md-6">
            <h4>Datasets</h4>
            <tags-input ng-model="selectedDatasets" add-from-autocomplete-only="true" display-property="name" spellcheck="false" placeholder="Click to add datasets to selection">
                <auto-complete source="filterDatasets($query)" min-length="1" display-property="name" load-on-focus="true" load-on-empty="true" max-results-to-show="1000"></auto-complete>
            </tags-input>

            <p ng-show="noDatasetResults">No Results</p>
            <br>

        </div>

        <!--Typeaheads go here -->
        <div class="col-md-6">
            <h4>Tags</h4>
            <tags-input ng-model="selectedTags" add-from-autocomplete-only="true" display-property="name" spellcheck="false" placeholder="Click to add tags to selection">
                <auto-complete source="filterTags($query)" min-length="1" display-property="name" load-on-focus="true" load-on-empty="true" max-results-to-show="1000"></auto-complete>
            </tags-input>

            <p ng-show="noTagResults">No Results</p>
            <br>

        </div>
    </div>

    <div class="row">
        <div class="col-md-6">
            <div class="btn-toolbar">
                <div class="btn-group">
                    <button class="btn btn-default btn-sm" ng-click="selectAllDatasets()">Select All</button>
                    <button class="btn btn-default btn-sm" ng-click="deselectAllDatasets()">Deselect All</button>
                </div>
            </div>
        </div>
        <div class="col-md-6">
            <div class="btn-toolbar">
                <div class="btn-group">
                    <button class="btn btn-default btn-sm" ng-click="selectAllTags()">Select All</button>
                    <button class="btn btn-default btn-sm" ng-click="deselectAllTags()">Deselect All</button>
                </div>
                <button class="btn btn-default btn-sm" ng-click="allowUntagged()" ng-hide="untagged">Show Untagged Attributes</button>
                <button class="btn btn-default btn-sm" ng-click="removeUntagged()" ng-show="untagged">Hide Untagged Attributes</button>

            </div>
        </div>
    </div>
    <br>
    <div class="row">
        <div class="col-md-6">
            <button class="btn btn-default btn-sm" ng-click="selectRelevantDatasets()" ng-show="selectedTags.length" uib-tooltip="Select all Datasets that have at least one of the selected Tags">Select Relevant</button>
        </div>
        <div class="col-md-6">
            <button class="btn btn-default btn-sm" ng-click="selectRelevantTags()" ng-show="selectedDatasets.length" uib-tooltip="Select all Tags that are in at least one of the selected Datasets">Select Relevant</button>
        </div>
    </div>
    <hr>
    <br>

    <div class="" id="compareTable">
        <table class="table table-bordered">
            <thead>
                <th></th>
                <th ng-repeat="tag in selectedTags">{{tag.name}}</th>
            </thead>
            <tbody>
                <tr ng-repeat="dataset in selectedDatasets">
                    <td>{{dataset.name}} <span class="glyphicon glyphicon-exclamation-sign no_data_warning" ng-if="dataset.db_table_name == null" uib-tooltip="There is no HDFS table associated with this dataset"></span></td>
                    <td ng-repeat="attr in rows[dataset.name]" class="{{attr.class}}">{{attr.name}}</td>
                </tr>
            </tbody>
        </table>
    </div>

    <div class="btn-group-center">
        <button class="btn btn-success" ng-click="openQueryWizard()" uib-tooltip="Combine data to create a custom table">Build Custom Table</button>
    </div>
</div><commit_msg>fixed button order on compare view resize<commit_after><div class="container-fluid">
    <hr>
    <ul class="nav nav-pills">
        <li class="active"><a href="#/analyst/compare">Compare</a></li>
        <li><a href="#/analyst/queries">Query Management</a></li>
    </ul>
    <hr>

    <div class="row">
        <div class="col-md-6">
            <h4>Datasets</h4>
            <tags-input ng-model="selectedDatasets" add-from-autocomplete-only="true" display-property="name" spellcheck="false" placeholder="Click to add datasets to selection">
                <auto-complete source="filterDatasets($query)" min-length="1" display-property="name" load-on-focus="true" load-on-empty="true" max-results-to-show="1000"></auto-complete>
            </tags-input>

            <p ng-show="noDatasetResults">No Results</p>
            <br>
            <div class="btn-toolbar">
                <div class="btn-group">
                    <button class="btn btn-default btn-sm" ng-click="selectAllDatasets()">Select All</button>
                    <button class="btn btn-default btn-sm" ng-click="deselectAllDatasets()">Deselect All</button>
                </div>
                <button class="btn btn-default btn-sm" ng-click="selectRelevantDatasets()" ng-show="selectedTags.length" uib-tooltip="Select all Datasets that have at least one of the selected Tags">Select Relevant</button>
            </div>
        </div>

        <div class="col-md-6">
            <h4>Tags</h4>
            <tags-input ng-model="selectedTags" add-from-autocomplete-only="true" display-property="name" spellcheck="false" placeholder="Click to add tags to selection">
                <auto-complete source="filterTags($query)" min-length="1" display-property="name" load-on-focus="true" load-on-empty="true" max-results-to-show="1000"></auto-complete>
            </tags-input>

            <p ng-show="noTagResults">No Results</p>
            <br>
            <div class="btn-toolbar">
                <div class="btn-group">
                    <button class="btn btn-default btn-sm" ng-click="selectAllTags()">Select All</button>
                    <button class="btn btn-default btn-sm" ng-click="deselectAllTags()">Deselect All</button>
                </div>
                <button class="btn btn-default btn-sm" ng-click="allowUntagged()" ng-hide="untagged">Show Untagged Attributes</button>
                <button class="btn btn-default btn-sm" ng-click="removeUntagged()" ng-show="untagged">Hide Untagged Attributes</button>
                <button class="btn btn-default btn-sm" ng-click="selectRelevantTags()" ng-show="selectedDatasets.length" uib-tooltip="Select all Tags that are in at least one of the selected Datasets">Select Relevant</button>
            </div>
        </div>
    </div>
    <br>
    <hr>
    <br>

    <div class="" id="compareTable">
        <table class="table table-bordered">
            <thead>
                <th></th>
                <th ng-repeat="tag in selectedTags">{{tag.name}}</th>
            </thead>
            <tbody>
                <tr ng-repeat="dataset in selectedDatasets">
                    <td>{{dataset.name}} <span class="glyphicon glyphicon-exclamation-sign no_data_warning" ng-if="dataset.db_table_name == null" uib-tooltip="There is no HDFS table associated with this dataset"></span></td>
                    <td ng-repeat="attr in rows[dataset.name]" class="{{attr.class}}">{{attr.name}}</td>
                </tr>
            </tbody>
        </table>
    </div>

    <div class="btn-group-center">
        <button class="btn btn-success" ng-click="openQueryWizard()" uib-tooltip="Combine data to create a custom table">Build Custom Table</button>
    </div>
</div>

{'fraction_non_alphanumeric': 0.16107730156674868, 'fraction_numerical': 0.004661401009970219, 'mean_word_length': 2.4086496028243602, 'pattern_counts': {'":': 0, '<': 195, '<?xml version=': 0, '>': 195, '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': '3926088', 'n_tokens_mistral': 2352, 'n_tokens_neox': 2242, 'n_words': 479}