<commit_before># First finds or downloads catch
find_package(Catch)

if(NOT CATCH_FOUND)
  # setups things so include can be found
  include(PackageLookup)
  set(catch_url
      https://raw.githubusercontent.com/philsquared/Catch/master/single_include/catch.hpp)
  set(catch_file "${EXTERNAL_ROOT}/include/catch.hpp")
  file(MAKE_DIRECTORY "${EXTERNAL_ROOT}/include")
  file(DOWNLOAD ${catch_url} "${catch_file}")
  file(READ "${catch_file}" CATCHSTRING LIMIT 1000)
  string(LENGTH "${CATCHSTRING}" CATCHLENGTH)
  if(NOT CATCHLENGTH GREATER 500)
    # CMake can't download over https if build lacks ssl. So use wget or curl
    find_package(Wget)<commit_msg>Update the link from catch2<commit_after># First finds or downloads catch
find_package(Catch)

if(NOT CATCH_FOUND)
  # setups things so include can be found
  include(PackageLookup)
  set(catch_url
      https://raw.githubusercontent.com/catchorg/Catch2/master/single_include/catch2/catch.hpp)
  set(catch_file "${EXTERNAL_ROOT}/include/catch.hpp")
  file(MAKE_DIRECTORY "${EXTERNAL_ROOT}/include")
  file(DOWNLOAD ${catch_url} "${catch_file}")
  file(READ "${catch_file}" CATCHSTRING LIMIT 1000)
  string(LENGTH "${CATCHSTRING}" CATCHLENGTH)
  if(NOT CATCHLENGTH GREATER 500)
    # CMake can't download over https if build lacks ssl. So use wget or curl
    find_package(Wget)
{'fraction_non_alphanumeric': 0.1101123595505618, 'fraction_numerical': 0.012734082397003745, 'mean_word_length': 5.3619047619047615, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '3190144', 'n_tokens_mistral': 460, 'n_tokens_neox': 440, 'n_words': 109}