<commit_before><!DOCTYPE html>
<ion-view >
  <div class="loading center" ng-style="loading">
    <img class="center" style="margin-top: 50%" ng-src="{{ load() }}" alt="">
  </div>
  <div ng-style="mapShow" ng-click="mapToggle()">
    <div class="black t-center"></div>
    <img class="info" ng-src="{{ mapSrc }}" alt="">
  </div>


  <ion-nav-buttons side="left">
    <ion-header-bar class="bar bar-header" align-title="center">
      <button menu-toggle="left" class="button button-icon icon ion-navicon"></button>
      <h1 class="title">Breadcrumb</h1>
      <button class="right button button-icon icon icon-right ion-refresh maroon-t" ng-click="refresh()"></button>
    </ion-header-bar>
  </ion-nav-buttons>

  <ion-content class="egg-b">

    <div ng-repeat="trail in trails track by $index" ng-style="trail.style" class="mint-b">

      <div class="row item item-divider" ng-click="toggle($index)">
        <i class="ion-cash balanced margin-h s-1x left" ng-if="trail.requires_money"></i>
        <div class="col center s-1x">{{ trail.name }}</div>
        <i class="ion-backspace assertive margin-h s-1x right" ng-click="delete(trail, $index)"></i>
      </div>

      <div class="light-b padding-v padding-b">

        <div class="row item center">

          <!-- TRANSPORT -->
          <div class="col col-10 right mint-t s-1x" ng-click="filter('transport', trail.transport)">
            <i class="ion-android-walk" ng-if="trail.transport === 'WALKING'"></i>
            <i class="ion-android-bicycle" ng-if="trail.transport === 'BICYCLING'"></i>
            <i class="ion-android-car" ng-if="trail.transport === 'DRIVING'"></i>
            <i class="ion-android-bus" ng-if="trail.transport === 'TRANSIT'"></i>
          </div>

          <!-- LENGTH -->
          <div class="col left" ng-click="filter('length')">
            {{ trail.length }} miles
          </div>

          <!-- DIFFICULTY -->
          <div class="col col-33 center" ng-click="filter('difficulty')">
            <i class="ion-ribbon-b sea-t s-1x" ng-repeat="hard in trail.difficulty"></i>
          </div>

          <!-- RATING -->
          <div class="col col-33 right" ng-click="filter('rating')">
            <i class="ion-ios-star rust-t s-1x" ng-repeat="star in trail.ratingArray"></i><i class="ion-ios-star-outline rust-t s-1x" ng-repeat="star in trail.emptyStars"></i>
          </div>
        </div>

        <div class="card egg-b margin-h">
          <div class="row">
            <!-- MAP -->
            <div class="col center reviewMap">
              <img ng-src="{{ trail.map }}" height="160px" width="160px" ng-click="mapToggle(trail.map)" />
            </div>

            <!-- DESCRIPTION -->
            <div class="col item-text-wrap scrollText" ng-style="overflowStyle" height="160px">
              <p>{{ trail.description }}</p>
            </div>
          </div>

          <!-- GO BUTTON -->
          <div class="row">
            <button class="col button button-a button-block" ng-click="pickTrail(trail.id, $index)" ui-sref="app.trail">
              <span ng-if="!trail.progress">Start!</span>
              <span ng-if="trail.progress">
                <span ng-if="100 - trail.progress < 20">Only</span>
                {{ 100 - trail.progress }}% remaining! Let's go!
              </span>
            </button>
          </div>
        </div>

      </div>

    </div>
  </ion-content>

  <div class="footer" ng-click="reset()" ng-if="specificTransport">
    <div class="title">View all transport types</div>
  </div>
</ion-view>
<commit_msg>(feature) turn off delete function<commit_after><!DOCTYPE html>
<ion-view >
  <div class="loading center" ng-style="loading">
    <img class="center" style="margin-top: 50%" ng-src="{{ load() }}" alt="">
  </div>
  <div ng-style="mapShow" ng-click="mapToggle()">
    <div class="black t-center"></div>
    <img class="info" ng-src="{{ mapSrc }}" alt="">
  </div>


  <ion-nav-buttons side="left">
    <ion-header-bar class="bar bar-header" align-title="center">
      <button menu-toggle="left" class="button button-icon icon ion-navicon"></button>
      <h1 class="title">Breadcrumb</h1>
      <button class="right button button-icon icon icon-right ion-refresh maroon-t" ng-click="refresh()"></button>
    </ion-header-bar>
  </ion-nav-buttons>

  <ion-content class="egg-b">

    <div ng-repeat="trail in trails track by $index" ng-style="trail.style" class="mint-b">

      <div class="row item item-divider" ng-click="toggle($index)">
        <i class="ion-cash balanced margin-h s-1x left" ng-if="trail.requires_money"></i>
        <div class="col center s-1x">{{ trail.name }}</div>
        <!-- <i class="ion-backspace assertive margin-h s-1x right" ng-click="delete(trail, $index)"></i> -->
      </div>

      <div class="light-b padding-v padding-b">

        <div class="row item center">

          <!-- TRANSPORT -->
          <div class="col col-10 right mint-t s-1x" ng-click="filter('transport', trail.transport)">
            <i class="ion-android-walk" ng-if="trail.transport === 'WALKING'"></i>
            <i class="ion-android-bicycle" ng-if="trail.transport === 'BICYCLING'"></i>
            <i class="ion-android-car" ng-if="trail.transport === 'DRIVING'"></i>
            <i class="ion-android-bus" ng-if="trail.transport === 'TRANSIT'"></i>
          </div>

          <!-- LENGTH -->
          <div class="col left" ng-click="filter('length')">
            {{ trail.length }} miles
          </div>

          <!-- DIFFICULTY -->
          <div class="col col-33 center" ng-click="filter('difficulty')">
            <i class="ion-ribbon-b sea-t s-1x" ng-repeat="hard in trail.difficulty"></i>
          </div>

          <!-- RATING -->
          <div class="col col-33 right" ng-click="filter('rating')">
            <i class="ion-ios-star rust-t s-1x" ng-repeat="star in trail.ratingArray"></i><i class="ion-ios-star-outline rust-t s-1x" ng-repeat="star in trail.emptyStars"></i>
          </div>
        </div>

        <div class="card egg-b margin-h">
          <div class="row">
            <!-- MAP -->
            <div class="col center reviewMap">
              <img ng-src="{{ trail.map }}" height="160px" width="160px" ng-click="mapToggle(trail.map)" />
            </div>

            <!-- DESCRIPTION -->
            <div class="col item-text-wrap scrollText" ng-style="overflowStyle" height="160px">
              <p>{{ trail.description }}</p>
            </div>
          </div>

          <!-- GO BUTTON -->
          <div class="row">
            <button class="col button button-a button-block" ng-click="pickTrail(trail.id, $index)" ui-sref="app.trail">
              <span ng-if="!trail.progress">Start!</span>
              <span ng-if="trail.progress">
                <span ng-if="100 - trail.progress < 20">Only</span>
                {{ 100 - trail.progress }}% remaining! Let's go!
              </span>
            </button>
          </div>
        </div>

      </div>

    </div>
  </ion-content>

  <div class="footer" ng-click="reset()" ng-if="specificTransport">
    <div class="title">View all transport types</div>
  </div>
</ion-view>

{'fraction_non_alphanumeric': 0.19907924107142858, 'fraction_numerical': 0.009486607142857142, 'mean_word_length': 2.2991256327657617, 'pattern_counts': {'":': 0, '<': 188, '<?xml version=': 0, '>': 186, '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': '889866', 'n_tokens_mistral': 2412, 'n_tokens_neox': 2293, 'n_words': 484}