<commit_before>include(ExternalProject)

ExternalProject_Add(
    balboa
    PREFIX "${PROJECT_BINARY_DIR}/balboa"
    GIT_REPOSITORY https://github.com/bast/balboa.git
    GIT_TAG c095e8ccf8fa797a55114723b1705e11751158b8
    INSTALL_COMMAND true  # currently no install command
    CMAKE_ARGS "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}"
    )

# workaround:
# different dynamic lib suffix on mac
if(APPLE)
    set(_dyn_lib_suffix dylib)
else()
    set(_dyn_lib_suffix so)
endif()

include_directories(${PROJECT_BINARY_DIR}/balboa/src/balboa/balboa)
include_directories(${PROJECT_BINARY_DIR}/balboa/src/balboa-build/include)
<commit_msg>relax a too strict assertion in AO derivative evaluation<commit_after>include(ExternalProject)

ExternalProject_Add(
    balboa
    PREFIX "${PROJECT_BINARY_DIR}/balboa"
    GIT_REPOSITORY https://github.com/bast/balboa.git
    GIT_TAG f7c0e4377e50847fadb88c24bc08d53e887f499b
    INSTALL_COMMAND true  # currently no install command
    CMAKE_ARGS "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}"
    )

# workaround:
# different dynamic lib suffix on mac
if(APPLE)
    set(_dyn_lib_suffix dylib)
else()
    set(_dyn_lib_suffix so)
endif()

include_directories(${PROJECT_BINARY_DIR}/balboa/src/balboa/balboa)
include_directories(${PROJECT_BINARY_DIR}/balboa/src/balboa-build/include)

{'fraction_non_alphanumeric': 0.09153318077803203, 'fraction_numerical': 0.041189931350114416, 'mean_word_length': 5.659898477157361, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1846283', 'n_tokens_mistral': 536, 'n_tokens_neox': 487, 'n_words': 74}