<commit_before>require 'miq_apache'
module MiqWebServerWorkerMixin
  extend ActiveSupport::Concern

  BINDING_ADDRESS = Rails.env.production? ? "127.0.0.1" : "0.0.0.0"

  included do<commit_msg>Allow BINDING_ADDRESS to be externalized via an env var.<commit_after>require 'miq_apache'
module MiqWebServerWorkerMixin
  extend ActiveSupport::Concern

  BINDING_ADDRESS = ENV['BINDING_ADDRESS'] || (Rails.env.production? ? "127.0.0.1" : "0.0.0.0")

  included do
{'fraction_non_alphanumeric': 0.11982570806100218, 'fraction_numerical': 0.04357298474945534, 'mean_word_length': 5.388888888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '4816247', 'n_tokens_mistral': 177, 'n_tokens_neox': 165, 'n_words': 32}