<commit_before>
  <!-- Modals -->
<div class="modal fade" id="submitModal" tabindex="-1" role="dialog" aria-labelledby="submitModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="submitModalLabel">Metadata Record Submitted</h4>
      </div>
      <div class="modal-body">
        <p>Your metadata record has been submitted to NKN for publication and we have been alerted of
          your submission. Once we review and approve your record, you will be able to search
          for it on our <a href="https://www.northwestknowledge.net" target="_blank">home page</a>. If modifications
          need to be made before your record can be approved, NKN will contact you.</p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
      </div>
    </div>
  </div>
</div>
    <!--NavBar -->
<nav class="navbar navbar-default navbar-fixed-top" style="border-style: none">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div id="navbar-custom" class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="dropdown">
            <a id="load-delete-record-dropdown" class="dropdown-toggle"
               data-toggle="dropdown" role="button" aria-haspopup="true"
               aria-expanded="false">
                Load or delete an existing record <span class="caret"></span>
            </a>
            <ul id="records-table" class="dropdown-menu">

                <table class="table" style="width:1000px;margin-bottom:-5px">

                    <li>
                        <thead>
                            <tr>
                                <td>
                                    <b>Record Type<b>
                                </td>
                                <td>
                                    <b>Title</b>
                                </td>
                                <td>
                                    <b>Summary</b>
                                </td>
                                <td>
                                    <b>Last Edited</b>
                                </td>
                                <td>
                                    <b>Last Published</b>
                                </td>
                                <td>
                                    <b>Load/Delete</b>
                                </td>
                            </tr>
                        </thead>
                    </li>

                    <li>
                        <tr ng-repeat="record in allRecords">
                            <td ng-attr-id="{{'record-list-type_' + $index}}">{{record.schema_type}}</td>
                            <td ng-attr-id="{{'record-list-title-' + $index}}">{{record.title | limitTo:20}}</td>
                            <td class="record-list-summary">{{record.summary | limitTo:30}}</td>
                            <td class="record-list-last-saved">{{record.last_mod_date.$date | date:'short'}}</td>
                            <td class="record-list-last-published">{{record.md_pub_date.$date | date:'short'}}</td>
                            <td class="record-list-actions">
                                <a ng-show="isISO(record.schema_type)"
                                   ng-click="editRecord(record._id.$oid)"
                                   class="btn btn-xs record-list-edit"
                                   id="{{'edit-record-iso-' + $index}}"<commit_msg>now sorting by last mod date with most recent at top<commit_after>
  <!-- Modals -->
<div class="modal fade" id="submitModal" tabindex="-1" role="dialog" aria-labelledby="submitModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="submitModalLabel">Metadata Record Submitted</h4>
      </div>
      <div class="modal-body">
        <p>Your metadata record has been submitted to NKN for publication and we have been alerted of
          your submission. Once we review and approve your record, you will be able to search
          for it on our <a href="https://www.northwestknowledge.net" target="_blank">home page</a>. If modifications
          need to be made before your record can be approved, NKN will contact you.</p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
      </div>
    </div>
  </div>
</div>
    <!--NavBar -->
<nav class="navbar navbar-default navbar-fixed-top" style="border-style: none">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div id="navbar-custom" class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="dropdown">
            <a id="load-delete-record-dropdown" class="dropdown-toggle"
               data-toggle="dropdown" role="button" aria-haspopup="true"
               aria-expanded="false">
                Load or delete an existing record <span class="caret"></span>
            </a>
            <ul id="records-table" class="dropdown-menu">

                <table class="table" style="width:1000px;margin-bottom:-5px">

                    <li>
                        <thead>
                            <tr>
                                <td>
                                    <b>Record Type<b>
                                </td>
                                <td>
                                    <b>Title</b>
                                </td>
                                <td>
                                    <b>Summary</b>
                                </td>
                                <td>
                                    <b>Last Edited</b>
                                </td>
                                <td>
                                    <b>Last Published</b>
                                </td>
                                <td>
                                    <b>Load/Delete</b>
                                </td>
                            </tr>
                        </thead>
                    </li>

                    <li>
                        <tr ng-repeat="record in allRecords | orderBy:'-last_mod_date'">
                            <td ng-attr-id="{{'record-list-type_' + $index}}">{{record.schema_type}}</td>
                            <td ng-attr-id="{{'record-list-title-' + $index}}">{{record.title | limitTo:20}}</td>
                            <td class="record-list-summary">{{record.summary | limitTo:30}}</td>
                            <td class="record-list-last-saved">{{record.last_mod_date.$date | date:'short'}}</td>
                            <td class="record-list-last-published">{{record.md_pub_date.$date | date:'short'}}</td>
                            <td class="record-list-actions">
                                <a ng-show="isISO(record.schema_type)"
                                   ng-click="editRecord(record._id.$oid)"
                                   class="btn btn-xs record-list-edit"
                                   id="{{'edit-record-iso-' + $index}}"
{'fraction_non_alphanumeric': 0.1423756392375639, 'fraction_numerical': 0.0032543003254300326, 'mean_word_length': 1.3956013363028954, 'pattern_counts': {'":': 0, '<': 193, '<?xml version=': 0, '>': 191, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2247490', 'n_tokens_mistral': 2305, 'n_tokens_neox': 2172, 'n_words': 480}