<commit_before>
add_custom_target( update )
ExternalDownloadNowGit(Catch2
    https://github.com/catchorg/Catch2.git
    origin/master)

set(CATCH_USE_VALGRIND OFF CACHE BOOL "Perform SelfTests with Valgrind")
set(CATCH_BUILD_TESTING OFF CACHE BOOL "Build SelfTest project")
set(CATCH_BUILD_EXAMPLES OFF CACHE BOOL "Build documentation examples")
set(CATCH_BUILD_EXTRA_TESTS OFF CACHE BOOL "Build extra tests")
set(CATCH_ENABLE_COVERAGE OFF CACHE BOOL "Generate coverage for codecov.io")
set(CATCH_ENABLE_WERROR OFF CACHE BOOL "Enable all warnings as errors")
set(CATCH_INSTALL_DOCS OFF CACHE BOOL "Install documentation alongside library")
set(CATCH_INSTALL_HELPERS OFF CACHE BOOL "Install contrib alongside library")

add_subdirectory(${Catch2_SOURCE_DIR} EXCLUDE_FROM_ALL)<commit_msg>Use stable version of catch2 instead of master<commit_after>
add_custom_target( update )
ExternalDownloadNowGit(Catch2
    https://github.com/catchorg/Catch2.git
    v2.12.4)

set(CATCH_USE_VALGRIND OFF CACHE BOOL "Perform SelfTests with Valgrind")
set(CATCH_BUILD_TESTING OFF CACHE BOOL "Build SelfTest project")
set(CATCH_BUILD_EXAMPLES OFF CACHE BOOL "Build documentation examples")
set(CATCH_BUILD_EXTRA_TESTS OFF CACHE BOOL "Build extra tests")
set(CATCH_ENABLE_COVERAGE OFF CACHE BOOL "Generate coverage for codecov.io")
set(CATCH_ENABLE_WERROR OFF CACHE BOOL "Enable all warnings as errors")
set(CATCH_INSTALL_DOCS OFF CACHE BOOL "Install documentation alongside library")
set(CATCH_INSTALL_HELPERS OFF CACHE BOOL "Install contrib alongside library")

add_subdirectory(${Catch2_SOURCE_DIR} EXCLUDE_FROM_ALL)
{'fraction_non_alphanumeric': 0.06683322923173017, 'fraction_numerical': 0.006870705808869456, 'mean_word_length': 7.65945945945946, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '945108', 'n_tokens_mistral': 531, 'n_tokens_neox': 502, 'n_words': 146}