<commit_before># encoding: UTF-8

require 'cxxstdlib'
require 'exceptions'
require 'formula'
require 'keg'
require 'tab'
require 'bottles'
require 'caveats'
require 'cleaner'
require 'formula_cellar_checks'
require 'install_renamed'

class FormulaInstaller
  include FormulaCellarChecks

  attr_reader :f
  attr_accessor :tab, :options, :ignore_deps, :only_deps
  attr_accessor :show_summary_heading, :show_header

  def initialize ff
    @f = ff
    @show_header = false
    @ignore_deps = ARGV.ignore_deps? || ARGV.interactive?
    @only_deps = ARGV.only_deps?
    @options = Options.new
    @tab = Tab.dummy_tab(ff)

    @@attempted ||= Set.new

    @poured_bottle = false
    @pour_failed   = false

    verify_deps_exist
    lock
    check_install_sanity<commit_msg>Don't verify deps when ignoring them<commit_after># encoding: UTF-8

require 'cxxstdlib'
require 'exceptions'
require 'formula'
require 'keg'
require 'tab'
require 'bottles'
require 'caveats'
require 'cleaner'
require 'formula_cellar_checks'
require 'install_renamed'

class FormulaInstaller
  include FormulaCellarChecks

  attr_reader :f
  attr_accessor :tab, :options, :ignore_deps, :only_deps
  attr_accessor :show_summary_heading, :show_header

  def initialize ff
    @f = ff
    @show_header = false
    @ignore_deps = ARGV.ignore_deps? || ARGV.interactive?
    @only_deps = ARGV.only_deps?
    @options = Options.new
    @tab = Tab.dummy_tab(ff)

    @@attempted ||= Set.new

    @poured_bottle = false
    @pour_failed   = false

    verify_deps_exist unless ignore_deps
    lock
    check_install_sanity
{'fraction_non_alphanumeric': 0.09027777777777778, 'fraction_numerical': 0.0012626262626262627, 'mean_word_length': 4.318791946308725, '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': '1868547', 'n_tokens_mistral': 592, 'n_tokens_neox': 556, 'n_words': 130}