<commit_before>githooks
========

My personal githooks

pre-commit
----------
1. Catches common errors, such as checking in...
    1. git merge conflict markers
    2. personalized debug statements
2. Catches other suspicious code, such as...
    1. Calls to alert (very uncommon for me),
    2. Calls to flatten (because Hash.flatten is not available in Ruby 1.8.7)
3. Syntax-check all .rb files
4. Prevents accidental changes to .ruby-version (and .rbenv-version)
5. Ensures that changes to assets are accompanied by a change to production.rb (required in my main work environment).

Bypassing the Checks
--------------------
Call git commit with the --no-verify flag<commit_msg>Add private key description to README<commit_after>githooks
========

My personal githooks

pre-commit
----------
1. Catches common errors, such as checking in...
    1. git merge conflict markers
    2. personalized debug statements
2. Catches other suspicious code, such as...
    1. Calls to alert (very uncommon for me),
    2. Calls to flatten (because Hash.flatten is not available in Ruby 1.8.7)
3. Syntax-check all .rb files
4. Prevents accidental changes to .ruby-version (and .rbenv-version)
5. Ensures that changes to assets are accompanied by a change to production.rb (required in my main work environment).
6. Check for probable private key commits.

Bypassing the Checks
--------------------
Call git commit with the --no-verify flag
{'fraction_non_alphanumeric': 0.11616515045486354, 'fraction_numerical': 0.01749475157452764, 'mean_word_length': 2.9832869080779942, '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': '3558176', 'n_tokens_mistral': 412, 'n_tokens_neox': 392, 'n_words': 193}