<commit_before>/*
 * Copyright 2014-2015 <NAME>. All rights reserved.
 * License: http://www.opensource.org/licenses/BSD-2-Clause
 */

#ifndef CMFT_CONFIG_H_HEADER_GUARD
#define CMFT_CONFIG_H_HEADER_GUARD

#include <stdlib.h> //abort()
#include <stdio.h> //stderr

#ifndef CMFT_CONFIG_DEBUG
    #define CMFT_CONFIG_DEBUG 1
#endif // CMFT_CONFIG_DEBUG

#define CMFT_ENABLE_INFO_MESSAGES      1
#define CMFT_ENABLE_WARNINGS           1

#if CMFT_CONFIG_DEBUG
    #define CMFT_ENABLE_CL_CHECK           1
    #define CMFT_ENABLE_DEBUG_CHECK        1
    #define CMFT_ENABLE_FILE_ERROR_CHECK   1
    #define CMFT_ENABLE_MEMORY_ALLOC_CHECK 1
#else
    #define CMFT_ENABLE_CL_CHECK           0
    #define CMFT_ENABLE_DEBUG_CHECK        0
    #define CMFT_ENABLE_FILE_ERROR_CHECK   0
    #define CMFT_ENABLE_MEMORY_ALLOC_CHECK 0
#endif

// Cmft warning.
#ifndef CMFT_ENABLE_WARNINGS
    #define CMFT_ENABLE_WARNINGS 0
#endif

#if CMFT_ENABLE_WARNINGS
    #define WARN _WARN
#else
    #define WARN(...) do {} while(0)
#endif

// Cmft info.
#ifndef CMFT_ENABLE_INFO_MESSAGES<commit_msg>Changed default CMFT_CONFIG_DEBUG value.<commit_after>/*
 * Copyright 2014-2015 <NAME>. All rights reserved.
 * License: http://www.opensource.org/licenses/BSD-2-Clause
 */

#ifndef CMFT_CONFIG_H_HEADER_GUARD
#define CMFT_CONFIG_H_HEADER_GUARD

#include <stdlib.h> //abort()
#include <stdio.h> //stderr

#ifndef CMFT_CONFIG_DEBUG
    #define CMFT_CONFIG_DEBUG 0
#endif // CMFT_CONFIG_DEBUG

#define CMFT_ENABLE_INFO_MESSAGES      1
#define CMFT_ENABLE_WARNINGS           1

#if CMFT_CONFIG_DEBUG
    #define CMFT_ENABLE_CL_CHECK           1
    #define CMFT_ENABLE_DEBUG_CHECK        1
    #define CMFT_ENABLE_FILE_ERROR_CHECK   1
    #define CMFT_ENABLE_MEMORY_ALLOC_CHECK 1
#else
    #define CMFT_ENABLE_CL_CHECK           0
    #define CMFT_ENABLE_DEBUG_CHECK        0
    #define CMFT_ENABLE_FILE_ERROR_CHECK   0
    #define CMFT_ENABLE_MEMORY_ALLOC_CHECK 0
#endif

// Cmft warning.
#ifndef CMFT_ENABLE_WARNINGS
    #define CMFT_ENABLE_WARNINGS 0
#endif

#if CMFT_ENABLE_WARNINGS
    #define WARN _WARN
#else
    #define WARN(...) do {} while(0)
#endif

// Cmft info.
#ifndef CMFT_ENABLE_INFO_MESSAGES
{'fraction_non_alphanumeric': 0.0755840586349061, 'fraction_numerical': 0.02015574896930829, 'mean_word_length': 3.6766595289079227, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4475230', 'n_tokens_mistral': 803, 'n_tokens_neox': 770, 'n_words': 168}