<commit_before><h1>My Supplement Diary</h1>
<div class="row" ng-controller="SupplementDiaryController as suppDiaryCtrl">
  <button class="btn btn-success" ng-click="reviewFormCtrl.displayForm = !reviewFormCtrl.displayForm">Create Review</button>
  <hr />    
  <review-form ng-show="reviewFormCtrl.displayForm"></review-form>
  <hr />

  <ul class="list-unstyled col-sm-8">
    <li class="supplement row" ng-repeat="supplement in suppDiaryCtrl.supplements">
       <!--SUPPLEMENT IMAGES + RATING DIRECTIVE-->
      <supplement-images></supplement-images>

      <div class="col-sm-9">
        <!--SUPPLEMENT INFO DIRECTIVE-->
        <supplement-info></supplement-info>
        <!--SUPPLEMENT REVIEW DIRECTIVE-->
        <supplement-reviews></supplement-reviews>
        <!--SUPPLEMENT CATEGORIES DIRECTIVE-->
        <supplement-categories></supplement-categories><commit_msg>Toggle button text based on state<commit_after><h1>My Supplement Diary</h1>
<div class="row" ng-controller="SupplementDiaryController as suppDiaryCtrl">
  <button class="btn btn-primary" ng-click="reviewFormCtrl.displayForm = !reviewFormCtrl.displayForm">{{reviewFormCtrl.displayForm ? "Hide Supplement Form" : "Add New Supplement"}}</button>
  <hr />    
  <review-form ng-show="reviewFormCtrl.displayForm"></review-form>
  <hr />

  <ul class="list-unstyled col-sm-8">
    <li class="supplement row" ng-repeat="supplement in suppDiaryCtrl.supplements">
       <!--SUPPLEMENT IMAGES + RATING DIRECTIVE-->
      <supplement-images></supplement-images>

      <div class="col-sm-9">
        <!--SUPPLEMENT INFO DIRECTIVE-->
        <supplement-info></supplement-info>
        <!--SUPPLEMENT REVIEW DIRECTIVE-->
        <supplement-reviews></supplement-reviews>
        <!--SUPPLEMENT CATEGORIES DIRECTIVE-->
        <supplement-categories></supplement-categories>
{'fraction_non_alphanumeric': 0.15171288743882544, 'fraction_numerical': 0.004350190320826536, 'mean_word_length': 3.7916666666666665, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '3266947', 'n_tokens_mistral': 573, 'n_tokens_neox': 563, 'n_words': 101}