<commit_before>/**
 * @file debug.h
 *
 */

#ifndef HIMAN_DEBUG_H_
#define HIMAN_DEBUG_H

#define HIMAN_DEBUG_BREAK __asm__ __volatile__ ("int $3")

#ifdef DEBUG
#  ifndef __CUDACC__
#    define ASSERT(Expr)                                                                    \
	do {                                                                                    \
		if (!(Expr)) {                                                                      \
			if (himan::AssertionFailed(#Expr, __LINE__, __FUNCTION__, __FILE__)) {          \
				HIMAN_DEBUG_BREAK;                                                          \
			} else {                                                                        \
				himan::Abort();                                                             \
			}                                                                               \
		}                                                                                   \
	} while (false)
#  else<commit_msg>fix assert macro formatting with spaces<commit_after>/**
 * @file debug.h
 *
 */

#ifndef HIMAN_DEBUG_H_
#define HIMAN_DEBUG_H

#define HIMAN_DEBUG_BREAK __asm__ __volatile__ ("int $3")

#ifdef DEBUG
#  ifndef __CUDACC__
#    define ASSERT(Expr)                                                           \
    do {                                                                           \
        if (!(Expr)) {                                                             \
            if (himan::AssertionFailed(#Expr, __LINE__, __FUNCTION__, __FILE__)) { \
               HIMAN_DEBUG_BREAK;                                                  \
            } else {                                                               \
               himan::Abort();                                                     \
            }                                                                      \
        }                                                                          \
    } while (false)
#  else
{'fraction_non_alphanumeric': 0.06560636182902585, 'fraction_numerical': 0.0009940357852882703, 'mean_word_length': 0.49332344213649854, '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': 40, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1971681', 'n_tokens_mistral': 376, 'n_tokens_neox': 344, 'n_words': 70}