<commit_before>cmake_minimum_required(VERSION 2.6)
project (tests)

add_subdirectory(json)
add_subdirectory(json-benchmark)
add_subdirectory(deployment)
add_subdirectory(service)
<commit_msg>made json-c optional to build tests<commit_after>cmake_minimum_required(VERSION 2.6)
project (tests)

include(CheckIncludeFileCXX)

add_subdirectory(json)
check_include_file_cxx(json-c/json.h HAS_JSON_C)
if (HAS_JSON_C)
    add_subdirectory(json-benchmark)
endif()
add_subdirectory(deployment)
add_subdirectory(service)

{'fraction_non_alphanumeric': 0.09001956947162426, 'fraction_numerical': 0.007827788649706457, 'mean_word_length': 10.906976744186046, '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': '195080', 'n_tokens_mistral': 185, 'n_tokens_neox': 178, 'n_words': 27}