<commit_before>//
//  ABMacros.h
//  ABFramework
//
//  Created by <NAME> on 1/12/13.
//  Copyright (c) 2013 Ablfx. All rights reserved.
//

/*
 * DEVICE
 */
//Returns YES on retina display
#define IS_RETINA_DISPLAY() [[UIScreen mainScreen] respondsToSelector:@selector(scale)] && [[UIScreen mainScreen] scale] == 2.0f
//Returns YES on 4 inch display
#define IS_4_INCH() ([[UIScreen mainScreen] applicationFrame].size.height > 480)
//Returns YES on device running iOS 6.0+
#define IS_IOS6 ([[[UIDevice currentDevice] systemVersion] floatValue] >= 6.0f)
//Returns YES on iPad
#define IS_IPAD (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)



/*
 * LOGGING
 */
#define ABLogNSString(string) NSLog(@"ABLogNSString -> %s = \"%@\"", #string, string)<commit_msg>renamed IS_IOS6 macro to IS_MIN_IOS6<commit_after>//
//  ABMacros.h
//  ABFramework
//
//  Created by <NAME> on 1/12/13.
//  Copyright (c) 2013 Ablfx. All rights reserved.
//

/*
 * DEVICE
 */
//Returns YES on retina display
#define IS_RETINA_DISPLAY() [[UIScreen mainScreen] respondsToSelector:@selector(scale)] && [[UIScreen mainScreen] scale] == 2.0f
//Returns YES on 4 inch display
#define IS_4_INCH() ([[UIScreen mainScreen] applicationFrame].size.height > 480)
//Returns YES on device running iOS 6.0+
#define IS_MIN_IOS6 ([[[UIDevice currentDevice] systemVersion] floatValue] >= 6.0f)
//Returns YES on iPad
#define IS_IPAD (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)



/*
 * LOGGING
 */
#define ABLogNSString(string) NSLog(@"ABLogNSString -> %s = \"%@\"", #string, string)
{'fraction_non_alphanumeric': 0.15305466237942122, 'fraction_numerical': 0.02829581993569132, 'mean_word_length': 4.384083044982699, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '223241', 'n_tokens_mistral': 596, 'n_tokens_neox': 542, 'n_words': 145}