<commit_before>class Grafana < Formula
  desc "Gorgeous metric visualizations and dashboards for timeseries databases"
  homepage "https://grafana.com"
  url "https://github.com/grafana/grafana/archive/v7.1.3.tar.gz"
  sha256 "e76a83345fd9510ca0276fcde2c8e75376d15a051d6d4d3aa699b995d6f6f398"
  license "Apache-2.0"
  head "https://github.com/grafana/grafana.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "17968ed59923629f2be02c65f095e16e1c4647d74b7a4f563720880be83d8141" => :catalina
    sha256 "6ab309a1ebb049f62313c16021f7d646676be3a5f7daecd3dc28e3bd5b2d3dfc" => :mojave
    sha256 "7f374091b13cef9cf4f893e980540240ce6ef08f260238cbddc5898d80627ee2" => :high_sierra
  end

  depends_on "go" => :build
  depends_on "node" => :build
  depends_on "yarn" => :build

  uses_from_macos "zlib"

  on_linux do
    depends_on "fontconfig"
    depends_on "freetype"
  end

  def install
    ENV["GOPATH"] = buildpath
    grafana_path = buildpath/"src/github.com/grafana/grafana"
    grafana_path.install buildpath.children

    cd grafana_path do
      system "go", "run", "build.go", "build"<commit_msg>grafana 7.1.4<commit_after>class Grafana < Formula
  desc "Gorgeous metric visualizations and dashboards for timeseries databases"
  homepage "https://grafana.com"
  url "https://github.com/grafana/grafana/archive/v7.1.4.tar.gz"
  sha256 "dcd62b6b4f1154caacea23c0351a098dcb90f888e1142d2878ea5918b734e2a9"
  license "Apache-2.0"
  head "https://github.com/grafana/grafana.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "17968ed59923629f2be02c65f095e16e1c4647d74b7a4f563720880be83d8141" => :catalina
    sha256 "6ab309a1ebb049f62313c16021f7d646676be3a5f7daecd3dc28e3bd5b2d3dfc" => :mojave
    sha256 "7f374091b13cef9cf4f893e980540240ce6ef08f260238cbddc5898d80627ee2" => :high_sierra
  end

  depends_on "go" => :build
  depends_on "node" => :build
  depends_on "yarn" => :build

  uses_from_macos "zlib"

  on_linux do
    depends_on "fontconfig"
    depends_on "freetype"
  end

  def install
    ENV["GOPATH"] = buildpath
    grafana_path = buildpath/"src/github.com/grafana/grafana"
    grafana_path.install buildpath.children

    cd grafana_path do
      system "go", "run", "build.go", "build"
{'fraction_non_alphanumeric': 0.09540954095409541, 'fraction_numerical': 0.16426642664266428, 'mean_word_length': 4.7890625, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 6, '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': '5728830', 'n_tokens_mistral': 1140, 'n_tokens_neox': 961, 'n_words': 140}