<commit_before>class Nlopt < Formula
  desc "Free/open-source library for nonlinear optimization"
  homepage "http://ab-initio.mit.edu/nlopt"
  url "http://ab-initio.mit.edu/nlopt/nlopt-2.4.2.tar.gz"
  sha256 "8099633de9d71cbc06cd435da993eb424bbcdbded8f803cdaa9fb8c6e09c8e89"
  revision 2
  head "https://github.com/stevengj/nlopt.git"

  bottle do
    cellar :any
    rebuild 1
    sha256 "4c1bfd654be7c344c1ebb6e86dea50063305cdf8f3ac1cf7e55c28371ce87ffd" => :sierra
    sha256 "86ec755243d199111edfc425db9c3f3e8b4c3cef6b346bea7408361f742c96bc" => :el_capitan
    sha256 "adac1b7dc1111703dda1e01b0a0a6cb7cdea9b211d51f9a9f6c055b4763babd1" => :yosemite
  end

  option "with-python", "Build Python bindings (requires NumPy)"

  depends_on :python => "numpy" if build.with? "python"
  depends_on "octave" => :optional
  depends_on "swig" if build.head?
  depends_on "cmake" => :build if build.head?
  depends_on "guile" => :optional if build.head?

  def install
    ENV.deparallelize

    if build.head?
      args = [<commit_msg>nlopt: update 2.4.2_2 bottle for Linuxbrew.<commit_after>class Nlopt < Formula
  desc "Free/open-source library for nonlinear optimization"
  homepage "http://ab-initio.mit.edu/nlopt"
  url "http://ab-initio.mit.edu/nlopt/nlopt-2.4.2.tar.gz"
  sha256 "8099633de9d71cbc06cd435da993eb424bbcdbded8f803cdaa9fb8c6e09c8e89"
  revision 2
  head "https://github.com/stevengj/nlopt.git"

  bottle do
    cellar :any
    rebuild 1
    sha256 "4c1bfd654be7c344c1ebb6e86dea50063305cdf8f3ac1cf7e55c28371ce87ffd" => :sierra
    sha256 "86ec755243d199111edfc425db9c3f3e8b4c3cef6b346bea7408361f742c96bc" => :el_capitan
    sha256 "adac1b7dc1111703dda1e01b0a0a6cb7cdea9b211d51f9a9f6c055b4763babd1" => :yosemite
    sha256 "a6079b363dd5b0a3a5f2b503dc518f07582563b5c0f0e2b7c41595ca0b0264d4" => :x86_64_linux
  end

  option "with-python", "Build Python bindings (requires NumPy)"

  depends_on :python => "numpy" if build.with? "python"
  depends_on "octave" => :optional
  depends_on "swig" if build.head?
  depends_on "cmake" => :build if build.head?
  depends_on "guile" => :optional if build.head?

  def install
    ENV.deparallelize

    if build.head?
      args = [
{'fraction_non_alphanumeric': 0.09940448923499771, 'fraction_numerical': 0.16720109940448924, 'mean_word_length': 4.732283464566929, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 18, 'https://': 2, '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': '4677784', 'n_tokens_mistral': 1137, 'n_tokens_neox': 964, 'n_words': 150}