<commit_before><div class="row" onload="initialize()">
  <div class="col-md-6 col-md-offset-3">
    <h1>Travel, simplified.</h1>
    <form name="searchForm" ng-controller="SearchController">
      <div class="row" id="location-inputs">
        <div class="col-md-6">
          <input type="text" class="search-bar" placeholder="Departure" name="depart_location" id="depart-autocomplete" ng-model="search.depart_location.name" autocomplete="off">
          <ul class="list-group">
            <li class="list-group-item" ng-repeat="result in results">
              {{result.name}}
            </li>
          </ul>
        </div>
        <div class="col-md-6">
          <input type="text" class="search-bar" placeholder="Destination" name="destination_location" id="destination-autocomplete" ng-focus="autoComplete($event)" required>
        </div>
      </div>
      <div class="row" id="date-inputs">
        <div class="col-md-6">
          <label>Departure Date:</br>
            <input type="date" name="depart_date" ng-model="itinerary" required>
          </label>
        </div>
        <div class="col-md-6">
          <label>Return Date:</br>
            <input type="date" name="return_date" ng-model="itinerary">
          </label>
        </div>
      </div>
      <input type="submit" class="btn btn-default">
      <div>
        <h2>Departure</h2>
        <p>{{search.depart_location.name}}</p>
        <p>{{search.depart_location.airport_code}}</p>
        <p>{{search.depart_location.latitude}}</p>
        <p>{{search.depart_location.longitude}}</p>
        <h2>Arrival</h2>
        <p>{{search.arrival_location.name}}</p>
        <p>{{search.arrival_location.airport_code}}</p>
        <p>{{search.arrival_location.latitude}}</p>
        <p>{{search.arrival_location.longitude}}</p>
      </div>
    </form>
  </div>
</div><commit_msg>Connected date inputs to search model<commit_after><div class="row" onload="initialize()">
  <div class="col-md-6 col-md-offset-3">
    <h1>Travel, simplified.</h1>
    <form name="searchForm" ng-controller="SearchController">
      <div class="row" id="location-inputs">
        <div class="col-md-6">
          <input type="text" class="search-bar" placeholder="Departure" name="depart_location" id="depart-autocomplete" ng-model="search.depart_location.name" autocomplete="off">
          <ul class="list-group">
            <li class="list-group-item" ng-repeat="result in results">
              {{result.name}}
            </li>
          </ul>
        </div>
        <div class="col-md-6">
          <input type="text" class="search-bar" placeholder="Destination" name="destination_location" id="destination-autocomplete" ng-focus="autoComplete($event)" required>
        </div>
      </div>
      <div class="row" id="date-inputs">
        <div class="col-md-6">
          <label>Departure Date:</br>
            <input type="date" name="depart_date" ng-model="search.depart_date" required>
          </label>
        </div>
        <div class="col-md-6">
          <label>Return Date:</br>
            <input type="date" name="return_date" ng-model="search.return_date">
          </label>
        </div>
      </div>
      <input type="submit" class="btn btn-default">
      <div>
        <h2>Departure</h2>
        <p>{{search.depart_location.name}}</p>
        <p>{{search.depart_location.airport_code}}</p>
        <p>{{search.depart_location.latitude}}</p>
        <p>{{search.depart_location.longitude}}</p>
        <p>{{search.depart_date}}</p>
        <h2>Return</h2>
        <p>{{search.arrival_location.name}}</p>
        <p>{{search.arrival_location.airport_code}}</p>
        <p>{{search.arrival_location.latitude}}</p>
        <p>{{search.arrival_location.longitude}}</p>
        <p>{{search.return_date}}</p>
      </div>
    </form>
  </div>
</div>
{'fraction_non_alphanumeric': 0.18761431931016462, 'fraction_numerical': 0.006271230729030572, 'mean_word_length': 2.645714285714286, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 121, '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': '943539', 'n_tokens_mistral': 1284, 'n_tokens_neox': 1228, 'n_words': 188}