<commit_before>Rails.autoloaders.each do |autoloader|
  flow_inflector = Class.new(Zeitwerk::Inflector) do
    def camelize(basename, abspath)
      # Smart Answer Flow classes don't have a conventional Ruby file path
      # and instead use a kebab-case approach of the flow's slug
      if abspath.include?("smart_answer_flows") && basename.include?("-")
        super "#{basename.gsub('-', '_')}_flow", abspath
      else
        super
      end
    end
  end

  autoloader.inflector = flow_inflector.new

  # Smart Answer Flow classes are stored in a lib/smart_answer_flows directory
  # but aren't under a SmartAnswerFlows namespace. These files are intended
  # to move to an app/flows directory.
  autoloader.collapse("lib/smart_answer_flows")
  # Flows in the shared directory use the same namespace as other Flows.
  autoloader.collapse("lib/smart_answer_flows/shared")
end<commit_msg>Remove custom kebab-case handling in Zeitwerk<commit_after>Rails.autoloaders.each do |autoloader|
  # Smart Answer Flow classes are stored in a lib/smart_answer_flows directory
  # but aren't under a SmartAnswerFlows namespace. These files are intended
  # to move to an app/flows directory.
  autoloader.collapse("lib/smart_answer_flows")
  # Flows in the shared directory use the same namespace as other Flows.
  autoloader.collapse("lib/smart_answer_flows/shared")
end
{'fraction_non_alphanumeric': 0.07912087912087912, 'fraction_numerical': 0.0, 'mean_word_length': 4.135338345864661, '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': '7197253', 'n_tokens_mistral': 430, 'n_tokens_neox': 423, 'n_words': 133}