<commit_before>AllCops:
  Includes:
    - config.ru
  Excludes:
    - db/**
    - config/**
    - script/**

# Offence count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle.
AlignHash:
  Enabled: true

# Offence count: 10
# Cop supports --auto-correct.
AlignParameters:
  Enabled: true

# Offence count: 4
# Cop supports --auto-correct.
AndOr:
  Enabled: true

# Offence count: 1
# Configuration parameters: AllowSafeAssignment.
AssignmentInCondition:
  Enabled: true

# Offence count: 11
# Cop supports --auto-correct.
Blocks:
  Enabled: false

# Offence count: 1
ClassVars:
  Enabled: false

# Offence count: 1
# Cop supports --auto-correct.
# Configuration parameters: PreferredMethods.
CollectionMethods:
  Enabled: false

# Offence count: 69
Documentation:
  Enabled: false

# Offence count: 6
# Configuration parameters: AllowAdjacentOneLineDefs.
EmptyLineBetweenDefs:
  Enabled: true

# Offence count: 3
# Cop supports --auto-correct.
EmptyLines:
  Enabled: true

# Offence count: 1
EmptyLinesAroundAccessModifier:
  Enabled: true

# Offence count: 11
# Cop supports --auto-correct.
EmptyLinesAroundBody:
  Enabled: true

# Offence count: 2
# Configuration parameters: AlignWith, SupportedStyles.
EndAlignment:
  Enabled: true

# Offence count: 10
# Cop supports --auto-correct.
FinalNewline:
  Enabled: true

# Offence count: 19
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
HashSyntax:
  Enabled: true

# Offence count: 4
IndentationWidth:
  Enabled: true

# Offence count: 6
Lambda:
  Enabled: false

# Offence count: 2
# Cop supports --auto-correct.
LeadingCommentSpace:
  Enabled: true

# Offence count: 105
LineLength:
  Max: 183

# Offence count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
MethodDefParentheses:
  Enabled: true

# Offence count: 10
# Configuration parameters: CountComments.
MethodLength:
  Max: 32

# Offence count: 2
MultilineBlockChain:
  Enabled: true

# Offence count: 1
# Cop supports --auto-correct.
NumericLiterals:
  Enabled: true

# Offence count: 3
# Configuration parameters: SupportedStyles.
RaiseArgs:
  EnforcedStyle: compact

# Offence count: 3
# Cop supports --auto-correct.
RedundantSelf:
  Enabled: true

# Offence count: 1
ShadowingOuterLocalVariable:
  Enabled: true

# Offence count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
SignalException:
  Enabled: false

# Offence count: 5
# Cop supports --auto-correct.
SpaceAfterComma:
  Enabled: false

# Offence count: 15<commit_msg>Use raise for signal exceptions<commit_after>AllCops:
  Includes:
    - config.ru
  Excludes:
    - db/**
    - config/**
    - script/**

# Offence count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle.
AlignHash:
  Enabled: true

# Offence count: 10
# Cop supports --auto-correct.
AlignParameters:
  Enabled: true

# Offence count: 4
# Cop supports --auto-correct.
AndOr:
  Enabled: true

# Offence count: 1
# Configuration parameters: AllowSafeAssignment.
AssignmentInCondition:
  Enabled: true

# Offence count: 11
# Cop supports --auto-correct.
Blocks:
  Enabled: false

# Offence count: 1
ClassVars:
  Enabled: false

# Offence count: 1
# Cop supports --auto-correct.
# Configuration parameters: PreferredMethods.
CollectionMethods:
  Enabled: false

# Offence count: 69
Documentation:
  Enabled: false

# Offence count: 6
# Configuration parameters: AllowAdjacentOneLineDefs.
EmptyLineBetweenDefs:
  Enabled: true

# Offence count: 3
# Cop supports --auto-correct.
EmptyLines:
  Enabled: true

# Offence count: 1
EmptyLinesAroundAccessModifier:
  Enabled: true

# Offence count: 11
# Cop supports --auto-correct.
EmptyLinesAroundBody:
  Enabled: true

# Offence count: 2
# Configuration parameters: AlignWith, SupportedStyles.
EndAlignment:
  Enabled: true

# Offence count: 10
# Cop supports --auto-correct.
FinalNewline:
  Enabled: true

# Offence count: 19
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
HashSyntax:
  Enabled: true

# Offence count: 4
IndentationWidth:
  Enabled: true

# Offence count: 6
Lambda:
  Enabled: false

# Offence count: 2
# Cop supports --auto-correct.
LeadingCommentSpace:
  Enabled: true

# Offence count: 105
LineLength:
  Max: 183

# Offence count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
MethodDefParentheses:
  Enabled: true

# Offence count: 10
# Configuration parameters: CountComments.
MethodLength:
  Max: 32

# Offence count: 2
MultilineBlockChain:
  Enabled: true

# Offence count: 1
# Cop supports --auto-correct.
NumericLiterals:
  Enabled: true

# Offence count: 3
# Configuration parameters: SupportedStyles.
RaiseArgs:
  EnforcedStyle: compact

# Offence count: 3
# Cop supports --auto-correct.
RedundantSelf:
  Enabled: true

# Offence count: 1
ShadowingOuterLocalVariable:
  Enabled: true

# Offence count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
SignalException:
  Enabled: true
  EnforcedStyle: only_raise

# Offence count: 5
# Cop supports --auto-correct.
SpaceAfterComma:
  Enabled: false

# Offence count: 15
{'fraction_non_alphanumeric': 0.09203839638622248, 'fraction_numerical': 0.016563146997929608, 'mean_word_length': 4.287562189054726, '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': '6296217', 'n_tokens_mistral': 1788, 'n_tokens_neox': 1651, 'n_words': 521}