<commit_before>include(ExternalProject)
include(FetchContent)

###############
# CPM Packages
###############

CPMAddPackage("gh:gabime/spdlog@1.9.2")
CPMAddPackage("gh:ericniebler/range-v3#d800a032132512a54c291ce55a2a43e0460591c7")
CPMAddPackage("gh:docopt/docopt.cpp#v0.6.3")
CPMAddPackage("gh:onqtam/doctest#2.4.6")
CPMAddPackage("gh:mateidavid/zstr#v1.0.5")
CPMAddPackage("gh:pybind/pybind11#v2.9.1")
CPMAddPackage("gh:imneme/pcg-cpp#ffd522e7188bef30a00c74dc7eb9de5faff90092")
CPMAddPackage("gh:ArashPartow/exprtk#93a9f44f99b910bfe07cd1e933371e83cea3841c")

CPMAddPackage(
    NAME mpl GITHUB_REPOSITORY rabauke/mpl DOWNLOAD_ONLY YES
    GIT_TAG afb2fd7525ecd43e5a52d5624f3a4998a4eac52c
)

CPMAddPackage(
    NAME nlohmann_json VERSION 3.10.5
    URL https://github.com/nlohmann/json/releases/download/v3.10.5/include.zip
    OPTIONS "JSON_BuildTests OFF"
)

CPMAddPackage(
    NAME Eigen VERSION 3.4.0 DOWNLOAD_ONLY YES 
    URL https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.gz
)

CPMAddPackage(
    NAME cereal VERSION 1.3.2 GITHUB_REPOSITORY USCiLab/cereal
    OPTIONS "SKIP_PORTABILITY_TEST ON" "JUST_INSTALL_CEREAL ON"
)

CPMAddPackage("gh:pybind/pybind11_json#0.2.12")


###################################<commit_msg>Bump external library versions<commit_after>include(ExternalProject)
include(FetchContent)

###############
# CPM Packages
###############

CPMAddPackage("gh:gabime/spdlog@1.10.0")
CPMAddPackage("gh:ericniebler/range-v3#d800a032132512a54c291ce55a2a43e0460591c7")
CPMAddPackage("gh:docopt/docopt.cpp#v0.6.3")
CPMAddPackage("gh:onqtam/doctest#v2.4.8")
CPMAddPackage("gh:mateidavid/zstr#v1.0.6")
CPMAddPackage("gh:pybind/pybind11#v2.9.2")
CPMAddPackage("gh:imneme/pcg-cpp#ffd522e7188bef30a00c74dc7eb9de5faff90092")
CPMAddPackage("gh:ArashPartow/exprtk#93a9f44f99b910bfe07cd1e933371e83cea3841c")

CPMAddPackage(
    NAME mpl GITHUB_REPOSITORY rabauke/mpl DOWNLOAD_ONLY YES
    GIT_TAG ff9512fc61195b6c7e643e234789b0b937d28ee3
)

CPMAddPackage(
    NAME nlohmann_json VERSION 3.10.5
    URL https://github.com/nlohmann/json/releases/download/v3.10.5/include.zip
    OPTIONS "JSON_BuildTests OFF"
)

CPMAddPackage(
    NAME Eigen VERSION 3.4.0 DOWNLOAD_ONLY YES 
    URL https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.gz
)

CPMAddPackage(
    NAME cereal VERSION 1.3.2 GITHUB_REPOSITORY USCiLab/cereal
    OPTIONS "SKIP_PORTABILITY_TEST ON" "JUST_INSTALL_CEREAL ON"
)

CPMAddPackage("gh:pybind/pybind11_json#0.2.12")


###################################
{'fraction_non_alphanumeric': 0.16222664015904573, 'fraction_numerical': 0.11530815109343936, 'mean_word_length': 6.443786982248521, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2611237', 'n_tokens_mistral': 1269, 'n_tokens_neox': 1104, 'n_words': 109}