<commit_before>import Pattern from '../../models/pattern.model';

export default {
  patterns: [{
    pattern: '* have to',
    isDefault: true
  }, {
    pattern: 'can you',
    isDefault: true
  }, {
    pattern: '* please',
    isDefault: true
  }],
  init: function() {
    Pattern.find({
      isDefault: true
    }).remove().exec((err, data) => {
      if (err) {
        console.log(err);
        return;
      }
      this.patterns.forEach((p) => {
        new Pattern(p).save();
      });
      console.log(`Stored ${this.patterns.length} new patterns.`)
    })
  }
};<commit_msg>remove default patterns<commit_after>import Pattern from '../../models/pattern.model';

export default {
  patterns: [{
    pattern: 'please * ASAP',
    isDefault: true
  }],
  init: function() {
    Pattern.find({
      isDefault: true
    }).remove().exec((err, data) => {
      if (err) {
        console.log(err);
        return;
      }
      this.patterns.forEach((p) => {
        new Pattern(p).save();
      });
      console.log(`Stored ${this.patterns.length} new patterns.`)
    })
  }
};
{'fraction_non_alphanumeric': 0.18089990817263543, 'fraction_numerical': 0.0, 'mean_word_length': 2.196480938416422, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '7032742', 'n_tokens_mistral': 349, 'n_tokens_neox': 349, 'n_words': 71}