<commit_before><div class="modal-header">
  <button type="button" class="close" ng-click="close()">
    <span class="pficon pficon-close"></span>
  </button>
  <h4 class="modal-title" ng-hide="selectedTx">Instance Details for {{ rootNode.uri }} ({{filteredData.length}} entries shown)</h4>
  <h4 class="modal-title" ng-show="selectedTx">Instance Details Diagram</h4>
</div>
<div class="modal-body">
  <div class="row">
    <div class="col-md-12">
      <form class="form-inline" ng-show="!selectedTx">
        <div class="form-group">
          <label for="txtFilter">Text</label>
          <input type="text" class="form-control" id="txtFilter" placeholder="Filter" ng-model="tableFilter">
        </div>
        <div class="form-group">
          <label for="minDuration">Duration From</label>
          <div class="input-group">
            <input type="number" min="0" class="form-control" placeholder="Minimum Duration" id="minDuration"
              ng-model="minDuration" ng-change="checkMinMaxDuration()">
            <div class="input-group-addon">ms</div>
          </div>
        </div>
        <div class="form-group">
          <label for="maxDuration">To</label>
          <div class="input-group">
            <input type="number" min="{{minDuration || 0}}" class="form-control" placeholder="Maximum Duration" id="maxDuration" ng-model="maxDuration">
            <div class="input-group-addon">ms</div>
          </div>
        </div>
      </form>
    </div>
  </div>
  <div class="row" ng-show="selectedTx">
    <div class="col-md-12">
      <a href="" ng-click="selectedTx = ''">&laquo; Back to full table ({{filteredData.length}} entries)</a>
    </div>
  </div>
  <div class="row">
    &nbsp;
  </div>
  <div class="row">
    <div class="col-md-12">
      <table class="datatable table table-striped table-bordered inst-details-table">
        <thead>
          <tr>
            <th class="inst-details-timestamp" ng-click="sort('timestamp')">Timestamp
              <span class="glyphicon sort-icon" ng-show="sortKey=='timestamp'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
            </th>
            <!--<th ng-click="sort('uri')">URL
              <span class="glyphicon sort-icon" ng-show="sortKey=='uri'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
            </th>-->
            <th class="inst-details-properties" ng-click="sort('properties')">Properties
              <span class="glyphicon sort-icon" ng-show="sortKey=='properties'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
            </th>
            <th class="inst-details-duration" ng-click="sort('duration')">Duration
              <span class="glyphicon sort-icon" ng-show="sortKey=='duration'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
            </th>
            <th class="inst-details-details">Details
            </th>
          </tr>
        </thead>
        <tbody>
          <tr dir-paginate-start="tData in filteredData = (timesData | filter:tableFilter | filter:durationRange | orderBy:sortKey:reverse) | itemsPerPage:numPerPage" ng-show="!selectedTx || selectedTx === tData.id">
            <td class="inst-details-timestamp">{{ tData.timestamp | date:'medium' }}</td>
            <!--<td>{{ tData.uri }}</td>-->
            <td class="inst-details-properties">
              <span class="label label-default" ng-repeat="tDataProp in tData.propertiesGrouped" ng-click="tDataProp.expand = !tDataProp.expand" tooltip="{{tDataProp.name}} : {{tDataProp.value}}">
                {{tDataProp.name}}:<span ng-hide="tDataProp.expand">{{ tDataProp.value | limitTo:16}}<span ng-show="!tDataProp.expand && tDataProp.value.length > 16">...</span></span><span ng-show="tDataProp.expand">{{ tDataProp.value }}</span>
              </span>
            </td>
            <td class="inst-details-duration">{{ tData.duration | hkDuration }}</td>
            <td class="inst-details-details" ng-click="showIVD(tData.id)"><i class="fa fa-sitemap"></i></td>
          </tr>
          <tr dir-paginate-end ng-if="selectedTx === tData.id">
            <td colspan="5" class="details-row" instance-view-diagram nodes="instDetails">
              <svg id="idetails" class="graph"><g/></svg>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
  <div class="row">
    <div class="col-md-12"><commit_msg>HWKAPM-730 : Fix Instance Details table expanded width<commit_after><div class="modal-header">
  <button type="button" class="close" ng-click="close()">
    <span class="pficon pficon-close"></span>
  </button>
  <h4 class="modal-title" ng-hide="selectedTx">Instance Details for {{ rootNode.uri }} ({{filteredData.length}} entries shown)</h4>
  <h4 class="modal-title" ng-show="selectedTx">Instance Details Diagram</h4>
</div>
<div class="modal-body">
  <div class="row">
    <div class="col-md-12">
      <form class="form-inline" ng-show="!selectedTx">
        <div class="form-group">
          <label for="txtFilter">Text</label>
          <input type="text" class="form-control" id="txtFilter" placeholder="Filter" ng-model="tableFilter">
        </div>
        <div class="form-group">
          <label for="minDuration">Duration From</label>
          <div class="input-group">
            <input type="number" min="0" class="form-control" placeholder="Minimum Duration" id="minDuration"
              ng-model="minDuration" ng-change="checkMinMaxDuration()">
            <div class="input-group-addon">ms</div>
          </div>
        </div>
        <div class="form-group">
          <label for="maxDuration">To</label>
          <div class="input-group">
            <input type="number" min="{{minDuration || 0}}" class="form-control" placeholder="Maximum Duration" id="maxDuration" ng-model="maxDuration">
            <div class="input-group-addon">ms</div>
          </div>
        </div>
      </form>
    </div>
  </div>
  <div class="row" ng-show="selectedTx">
    <div class="col-md-12">
      <a href="" ng-click="selectedTx = ''">&laquo; Back to full table ({{filteredData.length}} entries)</a>
    </div>
  </div>
  <div class="row">
    &nbsp;
  </div>
  <div class="row">
    <div class="col-md-12">
      <table class="datatable table table-striped table-bordered inst-details-table">
        <thead>
          <tr>
            <th class="inst-details-timestamp" ng-click="sort('timestamp')">Timestamp
              <span class="glyphicon sort-icon" ng-show="sortKey=='timestamp'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
            </th>
            <!--<th ng-click="sort('uri')">URL
              <span class="glyphicon sort-icon" ng-show="sortKey=='uri'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
            </th>-->
            <th class="inst-details-properties" ng-click="sort('properties')">Properties
              <span class="glyphicon sort-icon" ng-show="sortKey=='properties'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
            </th>
            <th class="inst-details-duration" ng-click="sort('duration')">Duration
              <span class="glyphicon sort-icon" ng-show="sortKey=='duration'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
            </th>
            <th class="inst-details-details">Details
            </th>
          </tr>
        </thead>
        <tbody>
          <tr dir-paginate-start="tData in filteredData = (timesData | filter:tableFilter | filter:durationRange | orderBy:sortKey:reverse) | itemsPerPage:numPerPage" ng-show="!selectedTx || selectedTx === tData.id">
            <td class="inst-details-timestamp">{{ tData.timestamp | date:'medium' }}</td>
            <!--<td>{{ tData.uri }}</td>-->
            <td class="inst-details-properties">
              <span class="label label-default" ng-repeat="tDataProp in tData.propertiesGrouped" ng-click="tDataProp.expand = !tDataProp.expand" tooltip="{{tDataProp.name}} : {{tDataProp.value}}">
                {{tDataProp.name}}:<span ng-hide="tDataProp.expand">{{ tDataProp.value | limitTo:16}}<span ng-show="!tDataProp.expand && tDataProp.value.length > 16">...</span></span><span ng-show="tDataProp.expand">{{ tDataProp.value }}</span>
              </span>
            </td>
            <td class="inst-details-duration">{{ tData.duration | hkDuration }}</td>
            <td class="inst-details-details" ng-click="showIVD(tData.id)"><i class="fa fa-sitemap"></i></td>
          </tr>
          <tr dir-paginate-end ng-if="selectedTx === tData.id">
            <td colspan="4" class="details-row" instance-view-diagram nodes="instDetails">
              <svg id="idetails" class="graph"><g/></svg>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
  <div class="row">
    <div class="col-md-12">
{'fraction_non_alphanumeric': 0.19417045328604676, 'fraction_numerical': 0.004543943256123241, 'mean_word_length': 2.9081853616284103, 'pattern_counts': {'":': 0, '<': 225, '<?xml version=': 0, '>': 227, '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': '3746418', 'n_tokens_mistral': 2872, 'n_tokens_neox': 2780, 'n_words': 481}