<commit_before><tabset justified="true">
  <tab>
    <tab-heading>
      <span>All Requests <span class="badge">{{ requests.length }}</span></span>
    </tab-heading>

    <div class="input-group">
      <span class="input-group-addon">
	<span class="glyphicon glyphicon-search"></span>
      </span>
      <input type="text" class="form-control" placeholder="Search..." ng-model="allSearch">
    </div>

    <request request="request" ng-repeat="request in requests | filter:allSearch | orderBy:predicate"></request>
    <div class="no-results" ng-show="(requests | filter:allSearch).length === 0">
      <span>No results found.</span>
    </div>
  </tab>

  <tab heading="Movies">
    <tab-heading>
      <span>All Requests <span class="badge">{{ typeCount('movie') }}</span></span>
    </tab-heading>

    <div class="input-group">
      <span class="input-group-addon">
	<span class="glyphicon glyphicon-search"></span>
      </span>
      <input type="text" class="form-control" placeholder="Search..." ng-model="movieSearch">
    </div>

    <request request="request" ng-repeat="request in requests | filter:{medium: 'movie'} | filter:movieSearch | orderBy:predicate"></request>
    <div class="no-results" ng-show="(requests | filter:{medium: 'movie'} |
      filter:movieSearch).length === 0">
      <span>No results found.</span>
    </div>
  </tab>

  <tab heading="Music">
    <tab-heading>
      <span>All Requests <span class="badge">{{ typeCount('music') }}</span></span>
    </tab-heading>

    <div class="input-group">
      <span class="input-group-addon">
	<span class="glyphicon glyphicon-search"></span>
      </span>
      <input type="text" class="form-control" placeholder="Search..." ng-model="musicSearch">
    </div>

    <request request="request" ng-repeat="request in requests | filter:{medium: 'music'} | filter:musicSearch | orderBy:predicate"></request>
    <div class="no-results" ng-show="(requests | filter:{medium: 'music'} |
      filter:musicSearch).length === 0">
      <span>No results found.</span>
    </div>
  </tab>

  <tab heading="TV Shows">
    <tab-heading>
      <span>TV Shows <span class="badge">{{ typeCount('tv-show') }}</span></span>
    </tab-heading>

    <div class="input-group">
      <span class="input-group-addon">
	<span class="glyphicon glyphicon-search"></span>
      </span>
      <input type="text" class="form-control" placeholder="Search..." ng-model="tvShowSearch">
    </div>

    <request request="request" ng-repeat="request in requests | filter:{medium: 'tv-show'} | filter:tvShowSearch | orderBy:predicate"></request>
    <div class="no-results" ng-show="(requests | filter:{medium: 'tv-show'} |
      filter:tvShowSearch).length === 0">
      <span>No results found.</span>
    </div>
  </tab>
</tabset>

<div class="row">
  <div class="col-md-12 center">
    <a href="/r/new" class="btn btn-primary">New Request</a>
  </div>
</div>
<commit_msg>Fix issues<commit_after><tabset justified="true">
  <tab>
    <tab-heading>
      <span>All Requests</span>
      <span class="badge">{{ requests.length }}</span>
    </tab-heading>

    <div class="input-group">
      <span class="input-group-addon">
	<span class="glyphicon glyphicon-search"></span>
      </span>
      <input type="text" class="form-control" placeholder="Search..." ng-model="allSearch">
    </div>

    <request request="request" ng-repeat="request in requests | filter:allSearch | orderBy:predicate"></request>
    <div class="no-results" ng-show="(requests | filter:allSearch).length === 0">
      <span>No results found.</span>
    </div>
  </tab>

  <tab heading="Movies">
    <tab-heading>
      <span>Movies</span>
      <span class="badge">{{ typeCount('movie') }}</span>
    </tab-heading>

    <div class="input-group">
      <span class="input-group-addon">
	<span class="glyphicon glyphicon-search"></span>
      </span>
      <input type="text" class="form-control" placeholder="Search..." ng-model="movieSearch">
    </div>

    <request request="request" ng-repeat="request in requests | filter:{medium: 'movie'} | filter:movieSearch | orderBy:predicate"></request>
    <div class="no-results" ng-show="(requests | filter:{medium: 'movie'} |
      filter:movieSearch).length === 0">
      <span>No results found.</span>
    </div>
  </tab>

  <tab heading="Music">
    <tab-heading>
      <span>Music</span>
      <span class="badge">{{ typeCount('music') }}</span>
    </tab-heading>

    <div class="input-group">
      <span class="input-group-addon">
	<span class="glyphicon glyphicon-search"></span>
      </span>
      <input type="text" class="form-control" placeholder="Search..." ng-model="musicSearch">
    </div>

    <request request="request" ng-repeat="request in requests | filter:{medium: 'music'} | filter:musicSearch | orderBy:predicate"></request>
    <div class="no-results" ng-show="(requests | filter:{medium: 'music'} |
      filter:musicSearch).length === 0">
      <span>No results found.</span>
    </div>
  </tab>

  <tab heading="TV Shows">
    <tab-heading>
      <span>TV Shows</span>
      <span class="badge">{{ typeCount('tv-show') }}</span>
    </tab-heading>

    <div class="input-group">
      <span class="input-group-addon">
	<span class="glyphicon glyphicon-search"></span>
      </span>
      <input type="text" class="form-control" placeholder="Search..." ng-model="tvShowSearch">
    </div>

    <request request="request" ng-repeat="request in requests | filter:{medium: 'tv-show'} | filter:tvShowSearch | orderBy:predicate"></request>
    <div class="no-results" ng-show="(requests | filter:{medium: 'tv-show'} |
      filter:tvShowSearch).length === 0">
      <span>No results found.</span>
    </div>
  </tab>
</tabset>

<div class="row">
  <div class="col-md-12 center">
    <a href="/r/new" class="btn btn-primary">New Request</a>
  </div>
</div>

{'fraction_non_alphanumeric': 0.2002049880423642, 'fraction_numerical': 0.0020498804236419544, 'mean_word_length': 3.632120253164557, 'pattern_counts': {'":': 0, '<': 187, '<?xml version=': 0, '>': 187, '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': '6600007', 'n_tokens_mistral': 1936, 'n_tokens_neox': 1860, 'n_words': 381}