<commit_before><div class="map-wrap" ng-controller="ForgeMapCtrl">
  <ng-map data-map-type-control="true"
          data-street-view-control="true"
          data-tap-disabled="true"
          data-styles="[{ featureType: 'poi', elementType: 'labels', stylers: [{ visibility: 'off' }]}]"
          center="[42.4418353,-76.4987984]">
    <div ng-repeat="building in buildings track by $index">

      <marker position="{{building.latitude}}, {{building.longitude}}"
              z-index="{{ zIndexFor(building) }}"
              icon="{{ markerIcon(building) }}"
              on-mouseover="highlightBuilding(building)"
              on-click="showBuilding(building)"
              id="building-marker-{{building.id}}"
              ng-if="building.latitude"></marker>

      <info-window id="building-iw-{{building.id}}">
        <div ng-non-bindable="">
          <h5>{{ currentBuilding.name }}</h5>
          <div style="width:650px" ng-if="currentBuilding.photo && currentBuilding.census_records.length > 0">
            <div class="col-xs-4">
              <picture>
                <!--[if IE 9]><video style="display: none;"><![endif]-->
                <source ng-srcset="/photos/{{currentBuilding.photo}}/15/phone.jpg" media="(max-width:480px)">
                <source ng-srcset="/photos/{{currentBuilding.photo}}/15/tablet.jpg" media="(min-width:481px) and (max-width:1024px)">
                <source ng-srcset="/photos/{{currentBuilding.photo}}/15/desktop.jpg" media="(min-width:1025px)">
                <!--[if IE 9]></video><![endif]-->
                <img src class="img-responsive img-thumbnail">
              </picture>
            </div>
            <div class="col-xs-3">
              <p>{{ currentBuilding.street_address }}<br>{{ currentBuilding.city }}, {{ currentBuilding.state }}</p>
              <p><a href="/buildings/{{ currentBuilding.id }}" target="_blank">Open in new tab</a>
            </div>
            <div class="col-xs-5">
              <table class="table table-condensed">
                <thead>
                  <tr>
                    <th>Name</th>
                    <th>Age</th>
                    <th>Race</th>
                    <th>Sex</th>
                  </tr>
                </thead>
                <tbody>
                  <tr ng-repeat="person in currentBuilding.census_records">
                    <td><a href="/census/1910/{{person.id}}" target="_blank">{{ person.name }}</a></td>
                    <td>{{ person.age }}</td>
                    <td>{{ person.race }}</td>
                    <td>{{ person.sex }}</td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
          <div style="width:450px" ng-if="!currentBuilding.photo && currentBuilding.census_records.length > 0">
            <div class="row">
              <div class="col-xs-5">
                <p>{{ currentBuilding.street_address }}<br>{{ currentBuilding.city }}, {{ currentBuilding.state }}</p>
                <p><a href="/buildings/{{ currentBuilding.id }}" target="_blank">Open in new tab</a>
              </div>
              <div class="col-xs-7">
                <h5>1910 Residents</h5>
                <table class="table table-condensed">
                  <thead>
                    <tr>
                      <th>Name</th>
                      <th>Age</th>
                      <th>Race</th>
                      <th>Sex</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr ng-repeat="person in currentBuilding.census_records">
                      <td><a href="/census_records/{{person.id}}" target="_blank">{{ person.name }}</a></td>
                      <td>{{ person.age }}</td>
                      <td>{{ person.race }}</td>
                      <td>{{ person.sex }}</td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </div>
          </div>
          <div style="min-width:500px" ng-if="currentBuilding.photo && currentBuilding.census_records.length == 0">
            <div class="row">
              <div class="col-xs-6">
                <picture>
                  <!--[if IE 9]><video style="display: none;"><![endif]-->
                  <source ng-srcset="/photos/{{currentBuilding.photo}}/15/phone.jpg" media="(max-width:480px)">
                  <source ng-srcset="/photos/{{currentBuilding.photo}}/15/tablet.jpg" media="(min-width:481px) and (max-width:1024px)">
                  <source ng-srcset="/photos/{{currentBuilding.photo}}/15/desktop.jpg" media="(min-width:1025px)">
                  <!--[if IE 9]></video><![endif]-->
                  <img src class="img-responsive img-thumbnail">
                </picture>
              </div>
              <div class="col-xs-6">
                <p>{{ currentBuilding.street_address }}<br>{{ currentBuilding.city }}, {{ currentBuilding.state }}</p>
                <p><a href="/buildings/{{ currentBuilding.id }}" target="_blank">Open in new tab</a>
              </div>
            </div>
          </div>
          <div ng-if="!currentBuilding.photo && currentBuilding.census_records.length == 0">
            <p>{{ currentBuilding.street_address }}<br>{{ currentBuilding.city }}, {{ currentBuilding.state }}</p>
            <p><a href="/buildings/{{ currentBuilding.id }}" target="_blank">Open in new tab</a><commit_msg>fix link to person from building infowindow<commit_after><div class="map-wrap" ng-controller="ForgeMapCtrl">
  <ng-map data-map-type-control="true"
          data-street-view-control="true"
          data-tap-disabled="true"
          data-styles="[{ featureType: 'poi', elementType: 'labels', stylers: [{ visibility: 'off' }]}]"
          center="[42.4418353,-76.4987984]">
    <div ng-repeat="building in buildings track by $index">

      <marker position="{{building.latitude}}, {{building.longitude}}"
              z-index="{{ zIndexFor(building) }}"
              icon="{{ markerIcon(building) }}"
              on-mouseover="highlightBuilding(building)"
              on-click="showBuilding(building)"
              id="building-marker-{{building.id}}"
              ng-if="building.latitude"></marker>

      <info-window id="building-iw-{{building.id}}">
        <div ng-non-bindable="">
          <h5>{{ currentBuilding.name }}</h5>
          <div style="width:650px" ng-if="currentBuilding.photo && currentBuilding.census_records.length > 0">
            <div class="col-xs-4">
              <picture>
                <!--[if IE 9]><video style="display: none;"><![endif]-->
                <source ng-srcset="/photos/{{currentBuilding.photo}}/15/phone.jpg" media="(max-width:480px)">
                <source ng-srcset="/photos/{{currentBuilding.photo}}/15/tablet.jpg" media="(min-width:481px) and (max-width:1024px)">
                <source ng-srcset="/photos/{{currentBuilding.photo}}/15/desktop.jpg" media="(min-width:1025px)">
                <!--[if IE 9]></video><![endif]-->
                <img src class="img-responsive img-thumbnail">
              </picture>
            </div>
            <div class="col-xs-3">
              <p>{{ currentBuilding.street_address }}<br>{{ currentBuilding.city }}, {{ currentBuilding.state }}</p>
              <p><a href="/buildings/{{ currentBuilding.id }}" target="_blank">Open in new tab</a>
            </div>
            <div class="col-xs-5">
              <table class="table table-condensed">
                <thead>
                  <tr>
                    <th>Name</th>
                    <th>Age</th>
                    <th>Race</th>
                    <th>Sex</th>
                  </tr>
                </thead>
                <tbody>
                  <tr ng-repeat="person in currentBuilding.census_records">
                    <td><a href="/census/1910/{{person.id}}" target="_blank">{{ person.name }}</a></td>
                    <td>{{ person.age }}</td>
                    <td>{{ person.race }}</td>
                    <td>{{ person.sex }}</td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
          <div style="width:450px" ng-if="!currentBuilding.photo && currentBuilding.census_records.length > 0">
            <div class="row">
              <div class="col-xs-5">
                <p>{{ currentBuilding.street_address }}<br>{{ currentBuilding.city }}, {{ currentBuilding.state }}</p>
                <p><a href="/buildings/{{ currentBuilding.id }}" target="_blank">Open in new tab</a>
              </div>
              <div class="col-xs-7">
                <h5>1910 Residents</h5>
                <table class="table table-condensed">
                  <thead>
                    <tr>
                      <th>Name</th>
                      <th>Age</th>
                      <th>Race</th>
                      <th>Sex</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr ng-repeat="person in currentBuilding.census_records">
                      <td><a href="/census/1910/{{person.id}}" target="_blank">{{ person.name }}</a></td>
                      <td>{{ person.age }}</td>
                      <td>{{ person.race }}</td>
                      <td>{{ person.sex }}</td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </div>
          </div>
          <div style="min-width:500px" ng-if="currentBuilding.photo && currentBuilding.census_records.length == 0">
            <div class="row">
              <div class="col-xs-6">
                <picture>
                  <!--[if IE 9]><video style="display: none;"><![endif]-->
                  <source ng-srcset="/photos/{{currentBuilding.photo}}/15/phone.jpg" media="(max-width:480px)">
                  <source ng-srcset="/photos/{{currentBuilding.photo}}/15/tablet.jpg" media="(min-width:481px) and (max-width:1024px)">
                  <source ng-srcset="/photos/{{currentBuilding.photo}}/15/desktop.jpg" media="(min-width:1025px)">
                  <!--[if IE 9]></video><![endif]-->
                  <img src class="img-responsive img-thumbnail">
                </picture>
              </div>
              <div class="col-xs-6">
                <p>{{ currentBuilding.street_address }}<br>{{ currentBuilding.city }}, {{ currentBuilding.state }}</p>
                <p><a href="/buildings/{{ currentBuilding.id }}" target="_blank">Open in new tab</a>
              </div>
            </div>
          </div>
          <div ng-if="!currentBuilding.photo && currentBuilding.census_records.length == 0">
            <p>{{ currentBuilding.street_address }}<br>{{ currentBuilding.city }}, {{ currentBuilding.state }}</p>
            <p><a href="/buildings/{{ currentBuilding.id }}" target="_blank">Open in new tab</a>
{'fraction_non_alphanumeric': 0.1793553127008908, 'fraction_numerical': 0.017632473138029205, 'mean_word_length': 1.6368038740920097, 'pattern_counts': {'":': 0, '<': 283, '<?xml version=': 0, '>': 287, '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': '2462690', 'n_tokens_mistral': 3401, 'n_tokens_neox': 2994, 'n_words': 525}