<commit_before><?php

require_once('Classloader.php');

if(!function_exists('xmlrpc_encode_entitites') && !class_exists('xmlrpcresp')) {
	require_once('xmlrpc.inc');
}

$classLoader = new Infusionsoft_Classloader();
spl_autoload_register(array(&$classLoader, "loadClass"));

require('config.php');<commit_msg>Check if optional config file exists before trying to load it. Added comment to xmlrpc check.<commit_after><?php

require_once('Classloader.php');

/*
 * Load xmlrpc.inc if it isn't already loaded.
 *
 * We HIGHLY recommend using the included version. It contains a few additions
 * that work around bugs in the Infusionsoft API.
 */
if(!function_exists('xmlrpc_encode_entitites') && !class_exists('xmlrpcresp')) {
    require_once('xmlrpc.inc');
}

$classLoader = new Infusionsoft_Classloader();
spl_autoload_register(array(&$classLoader, "loadClass"));

// Load config file if it exists. You can use the SDK without a config file.
if(file_exists('config.php')){
    require('config.php');
}
{'fraction_non_alphanumeric': 0.13586413586413587, 'fraction_numerical': 0.0, 'mean_word_length': 6.367647058823529, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '4250010', 'n_tokens_mistral': 310, 'n_tokens_neox': 308, 'n_words': 79}