<commit_before><div class="concept-search">
  <input type="text" placeholder="Enter Search" ng-model="searchConcept"></input>
</div>
<b>Total Concepts {{getTotalConcepts(concepts)}}</b>
<p></p>
<b>Total Questions {{getTotalQuestions(concepts)}}</b>
<div class="concept-list">
  <table>
    <thead>
      <tr>
        <th>
          <a href="#" ng-click="sortType = 'concept_level_2.name'; sortReverse = !sortReverse">
              Concept Level 2
              <span ng-show="sortType == 'concept_level_2.name'">{{ sortReverse ? "&#x25B2;" : "&#x25BC;" }}</span>
          </a>
        </th>
        <th>
          <a href="#" ng-click="sortType = 'concept_level_1.name'; sortReverse = !sortReverse">
              Concept Level 1
              <span ng-show="sortType == 'concept_level_1.name'" >{{ sortReverse ? "&#x25B2;" : "&#x25BC;" }}</span>
          </a>
        </th>
        <th>
          <a href="#" ng-click="sortType = 'concept_level_0.name'; sortReverse = !sortReverse">
              Concept Level 0
              <span ng-show="sortType == 'concept_level_0.name'" >{{ sortReverse ? "&#x25B2;" : "&#x25BC;" }}</span>
          </a>
        </th>
        <th>
          <a href="#" ng-click="sortType = 'questionCount'; sortReverse = !sortReverse">
              Questions
              <span ng-show="sortType == 'questionCount'" >{{ sortReverse ? "&#x25B2;" : "&#x25BC;" }}</span>
          </a>
        </th>
        <th>
          <a href="#" ng-click="sortType = 'ruleNumber'; sortReverse = !sortReverse">
              Rule Number
              <span ng-show="sortType == 'ruleNumber'" >{{ sortReverse ? "&#x25B2;" : "&#x25BC;" }}</span>
          </a></th>
        <th>View</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="c in concepts | orderBy:sortType:sortReverse | filter:searchConcept">
        <td>{{c.concept_level_2.name}}</td>
        <td>{{c.concept_level_1.name}}</td>
        <td>{{c.concept_level_0.name}}</td>
        <td>{{c.questionCount}}</td>
        <td>{{c.ruleNumber}}</td>
        <td><a ui-sref="cms-concepts-view({id: c.$id})">View</a></td>
      </tr>
    </tbody>
  </table>
<div class="concept-create">
  <a ui-sref="cms-concepts-create()"><button>Create Concepts</button></a>
</div><commit_msg>Show if a concept has a description<commit_after><div class="concept-search">
  <input type="text" placeholder="Enter Search" ng-model="searchConcept"></input>
</div>
<b>Total Concepts {{getTotalConcepts(concepts)}}</b>
<p></p>
<b>Total Questions {{getTotalQuestions(concepts)}}</b>
<div class="concept-list">
  <table>
    <thead>
      <tr>
        <th>
          <a href="#" ng-click="sortType = 'concept_level_2.name'; sortReverse = !sortReverse">
              Concept Level 2
              <span ng-show="sortType == 'concept_level_2.name'">{{ sortReverse ? "&#x25B2;" : "&#x25BC;" }}</span>
          </a>
        </th>
        <th>
          <a href="#" ng-click="sortType = 'concept_level_1.name'; sortReverse = !sortReverse">
              Concept Level 1
              <span ng-show="sortType == 'concept_level_1.name'" >{{ sortReverse ? "&#x25B2;" : "&#x25BC;" }}</span>
          </a>
        </th>
        <th>
          <a href="#" ng-click="sortType = 'concept_level_0.name'; sortReverse = !sortReverse">
              Concept Level 0
              <span ng-show="sortType == 'concept_level_0.name'" >{{ sortReverse ? "&#x25B2;" : "&#x25BC;" }}</span>
          </a>
        </th>
        <th>
          <a href="#" ng-click="sortType = 'questionCount'; sortReverse = !sortReverse">
              Questions
              <span ng-show="sortType == 'questionCount'" >{{ sortReverse ? "&#x25B2;" : "&#x25BC;" }}</span>
          </a>
        </th>
        <th>
          <a href="#" ng-click="sortType = 'ruleNumber'; sortReverse = !sortReverse">
              Rule Number
              <span ng-show="sortType == 'ruleNumber'" >{{ sortReverse ? "&#x25B2;" : "&#x25BC;" }}</span>
          </a></th>
        <th>
          <a href="#" ng-click="sortType = 'ruleDescription'; sortReverse = !sortReverse">
              Rule Description
              <span ng-show="sortType == 'ruleDescription'" >{{ sortReverse ? "&#x25B2;" : "&#x25BC;" }}</span>
          </a></th>
        <th>View</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="c in concepts | orderBy:sortType:sortReverse | filter:searchConcept">
        <td>{{c.concept_level_2.name}}</td>
        <td>{{c.concept_level_1.name}}</td>
        <td>{{c.concept_level_0.name}}</td>
        <td>{{c.questionCount}}</td>
        <td>{{c.ruleNumber}}</td>
        <td>{{c.ruleDescription.length > 0}}</td>
        <td><a ui-sref="cms-concepts-view({id: c.$id})">View</a></td>
      </tr>
    </tbody>
  </table>
<div class="concept-create">
  <a ui-sref="cms-concepts-create()"><button>Create Concepts</button></a>
</div>
{'fraction_non_alphanumeric': 0.20806750360156412, 'fraction_numerical': 0.016464293064416546, 'mean_word_length': 2.4297812279463655, 'pattern_counts': {'":': 0, '<': 157, '<?xml version=': 0, '>': 158, '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': '6605601', 'n_tokens_mistral': 1794, 'n_tokens_neox': 1659, 'n_words': 300}