<commit_before>class Grakn < Formula
  desc "The distributed hyper-relational database for knowledge engineering"
  homepage "https://grakn.ai"
  url "https://github.com/graknlabs/grakn/releases/download/v1.4.3/grakn-core-1.4.3.zip"
  sha256 "da4e768b866eda5bd02fe1c3e39c93f178ca1296036631a84cf68d0fee1bbe15"

  bottle :unneeded

  depends_on :java => "1.8"

  def install
    libexec.install Dir["*"]
    bin.install libexec/"grakn", libexec/"graql"
    bin.env_script_all_files(libexec, Language::Java.java_home_env("1.8"))
  end

  test do
    assert_match /RUNNING/i, shell_output("#{bin}/grakn server status")
  end
end
<commit_msg>grakn 1.5.3<commit_after>class Grakn < Formula
  desc "The distributed hyper-relational database for knowledge engineering"
  homepage "https://grakn.ai"
  url "https://github.com/graknlabs/grakn/releases/download/1.5.3/grakn-core-all-mac-1.5.3.zip"
  sha256 "76ca7e8ebe53993e792c3799814cd9253f14f046fced7c66792ca2ef4474ed4f"

  bottle :unneeded

  depends_on :java => "1.8"

  def install
    libexec.install Dir["*"]
    bin.install libexec/"grakn"
    bin.env_script_all_files(libexec, Language::Java.java_home_env("1.8"))
  end

  test do
    assert_match /RUNNING/i, shell_output("#{bin}/grakn server status")
  end
end

{'fraction_non_alphanumeric': 0.12361331220285261, 'fraction_numerical': 0.08399366085578447, 'mean_word_length': 4.443965517241379, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3048461', 'n_tokens_mistral': 552, 'n_tokens_neox': 488, 'n_words': 82}