<commit_before>class Frugal < Formula
  desc "Cross language code generator for creating scalable microservices"
  homepage "https://github.com/Workiva/frugal"
  url "https://github.com/Workiva/frugal/archive/v3.14.14.tar.gz"
  sha256 "07787b6f8a26799dee4abf6cc92430e4f31f3e02c63abb3417a6dd7f309f0391"
  license "Apache-2.0"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "7f70b5f7f18736c91b28298f14fc3a1a44ff73b4c14b5a9a61ceadecda740be6"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "7f70b5f7f18736c91b28298f14fc3a1a44ff73b4c14b5a9a61ceadecda740be6"
    sha256 cellar: :any_skip_relocation, monterey:       "f7a4adab8c0f86be813998450c0ee096730a70c265cd61a84f7d217203beb82d"
    sha256 cellar: :any_skip_relocation, big_sur:        "f7a4adab8c0f86be813998450c0ee096730a70c265cd61a84f7d217203beb82d"
    sha256 cellar: :any_skip_relocation, catalina:       "f7a4adab8c0f86be813998450c0ee096730a70c265cd61a84f7d217203beb82d"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "61d37b71b2512786dd9b7d588c75174aa5a9f156fa065ad704d46d875d7593dd"
  end

  depends_on "go" => :build

  def install
    system "go", "build", *std_go_args(ldflags: "-s -w")
  end

  test do
    (testpath/"test.frugal").write("typedef double Test")
    system "#{bin}/frugal", "--gen", "go", "test.frugal"
    assert_match "type Test float64", (testpath/"gen-go/test/f_types.go").read
  end<commit_msg>frugal: update 3.14.14 bottle.<commit_after>class Frugal < Formula
  desc "Cross language code generator for creating scalable microservices"
  homepage "https://github.com/Workiva/frugal"
  url "https://github.com/Workiva/frugal/archive/v3.14.14.tar.gz"
  sha256 "07787b6f8a26799dee4abf6cc92430e4f31f3e02c63abb3417a6dd7f309f0391"
  license "Apache-2.0"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "3f575e917ff1867a686adf9f072443b36592ac4af4c28344e8acfa49c5e14850"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "3f575e917ff1867a686adf9f072443b36592ac4af4c28344e8acfa49c5e14850"
    sha256 cellar: :any_skip_relocation, monterey:       "3b0bffd77b25a21eda9dc1a54af113ddadedf565e211f61411223d7948fa5b47"
    sha256 cellar: :any_skip_relocation, big_sur:        "3b0bffd77b25a21eda9dc1a54af113ddadedf565e211f61411223d7948fa5b47"
    sha256 cellar: :any_skip_relocation, catalina:       "3b0bffd77b25a21eda9dc1a54af113ddadedf565e211f61411223d7948fa5b47"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "068e167af836f25aa0080eaee9e0fedb85f61c0317230fbac5d9428e88b574db"
  end

  depends_on "go" => :build

  def install
    system "go", "build", *std_go_args(ldflags: "-s -w")
  end

  test do
    (testpath/"test.frugal").write("typedef double Test")
    system "#{bin}/frugal", "--gen", "go", "test.frugal"
    assert_match "type Test float64", (testpath/"gen-go/test/f_types.go").read
  end
{'fraction_non_alphanumeric': 0.0933005962820063, 'fraction_numerical': 0.21957207997193967, 'mean_word_length': 5.839328537170264, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '7414641', 'n_tokens_mistral': 1582, 'n_tokens_neox': 1254, 'n_words': 164}