<commit_before><!DOCTYPE html>
<html>
  <head>
  	<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.0/angular.min.js"></script>
  	<script src="assets/js/store.js"></script>
    <link href="assets/css/main.css" rel="stylesheet">
  </head>
  <body ng-app="storeFront" ng-controller="storeFrontCtrl as store">
    <h1>Store Front</h1>
    <div style="float:left;width:60%;">
      <table width="80%">
        <tr>
          <th>Products</th>
          <th>Name</th>
          <th class="text-left">Price</th>
          <th></th>
        </tr>
        <tr ng-repeat="product in store.products" width="100%">
          <td><img ng-src="http:{{product.mainImage.ref}}" width="50px" height="50px"></td>
          <td>{{product.name}}</td>
          <td>{{product.price | currency}}</td>
          <td ><span class="button" ng-click="store.addToCart(product)">Add to Cart</span></td>
        </tr>
      </table>
    </div>

    <div style="float:right;width:30%;" class="cart">
      <h3>Your Cart</h3>
      <div ng-if="store.cart.length==0">
        <p>There are no products in your shopping cart right now!</p>
      </div>
      <div ng-repeat="product in store.cart">
      <img ng-src="http:{{product.image}}" width="50px" height="50px">
      {{product.price | currency}} - {{product.name}}
      <br><label>Quantity:</label> <input type="text" ng-model="product.quantity" ng-change="store.updateTotals();" maxlength="3" size="3">
      <br><label>Wholsale:</label> <input type="checkbox" ng-model="product.wholesale" ng-change="store.updateProductPrice(product)">
      <br><span class="button" ng-click="store.removeFromCart(product)">Remove from Cart</span>
      </div>
      <div class="total">
        <h3>Totals</h3>
        Price: {{store.cartTotal | currency}}<br>
        Quantity: {{store.cartQuantity}}
      </div>
    </div>
  </body>
</html>

<commit_msg>title + https images<commit_after><!DOCTYPE html>
<html>
  <head>
    <title>Store Front</title>
  	<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.0/angular.min.js"></script>
  	<script src="assets/js/store.js"></script>
    <link href="assets/css/main.css" rel="stylesheet">
  </head>
  <body ng-app="storeFront" ng-controller="storeFrontCtrl as store">
    <h1>Store Front</h1>
    <div style="float:left;width:60%;">
      <table width="80%">
        <tr>
          <th>Products</th>
          <th>Name</th>
          <th class="text-left">Price</th>
          <th></th>
        </tr>
        <tr ng-repeat="product in store.products" width="100%">
          <td><img ng-src="https:{{product.mainImage.ref}}" width="50px" height="50px"></td>
          <td>{{product.name}}</td>
          <td>{{product.price | currency}}</td>
          <td ><span class="button" ng-click="store.addToCart(product)">Add to Cart</span></td>
        </tr>
      </table>
    </div>

    <div style="float:right;width:30%;" class="cart">
      <h3>Your Cart</h3>
      <div ng-if="store.cart.length==0">
        <p>There are no products in your shopping cart right now!</p>
      </div>
      <div ng-repeat="product in store.cart">
      <img ng-src="https:{{product.image}}" width="50px" height="50px">
      {{product.price | currency}} - {{product.name}}
      <br><label>Quantity:</label> <input type="text" ng-model="product.quantity" ng-change="store.updateTotals();" maxlength="3" size="3">
      <br><label>Wholsale:</label> <input type="checkbox" ng-model="product.wholesale" ng-change="store.updateProductPrice(product)">
      <br><span class="button" ng-click="store.removeFromCart(product)">Remove from Cart</span>
      </div>
      <div class="total">
        <h3>Totals</h3>
        Price: {{store.cartTotal | currency}}<br>
        Quantity: {{store.cartQuantity}}
      </div>
    </div>
  </body>
</html>


{'fraction_non_alphanumeric': 0.2061909758656873, 'fraction_numerical': 0.015215110178384051, 'mean_word_length': 3.060702875399361, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 141, 'https://': 2, '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': '6143054', 'n_tokens_mistral': 1342, 'n_tokens_neox': 1284, 'n_words': 224}