<commit_before>require 'src/git'

module SRC
  BRANCHES = {
    master: nil,
    hotfix: {
      branches_from: 'master',
      merges_to: 'master',
      prefix: 'hotfix',
      semantic_level: 'patch'
    },
    release: {
      branches_from: 'develop',
      merges_to: 'master',
      prefix: 'release',
      semantic_level: 'minor'
    },
    develop: nil
  }

  def self.check<commit_msg>rework semantics and set up default major version cut<commit_after>require 'src/git'

module SRC
  BRANCHES = {
    master: nil,
    hotfix: {
      branches_from: 'master',
      merges_to: 'master',
      prefix: 'hotfix',
      semantic_level: 'patch'
    },
    minor: {
      branches_from: 'develop',
      merges_to: 'master',
      prefix: 'release',
      semantic_level: 'minor'
    },
    major: {
      branches_from: 'develop',
      merges_to: 'master',
      prefix: 'release',
      semantic_level: 'major'
    },
    develop: nil
  }

  def self.check
{'fraction_non_alphanumeric': 0.12551867219917012, 'fraction_numerical': 0.0, 'mean_word_length': 2.374125874125874, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '851579', 'n_tokens_mistral': 336, 'n_tokens_neox': 332, 'n_words': 74}