<commit_before>class Atmos < Formula
  desc "Universal Tool for DevOps and Cloud Automation"
  homepage "https://github.com/cloudposse/atmos"
  url "https://github.com/cloudposse/atmos/archive/v1.3.16.tar.gz"
  sha256 "f660d0415c5ab28cb4fb7abc0fe7a0caf4c2c7752ff490792b387964740b1eeb"
  license "Apache-2.0"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "322d148a92f5da8dbdb57a777519e440258ff104e0775513f8b0989e009fa51b"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "fbba20813875390f3ce6309e8ccc7ece69d29e890ff1b74fe537cbf4c22ac4e4"
    sha256 cellar: :any_skip_relocation, monterey:       "76ac24d2571abd3cfc9db4065c72850833e6419b57d205248170688a3b73b8bc"
    sha256 cellar: :any_skip_relocation, big_sur:        "44bf0920f2d73735a360ffa919abfeac1c053b1d892236b20b691c3e20fe0f92"
    sha256 cellar: :any_skip_relocation, catalina:       "2a1eb4c615392be52eb77518d047ce04848914bb2a4b82fd88fc4c569d7bc77d"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "46c8c7e7c4d28a6fda948d9bf20f09d426eea33711d9bd52c817279e4cce0b44"
  end

  depends_on "go" => :build

  def install
    system "go", "build", *std_go_args(ldflags: "-s -w -X 'github.com/cloudposse/atmos/cmd.Version=#{version}'")
  end

  test do
    # create basic atmos.yaml<commit_msg>atmos 1.3.17<commit_after>class Atmos < Formula
  desc "Universal Tool for DevOps and Cloud Automation"
  homepage "https://github.com/cloudposse/atmos"
  url "https://github.com/cloudposse/atmos/archive/v1.3.17.tar.gz"
  sha256 "1daeff38dbcd0a4e472aae1834d975ffd0c973852ace2cc4c39eb8224e13cb34"
  license "Apache-2.0"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "322d148a92f5da8dbdb57a777519e440258ff104e0775513f8b0989e009fa51b"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "fbba20813875390f3ce6309e8ccc7ece69d29e890ff1b74fe537cbf4c22ac4e4"
    sha256 cellar: :any_skip_relocation, monterey:       "76ac24d2571abd3cfc9db4065c72850833e6419b57d205248170688a3b73b8bc"
    sha256 cellar: :any_skip_relocation, big_sur:        "44bf0920f2d73735a360ffa919abfeac1c053b1d892236b20b691c3e20fe0f92"
    sha256 cellar: :any_skip_relocation, catalina:       "2a1eb4c615392be52eb77518d047ce04848914bb2a4b82fd88fc4c569d7bc77d"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "46c8c7e7c4d28a6fda948d9bf20f09d426eea33711d9bd52c817279e4cce0b44"
  end

  depends_on "go" => :build

  def install
    system "go", "build", *std_go_args(ldflags: "-s -w -X 'github.com/cloudposse/atmos/cmd.Version=#{version}'")
  end

  test do
    # create basic atmos.yaml
{'fraction_non_alphanumeric': 0.0809023726176585, 'fraction_numerical': 0.24465188642551536, 'mean_word_length': 6.065934065934066, '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': '3167984', 'n_tokens_mistral': 1484, 'n_tokens_neox': 1163, 'n_words': 142}