<commit_before>module Tundra
  module Loggers
    # The maximum number of keys that will be tracked for whether or not a
    # message has been logged before. This is primarily a mechanism to prevent
    # runaway memory usage, though practically I doubt it'll ever get this
    # full. I should track this usage in a metric to prove that to myself
    # though.
    LOG_ONCE_MAX_KEYS = 1000

    # Provides a mechanism to log certain types of messages only once. Expects<commit_msg>Drop constant down to a significantly smaller value<commit_after>module Tundra
  module Loggers
    # The maximum number of keys that will be tracked for whether or not a
    # message has been logged before. This is primarily a mechanism to prevent
    # runaway memory usage, though practically I doubt it'll ever get this
    # full. I should track this usage in a metric to prove that to myself
    # though.
    LOG_ONCE_MAX_KEYS = 250

    # Provides a mechanism to log certain types of messages only once. Expects
{'fraction_non_alphanumeric': 0.031904287138584245, 'fraction_numerical': 0.006979062811565304, 'mean_word_length': 3.365217391304348, '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': '4307846', 'n_tokens_mistral': 263, 'n_tokens_neox': 249, 'n_words': 146}