<commit_before><div class="container">
    <div class="row">
        <div class="col-md-12 text-center">
            <h1>The Diner</h1>
        </div>
    </div>

    <div id="row">
        <div id="diner-col-left" class="col-md-6">
            <div id="diner-appetizer">
                <h2>Appetizers</h2>
                <table class="table">
                    <tr ng-repeat="menuItem in menu | filter: {category: 'appetizer'}">
                        <td class="col-md-6">{{menuItem.name}}</td>
                        <td class="col-md-3">{{menuItem.price | currency: "$"}}</td>
                        <td class="col-md-3">
                            <form>
                                <input type="button" value="Add" ng-click="addToOrder(menuItem)" />
                            </form>
                        </td>
                    </tr>
                </table>
            </div> <!--End diner appetizer-->
            <div id="diner-mains">
                <h2>Main Course</h2>
                <table class="table">
                    <tr ng-repeat="menuItem in menu | filter: {category: 'mainCourse'}">
                        <td class="col-md-6">{{menuItem.name}}</td>
                        <td class="col-md-3">{{menuItem.price | currency: "$"}}</td>
                        <td class="col-md-3">
                            <form>
                                <input type="button" value="Add" ng-click="addToOrder(menuItem)" />
                            </form>
                        </td>
                    </tr>
                </table>
            </div><!--End diner mains-->
            <div id="diner-dessert">
                <h2>Desserts</h2>
                <table class="table">
                    <tr ng-repeat="menuItem in menu | filter: {category: 'dessert'}">
                        <td class="col-md-6">{{menuItem.name}}</td>
                        <td class="col-md-3">{{menuItem.price | currency: "$"}}</td>
                        <td class="col-md-3">
                            <form>
                                <input type="button" value="Add" ng-click="addToOrder(menuItem)" />
                            </form>
                        </td>
                    </tr>
                </table>
            </div><!--End diner dessert-->
            <div id="diner-drinks">
                <h2>Drinks</h2>
                <table class="table">
                    <tr ng-repeat="menuItem in menu | filter: {category: 'drink'}">
                        <td class="col-md-6">{{menuItem.name}}</td>
                        <td class="col-md-3">{{menuItem.price | currency: "$"}}</td>
                        <td class="col-md-3">
                            <form> 
                                <input type="button" value="Add" ng-click="addToOrder(menuItem)" />
                            </form>
                        </td>
                    </tr>
                </table>
            </div><!-- End diner drinks-->
        </div> <!-- End diner col left-->
        <div id="diner-col-right" class="col-md-6">
            <div id="diner-patron">
                <h3 class="text-center">Order</h3>
                <table class="table">
                    <tr ng-repeat="orderItem in myOrder track by $index">
                        <td class="col-md-6">{{orderItem.name}}</td>
                        <td class="col-md-3">{{orderItem.price | currency: "$"}}</td>
                        <td class="col-md-3"><input type="button" value="Remove" ng-click="removeFromOrder(orderItem)" /></td>
                    </tr>
                </table>
            </div>
            <div id="diner-calc">
                <table class="table-condensed text-center">
                    <tr>
                        <th scope="row">Total</th>
                        <td>{{myTotal.total | currency: "$"}}</td>
                    </tr>
                    <tr>
                        <th scope="row">Tax</th>
                        <td><input type="number" name="tax" ng-model="myTotal.tax" min="0" required/></td>
                    </tr>
                    <tr>
                        <th scope="row">Tip</th>
                        <td><input type="number" name="tax" ng-model="myTotal.tip" min="0" required /></td>
                    </tr>
                    <tr>
                        <th scope="row"><h3>Grand Total</h3></th>
                        <td><h3>{{myTotal.grandTotal | currency: "$"}}</h3></td>
                    </tr>
                </table>
            </div><commit_msg>Added ng-change to tax and tip<commit_after><div class="container">
    <div class="row">
        <div class="col-md-12 text-center">
            <h1>The Diner</h1>
        </div>
    </div>

    <div id="row">
        <div id="diner-col-left" class="col-md-6">
            <div id="diner-appetizer">
                <h2>Appetizers</h2>
                <table class="table">
                    <tr ng-repeat="menuItem in menu | filter: {category: 'appetizer'}">
                        <td class="col-md-6">{{menuItem.name}}</td>
                        <td class="col-md-3">{{menuItem.price | currency: "$"}}</td>
                        <td class="col-md-3">
                            <form>
                                <input type="button" value="Add" ng-click="addToOrder(menuItem)" />
                            </form>
                        </td>
                    </tr>
                </table>
            </div> <!--End diner appetizer-->
            <div id="diner-mains">
                <h2>Main Course</h2>
                <table class="table">
                    <tr ng-repeat="menuItem in menu | filter: {category: 'mainCourse'}">
                        <td class="col-md-6">{{menuItem.name}}</td>
                        <td class="col-md-3">{{menuItem.price | currency: "$"}}</td>
                        <td class="col-md-3">
                            <form>
                                <input type="button" value="Add" ng-click="addToOrder(menuItem)" />
                            </form>
                        </td>
                    </tr>
                </table>
            </div><!--End diner mains-->
            <div id="diner-dessert">
                <h2>Desserts</h2>
                <table class="table">
                    <tr ng-repeat="menuItem in menu | filter: {category: 'dessert'}">
                        <td class="col-md-6">{{menuItem.name}}</td>
                        <td class="col-md-3">{{menuItem.price | currency: "$"}}</td>
                        <td class="col-md-3">
                            <form>
                                <input type="button" value="Add" ng-click="addToOrder(menuItem)" />
                            </form>
                        </td>
                    </tr>
                </table>
            </div><!--End diner dessert-->
            <div id="diner-drinks">
                <h2>Drinks</h2>
                <table class="table">
                    <tr ng-repeat="menuItem in menu | filter: {category: 'drink'}">
                        <td class="col-md-6">{{menuItem.name}}</td>
                        <td class="col-md-3">{{menuItem.price | currency: "$"}}</td>
                        <td class="col-md-3">
                            <form> 
                                <input type="button" value="Add" ng-click="addToOrder(menuItem)" />
                            </form>
                        </td>
                    </tr>
                </table>
            </div><!-- End diner drinks-->
        </div> <!-- End diner col left-->
        <div id="diner-col-right" class="col-md-6">
            <div id="diner-patron">
                <h3 class="text-center">Order</h3>
                <table class="table">
                    <tr ng-repeat="orderItem in myOrder track by $index">
                        <td class="col-md-6">{{orderItem.name}}</td>
                        <td class="col-md-3">{{orderItem.price | currency: "$"}}</td>
                        <td class="col-md-3"><input type="button" value="Remove" ng-click="removeFromOrder(orderItem)" /></td>
                    </tr>
                </table>
            </div>
            <div id="diner-calc">
                <table class="table-condensed text-center">
                    <tr>
                        <th scope="row">Total</th>
                        <td>{{myTotal.total | currency: "$"}}</td>
                    </tr>
                    <tr>
                        <th scope="row">Tax</th>
                        <td><input type="number" name="tax" ng-model="myTotal.tax" min="0" ng-change="grandTotalCalc()" required/></td>
                    </tr>
                    <tr>
                        <th scope="row">Tip</th>
                        <td><input type="number" name="tax" ng-model="myTotal.tip" min="0" ng-change="grandTotalCalc()" required /></td>
                    </tr>
                    <tr>
                        <th scope="row"><h3>Grand Total</h3></th>
                        <td><h3>{{myTotal.grandTotal | currency: "$"}}</h3></td>
                    </tr>
                </table>
            </div>
{'fraction_non_alphanumeric': 0.16672090248400043, 'fraction_numerical': 0.008026900965397548, 'mean_word_length': 1.0484336814041324, 'pattern_counts': {'":': 0, '<': 269, '<?xml version=': 0, '>': 269, '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': '4076214', 'n_tokens_mistral': 2623, 'n_tokens_neox': 2444, 'n_words': 458}