<commit_before># Scales module
module Scales
  
  # Notes
  DO = :do
  RE = :re
  MI = :mi
  FA = :fa
  SOL = :sol
  LA = :la
  SI = :si
  
  DIATONIC_SCALE = [DO, RE, MI, FA, SOL, LA, SI]

  # Alterations:
  FLAT = 'b'
  DFLAT = FLAT + FLAT
  SHARP = '#'
  DSHARP = SHARP + SHARP

  # Qualities
  PERF = 'P'
  MAJ = 'M'
  MIN = 'm'
  AUG = 'A'
  AUGP = AUG + AUG
  DIM = 'd'
  DIMP = DIM + DIM

  # Qualities hash
  QUALITIES = {
        2 => {0 => DIM, 1 => MIN, 2 => MAJ, 3 => AUG, 4 => AUGP},
        3 => {1 => DIMP, 2 => DIM, 3 => MIN, 4 => MAJ, 5 => AUG, 6 => AUGP},
        4 => {3 => DIMP, 4 => DIM, 5 => PERF, 6 => AUG, 7 => AUGP},
        5 => {5 => DIMP, 6 => DIM, 7 => PERF, 8 => AUG, 9 => AUGP},
        6 => {6 => DIMP, 7 => DIM, 8 => MIN, 9 => MAJ, 10 => AUG, 11 => AUGP},
        7 => {8 => DIMP, 9 => DIM, 10 => MIN, 11 => MAJ, 12 => AUG, 13 => AUGP},
        8 => {10 => DIMP, 11 => DIM, 12 => PERF, 13 => AUG, 14 => AUGP}
      }

end
<commit_msg>Fixed bug on 6th number quality<commit_after># Scales module
module Scales
  
  # Notes
  DO = :do
  RE = :re
  MI = :mi
  FA = :fa
  SOL = :sol
  LA = :la
  SI = :si
  
  DIATONIC_SCALE = [DO, RE, MI, FA, SOL, LA, SI]

  # Alterations:
  FLAT = 'b'
  DFLAT = FLAT + FLAT
  SHARP = '#'
  DSHARP = SHARP + SHARP

  # Qualities
  PERF = 'P'
  MAJ = 'M'
  MIN = 'm'
  AUG = 'A'
  AUGP = AUG + AUG
  DIM = 'd'
  DIMP = DIM + DIM

  # Qualities hash
  QUALITIES = {
        2 => {0 => DIM, 1 => MIN, 2 => MAJ, 3 => AUG, 4 => AUGP},
        3 => {1 => DIMP, 2 => DIM, 3 => MIN, 4 => MAJ, 5 => AUG, 6 => AUGP},
        4 => {3 => DIMP, 4 => DIM, 5 => PERF, 6 => AUG, 7 => AUGP},
        5 => {5 => DIMP, 6 => DIM, 7 => PERF, 8 => AUG, 9 => AUGP},
        6 => {7 => DIMP, 8 => DIM, 9 => MIN, 10 => MAJ, 11 => AUG, 12 => AUGP},
        7 => {8 => DIMP, 9 => DIM, 10 => MIN, 11 => MAJ, 12 => AUG, 13 => AUGP},
        8 => {10 => DIMP, 11 => DIM, 12 => PERF, 13 => AUG, 14 => AUGP}
      }

end

{'fraction_non_alphanumeric': 0.21095750128008192, 'fraction_numerical': 0.05837173579109063, 'mean_word_length': 1.8651026392961876, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 93, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6322725', 'n_tokens_mistral': 1009, 'n_tokens_neox': 886, 'n_words': 289}