<commit_before>require 'formula'

class Mkvalidator < Formula
  homepage 'http://www.matroska.org/downloads/mkvalidator.html'
  url 'https://downloads.sourceforge.net/project/matroska/mkvalidator/mkvalidator-0.4.0.tar.bz2'
  sha1 'c1e9fc8de67694f7a3dcb9beb25488db513f8f6f'

  # see https://sourceforge.net/tracker/?group_id=68739&atid=522230
  patch :DATA if MacOS.prefer_64_bit?

  def install
    ENV.j1 # Otherwise there are races<commit_msg>mkvalidator 0.4.2<commit_after>require 'formula'

class Mkvalidator < Formula
  homepage 'http://www.matroska.org/downloads/mkvalidator.html'
  url 'https://downloads.sourceforge.net/project/matroska/mkvalidator/mkvalidator-0.4.2.tar.bz2'
  sha1 'e0e431e6ca7011e7e4547f3166e532553a1d6a79'

  # see https://sourceforge.net/tracker/?group_id=68739&atid=522230
  patch :DATA if MacOS.prefer_64_bit?

  def install
    ENV.j1 # Otherwise there are races
{'fraction_non_alphanumeric': 0.11409395973154363, 'fraction_numerical': 0.10067114093959731, 'mean_word_length': 5.047297297297297, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4294945', 'n_tokens_mistral': 400, 'n_tokens_neox': 355, 'n_words': 48}