<commit_before><script type="text/ng-template" id="searchSuggestTemplate.html">
  <div class="search-suggest">
    <h4 class="inline orange">
      [[ match.label.first_name ]] [[ match.label.surname ]]
    </h4>
    <span ng-show="match.label.dateOfBirth">
    ([[ match.label.dateOfBirth | shortDate ]])
    </span>
    <div>
    [[ match.label.hospitalNumber ]]
    - [[ match.label.count ]] Episode<span ng-show="match.label.count > 1">s</span> ([[ match.label.categories|title ]]) [[ match.label.years ]]
    </div>
  </div>
  </div>
</script>


<div ng-show="$location.path().indexOf('/search')">
  <div ng-controller="SearchCtrl">
    <form class="navbar-form navbar-right" ng-submit="search()" role="search">
      <div class="form-group nav-bar-search">
        <input
          {% if AUTOCOMPLETE_SEARCH %}
          ng-model="query.autocompleteSearchTerm"
          typeahead-on-select="selected($item, $model, $label)"
          typeahead-template-url="searchSuggestTemplate.html"
          typeahead-focus-first="false"
          uib-typeahead="i for i in results | limitTo:8"
          {% else %}
            ng-model="query.searchTerm"
          {% endif %}
          slash-key-focus="!state || state==='normal'"
          ng-blur="enableShortcuts()"
          ng-focus="disableShortcuts()"
          type="text"
          class="form-control"
          placeholder="Search"
        />
      </div>
    </form>
  </div><commit_msg>Force a new line in search suggest results<commit_after><script type="text/ng-template" id="searchSuggestTemplate.html">
  <div class="search-suggest">
    <h4 class="inline orange">
      [[ match.label.first_name ]] [[ match.label.surname ]]
    </h4>
    <span ng-show="match.label.dateOfBirth">
    ([[ match.label.dateOfBirth | shortDate ]])
    </span>
    <div>
      [[ match.label.hospitalNumber ]]
      <br />
      [[ match.label.count ]] Episode<span ng-show="match.label.count > 1">s</span> ([[ match.label.categories|title ]]) [[ match.label.years ]]
    </div>
  </div>
  </div>
</script>


<div ng-show="$location.path().indexOf('/search')">
  <div ng-controller="SearchCtrl">
    <form class="navbar-form navbar-right" ng-submit="search()" role="search">
      <div class="form-group nav-bar-search">
        <input
          {% if AUTOCOMPLETE_SEARCH %}
          ng-model="query.autocompleteSearchTerm"
          typeahead-on-select="selected($item, $model, $label)"
          typeahead-template-url="searchSuggestTemplate.html"
          typeahead-focus-first="false"
          uib-typeahead="i for i in results | limitTo:8"
          {% else %}
            ng-model="query.searchTerm"
          {% endif %}
          slash-key-focus="!state || state==='normal'"
          ng-blur="enableShortcuts()"
          ng-focus="disableShortcuts()"
          type="text"
          class="form-control"
          placeholder="Search"
        />
      </div>
    </form>
  </div>
{'fraction_non_alphanumeric': 0.17643051771117166, 'fraction_numerical': 0.0027247956403269754, 'mean_word_length': 2.594859241126071, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 0, '>': 48, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3003626', 'n_tokens_mistral': 967, 'n_tokens_neox': 912, 'n_words': 143}