<commit_before>require 'formula'

class Clens < Formula
  homepage 'https://opensource.conformal.com/wiki/clens'
  url 'https://github.com/conformal/clens/archive/CLENS_0_7_0.tar.gz'
  sha1 '565ca40e4389c835c12f4898ea6b355425e62e27'

  patch do
    url "https://github.com/conformal/clens/commit/83648cc9027d9f76a1bc79ddddcbed1349b9d5cd.patch"
    sha1 "e2c69cc4595d97cc0eb516e99d8e5edca5922027"
  end

  def install
    ENV.j1
    system "make", "all", "install", "LOCALBASE=#{prefix}"
  end
end<commit_msg>clens: use diff<commit_after>require 'formula'

class Clens < Formula
  homepage 'https://opensource.conformal.com/wiki/clens'
  url 'https://github.com/conformal/clens/archive/CLENS_0_7_0.tar.gz'
  sha1 '565ca40e4389c835c12f4898ea6b355425e62e27'

  patch do
    url "https://github.com/conformal/clens/commit/83648cc9027d9f76a1bc79ddddcbed1349b9d5cd.diff"
    sha1 "52de3f7ea0f7a9857ec81a0f93c4e82cb9d762fd"
  end

  def install
    ENV.j1
    system "make", "all", "install", "LOCALBASE=#{prefix}"
  end
end
{'fraction_non_alphanumeric': 0.11504424778761062, 'fraction_numerical': 0.1553588987217306, 'mean_word_length': 4.884393063583815, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '298811', 'n_tokens_mistral': 519, 'n_tokens_neox': 439, 'n_words': 57}