<commit_before>#!/bin/sh

mkdir build
cd build

cmake ${CMAKE_ARGS} -GNinja .. \
      -DCMAKE_BUILD_TYPE=Release \
      -DBUILD_TESTING=ON \
      -DICUB_MODELS_COMPILE_PYTHON_BINDINGS:BOOL=ON \
      -DICUB_MODELS_DETECT_ACTIVE_PYTHON_SITEPACKAGES:BOOL=ON \
      -DICUB_MODELS_PYTHON_PIP_METADATA_INSTALL:BOOL=ON \
      -DICUB_MODELS_PYTHON_PIP_METADATA_INSTALLER=conda

cmake --build . --config Release
cmake --build . --config Release --target install
ctest --output-on-failure -C Release<commit_msg>Update build.sh<commit_after>#!/bin/sh

mkdir build
cd build

cmake ${CMAKE_ARGS} -GNinja .. \
      -DCMAKE_BUILD_TYPE=Release \
      -DBUILD_TESTING=ON \
      -DPython3_EXECUTABLE:PATH=$PYTHON \
      -DICUB_MODELS_COMPILE_PYTHON_BINDINGS:BOOL=ON \
      -DICUB_MODELS_DETECT_ACTIVE_PYTHON_SITEPACKAGES:BOOL=ON \
      -DICUB_MODELS_PYTHON_PIP_METADATA_INSTALL:BOOL=ON \
      -DICUB_MODELS_PYTHON_PIP_METADATA_INSTALLER=conda

cmake --build . --config Release
cmake --build . --config Release --target install
ctest --output-on-failure -C Release
{'fraction_non_alphanumeric': 0.10207939508506617, 'fraction_numerical': 0.000945179584120983, 'mean_word_length': 3.5844155844155843, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '5189419', 'n_tokens_mistral': 440, 'n_tokens_neox': 421, 'n_words': 57}