<commit_before><html>
<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=false" />
  
  <title>Yelp Fusion API v3</title>
  <link href="css/bootstrap-3.3.6.min.css" rel="stylesheet" />
  <link href="css/bootstrap-theme-3.3.6.min.css" rel="stylesheet" />
  <link href="css/font-awesome-4.7.0.min.css" rel="stylesheet" />
  <link href="css/yelp.css" rel="stylesheet" />
</head>
<body>
<div class="yelp">
  <header class="container-fluid">
    <div class="row">
      <div class="col-sm-8 col-sm-offset-2">
        <div class="row">
          <div class="col-xs-4">
            <a href="https://www.yelp.com/developers/documentation/v3/" target="_blank"><img src="img/logos/yelp.png" /></a>
          </div>
          <div class="col-xs-8 text-right">
            <h1>Yelp Fusion API v3</h1>
          </div>
        </div>
      </div>
    </div>
  </header>
  
  <div class="loading">
    <section class="container-fluid">
      <div class="row">
        <div class="col-sm-8 col-sm-offset-2 text-center">
          <img src="img/logos/loading.png" class="img-responsive" />
          <span class="message">Loading...</span>
        </div>
      </div>
    </section>
  </div>
  
  <div class="search hidden-all">
    <section class="container-fluid">
      <div class="row">
        <div class="col-sm-8 col-sm-offset-2">
          <div class="text-center">
            <input type="text" name="search" placeholder="Search" class="form-control search" value="Taco" />
            <input type="text" name="search" placeholder="Location" class="form-control location" value="Tampa, FL" />
            <br class="hidden-md hidden-lg" />
            <button type="button" class="btn btn-danger btn-search">
              <span class="fa fa-search"></span> Search
            </button>
          </div>
        </div>
      </div>
    </section>

    <section class="container-fluid">
      <div class="row">
        <div class="col-sm-8 col-sm-offset-2">
          <table class="table table-striped table-results">
            <thead></thead>
            <tbody class="results"></tbody>
          </table>
        </div>
      </div>
    </section>
  </div>
</div>
  
<script type="text/template" id="tmpl-search-results">
  <% if (obj && obj.businesses.length) { %>
    <% _.each(obj.businesses, function(business, key, list) { %>
      <tr data-id="<%= business.id %>">
        <td>
          <% if (business.image_url) { %>
            <a href="<%= business.url %>" target="_blank" title="<%= business.name %>" class="thumb" style="background-image:url('<%= business.image_url %>')"></a>
          <% } else { %>
            <a href="<%= business.url %>" target="_blank" title="<%= business.name %>">
              <img src="img/no-img.png" />
            </a>
          <% } %>
        </td>
        <td style="width:100%">
          <a href="<%= business.url %>" class="name"  target="_blank"><%= business.name %></a><br />
          
          <% if (typeof business.phone === 'string') { %>
            <span class="phone"><%= business.phone.replace(/^\+1(\d{3})/, '($1) ').replace(/(\d{4})$/, '-$1') %></span><br />
          <% } %>
          
          <div class="stars">
            <% for(var i=1; i<=5; i++) { %>
              <% if (business.rating === (i + .5)) { %>
                <img src="img/stars/half.gif" />
              <% } else if (business.rating >= i) { %>
                <img src="img/stars/on.gif" />
              <% } else { %>
                <img src="img/stars/off.gif" />
              <% } %>
            <% } %>
            &nbsp;
            <a href="javascript:void(0)" title="View" class="btn-review nowrap" data-toggle="modal" data-target="#review-<%= key %>">
              <span class="fa fa-comments"></span> <%= business.review_count %> reviews
            </a>
          </div>
          
          <% if (business.categories.length) { %>
            <ul class="categories"><commit_msg>Add hash in place of void for href<commit_after><html>
<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=false" />
  
  <title>Yelp Fusion API v3</title>
  <link href="css/bootstrap-3.3.6.min.css" rel="stylesheet" />
  <link href="css/bootstrap-theme-3.3.6.min.css" rel="stylesheet" />
  <link href="css/font-awesome-4.7.0.min.css" rel="stylesheet" />
  <link href="css/yelp.css" rel="stylesheet" />
</head>
<body>
<div class="yelp">
  <header class="container-fluid">
    <div class="row">
      <div class="col-sm-8 col-sm-offset-2">
        <div class="row">
          <div class="col-xs-4">
            <a href="https://www.yelp.com/developers/documentation/v3/" target="_blank"><img src="img/logos/yelp.png" /></a>
          </div>
          <div class="col-xs-8 text-right">
            <h1>Yelp Fusion API v3</h1>
          </div>
        </div>
      </div>
    </div>
  </header>
  
  <div class="loading">
    <section class="container-fluid">
      <div class="row">
        <div class="col-sm-8 col-sm-offset-2 text-center">
          <img src="img/logos/loading.png" class="img-responsive" />
          <span class="message">Loading...</span>
        </div>
      </div>
    </section>
  </div>
  
  <div class="search hidden-all">
    <section class="container-fluid">
      <div class="row">
        <div class="col-sm-8 col-sm-offset-2">
          <div class="text-center">
            <input type="text" name="search" placeholder="Search" class="form-control search" value="Taco" />
            <input type="text" name="search" placeholder="Location" class="form-control location" value="Tampa, FL" />
            <br class="hidden-md hidden-lg" />
            <button type="button" class="btn btn-danger btn-search">
              <span class="fa fa-search"></span> Search
            </button>
          </div>
        </div>
      </div>
    </section>

    <section class="container-fluid">
      <div class="row">
        <div class="col-sm-8 col-sm-offset-2">
          <table class="table table-striped table-results">
            <thead></thead>
            <tbody class="results"></tbody>
          </table>
        </div>
      </div>
    </section>
  </div>
</div>
  
<script type="text/template" id="tmpl-search-results">
  <% if (obj && obj.businesses.length) { %>
    <% _.each(obj.businesses, function(business, key, list) { %>
      <tr data-id="<%= business.id %>">
        <td>
          <% if (business.image_url) { %>
            <a href="<%= business.url %>" target="_blank" title="<%= business.name %>" class="thumb" style="background-image:url('<%= business.image_url %>')"></a>
          <% } else { %>
            <a href="<%= business.url %>" target="_blank" title="<%= business.name %>">
              <img src="img/no-img.png" />
            </a>
          <% } %>
        </td>
        <td style="width:100%">
          <a href="<%= business.url %>" class="name"  target="_blank"><%= business.name %></a><br />
          
          <% if (typeof business.phone === 'string') { %>
            <span class="phone"><%= business.phone.replace(/^\+1(\d{3})/, '($1) ').replace(/(\d{4})$/, '-$1') %></span><br />
          <% } %>
          
          <div class="stars">
            <% for(var i=1; i<=5; i++) { %>
              <% if (business.rating === (i + .5)) { %>
                <img src="img/stars/half.gif" />
              <% } else if (business.rating >= i) { %>
                <img src="img/stars/on.gif" />
              <% } else { %>
                <img src="img/stars/off.gif" />
              <% } %>
            <% } %>
            &nbsp;
            <a href="#" title="View" class="btn-review nowrap" data-toggle="modal" data-target="#review-<%= key %>">
              <span class="fa fa-comments"></span> <%= business.review_count %> reviews
            </a>
          </div>
          
          <% if (business.categories.length) { %>
            <ul class="categories">
{'fraction_non_alphanumeric': 0.21125730994152048, 'fraction_numerical': 0.010599415204678362, 'mean_word_length': 2.065347274085138, 'pattern_counts': {'":': 0, '<': 251, '<?xml version=': 0, '>': 251, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1483162', 'n_tokens_mistral': 2796, 'n_tokens_neox': 2647, 'n_words': 486}