<commit_before><p>This is a single contact edit form.</p>
<p>{{contact.name}} can be reached at {{contact.phone}}</p>

<form ng-submit="save()" class="form-horizontal">
    
  <div class="control-group">
    <label class="control-label" for="name">Name:</label>
    <div class="controls">
      <input ng-model="contact.name" id="name" />
    </div>
  </div>
    
  <div class="control-group">
    <label class="control-label" for="phone">Phone:</label>
    <div class="controls">
      <input ng-model="contact.phone" id="phone" />
    </div>
  </div>
  
  <div class="form-actions">
    <button class="btn btn-primary" ng-disabled="recipeForm.$invalid">Save</button>
    <button type="button" ng-click="remove()" ng-show="!recipe.id" class="btn">Delete</button>
  </div>
</form><commit_msg>Delete button properly shows/hides base on edit/new<commit_after><p>{{contact.name}} can be reached at {{contact.phone}}</p>

<form ng-submit="save()" class="form-horizontal">
    
  <div name="contactForm" class="control-group">
    <label class="control-label" for="name">Name:</label>
    <div class="controls">
      <input ng-model="contact.name" id="name" />
    </div>
  </div>
    
  <div class="control-group">
    <label class="control-label" for="phone">Phone:</label>
    <div class="controls">
      <input ng-model="contact.phone" id="phone" />
    </div>
  </div>
  
  <div class="form-actions">
    <button class="btn btn-primary" ng-disabled="contactForm.$invalid">Save</button>
    <button type="button" ng-click="remove()" ng-show="contact.id" class="btn">Delete</button>
  </div>
</form>
{'fraction_non_alphanumeric': 0.20888055034396497, 'fraction_numerical': 0.0, 'mean_word_length': 4.047318611987381, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 53, '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': '3372712', 'n_tokens_mistral': 533, 'n_tokens_neox': 524, 'n_words': 105}