<commit_before><ion-view view-title="{{item.description.title}}"  cache-view="false">
  <ion-nav-buttons side="right">
    <button class="button-light" ng-click="editItem()">Edit Item</button>
  </ion-nav-buttons>
  <ion-content>
    <div class="card">
	  <div class="item item-divider  item-text-wrap">
		<span class="item-note" ng-class="selectedItem.active?'active':''">
	        <small>{{selectedItem.active?"available":"not available"}}</small><br>
	        <span style="color:green; font-size:20px;">
	        	<i class="icon ion-thumbsup" ></i><sub style="font-size:10px;">{{stat.yes}}</sub>
	        </span>
	        <span style="color:red; font-size:20px;">
	        	<i class="icon ion-thumbsdown" ></i><sub style="font-size:10px;">{{stat.no}}</sub>
	        </span>
	    </span> 
	    <h3>{{selectedItem.description.title}}</h3>
	    <p><small>{{selectedItem.location.tole}}, {{selectedItem.location.district}}</small></p>
	  </div>
	  <div class="item item-text-wrap">
	  	<p>Contact: {{selectedItem.description.contactname}}</p>
	  	<p>Number: {{selectedItem.description.contactnumber}}</p>
	    <p>Description: {{selectedItem.description.detail}}</p>	    
	  </div>
	  <div class="item">
	   	<button class="button  button-block button-success" ng-click="markHelpfull()">It's helpful</button>
	   	<button class="button  button-block button-danger" ng-click="markAsUnavailable()">It's not helpful</button>
	   	<button class="button  button-block button-warning" ng-click="requestRemove()">Submit a request to remove</button>
	  </div>
	</div>
  </ion-content>
</ion-view>
<commit_msg>Added count to 0 if no stat data is found<commit_after><ion-view view-title="{{item.description.title}}"  cache-view="false">
  <ion-nav-buttons side="right">
    <button class="button-light" ng-click="editItem()">Edit Item</button>
  </ion-nav-buttons>
  <ion-content>
    <div class="card">
	  <div class="item item-divider  item-text-wrap">
		<span class="item-note" ng-class="selectedItem.active?'active':''">
	        <small>{{selectedItem.active?"available":"not available"}}</small><br>
	        <span style="color:green; font-size:20px;">
	        	<i class="icon ion-thumbsup" ></i><sub style="font-size:10px;">{{stat.yes?stat.yes:0}}</sub>
	        </span>
	        <span style="color:red; font-size:20px;">
	        	<i class="icon ion-thumbsdown" ></i><sub style="font-size:10px;">{{stat.no?stat.no:0}}</sub>
	        </span>
	    </span> 
	    <h3>{{selectedItem.description.title}}</h3>
	    <p><small>{{selectedItem.location.tole}}, {{selectedItem.location.district}}</small></p>
	  </div>
	  <div class="item item-text-wrap">
	  	<p>Contact: {{selectedItem.description.contactname}}</p>
	  	<p>Number: {{selectedItem.description.contactnumber}}</p>
	    <p>Description: {{selectedItem.description.detail}}</p>	    
	  </div>
	  <div class="item">
	   	<button class="button  button-block button-success" ng-click="markHelpfull()">It's helpful</button>
	   	<button class="button  button-block button-danger" ng-click="markAsUnavailable()">It's not helpful</button>
	   	<button class="button  button-block button-warning" ng-click="requestRemove()">Submit a request to remove</button>
	  </div>
	</div>
  </ion-content>
</ion-view>

{'fraction_non_alphanumeric': 0.20449645826917154, 'fraction_numerical': 0.0070834616569140745, 'mean_word_length': 4.043478260869565, 'pattern_counts': {'":': 2, '<': 105, '<?xml version=': 0, '>': 105, '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': '7028006', 'n_tokens_mistral': 1155, 'n_tokens_neox': 1051, 'n_words': 175}