<commit_before>
# Initialize
cmake_minimum_required(VERSION 2.6)
project(haka)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/build ${CMAKE_MODULE_PATH})

# Setup globals
set(CMAKE_INSTALL_PREFIX out)

include(DistClean)

include_directories(include)

# Add sub directories
add_subdirectory(lib)
add_subdirectory(src)
add_subdirectory(modules)
<commit_msg>Add -Werror compilation flag<commit_after>
# Initialize
cmake_minimum_required(VERSION 2.6)
project(haka)

set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/build ${CMAKE_MODULE_PATH})

if(CMAKE_COMPILER_IS_GNUCC)
    set(CMAKE_C_FLAGS "-Werror")
endif()

# Setup globals
set(CMAKE_INSTALL_PREFIX out)

include(DistClean)

include_directories(include)

# Add sub directories
add_subdirectory(lib)
add_subdirectory(src)
add_subdirectory(modules)

{'fraction_non_alphanumeric': 0.09203980099502487, 'fraction_numerical': 0.004975124378109453, 'mean_word_length': 9.878378378378379, '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': '600457', 'n_tokens_mistral': 303, 'n_tokens_neox': 283, 'n_words': 47}