<commit_before><md-dialog style="width:50%;">
  <form name="namelistform" style="overflow:hidden;" ng-submit="submitForm(namelistform.$valid)" novalidate>
  <md-toolbar>
    <div class="md-toolbar-tools">
      <h2>{{title}}</h2>
      <span flex></span>      
    </div>
  </md-toolbar>
  <md-dialog-content style="max-width:800px;max-height:830px;">
    <div>

     <md-input-container>
      <label>Name of your List</label>
      <input ng-model="listname" required ng-pattern="/^[a-zA-Z0-9]*$/" ng-change="checkdoubles()">
    </md-input-container>

    <div ng-if="double.length > 0" style="color:rgb(244,67,54);">
    <span>File "{{listname}}.json" already exists, please choose another name</span>
    </div>    

    </div>
  </md-dialog-content>
  <div class="md-actions" layout="row">    
    <span flex></span>          
    <md-button type="button" ng-click="cancel()">Cancel</md-button>
    <button type="submit" class="md-button md-accent" ng-disabled="namelistform.$invalid">Save</button>  
    </form>
  </div>
  
</md-dialog>
<commit_msg>loosened filename restrictions for lists<commit_after><md-dialog style="width:50%;">
  <form name="namelistform" style="overflow:hidden;" ng-submit="submitForm(namelistform.$valid)" novalidate>
  <md-toolbar>
    <div class="md-toolbar-tools">
      <h2>{{title}}</h2>
      <span flex></span>      
    </div>
  </md-toolbar>
  <md-dialog-content style="max-width:800px;max-height:830px;">
    <div>

     <md-input-container>
      <label>Name of your List</label>
      <input ng-model="listname" required ng-pattern="/^[a-zA-Z0-9_-]*$/" ng-change="checkdoubles()">
    </md-input-container>

    <div ng-if="double.length > 0" style="color:rgb(244,67,54);">
    <span>File "{{listname}}.json" already exists, please choose another name</span>
    </div>    

    </div>
  </md-dialog-content>
  <div class="md-actions" layout="row">    
    <span flex></span>          
    <md-button type="button" ng-click="cancel()">Cancel</md-button>
    <button type="submit" class="md-button md-accent" ng-disabled="namelistform.$invalid">Save</button>  
    </form>
  </div>
  
</md-dialog>

{'fraction_non_alphanumeric': 0.20224194301728166, 'fraction_numerical': 0.018682858477347034, 'mean_word_length': 3.4625, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 71, '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': '4315726', 'n_tokens_mistral': 790, 'n_tokens_neox': 735, 'n_words': 124}