<commit_before><?php
/**
 * Redisent, a Redis interface for the modest
 * @author <NAME> <<EMAIL>>
 * @copyright 2009 <NAME> <<EMAIL>>
 * @license http://www.opensource.org/licenses/mit-license.php The MIT License
 * @package Redisent
 */

define('CRLF', sprintf('%s%s', chr(13), chr(10)));

/**
 * Wraps native Redis errors in friendlier PHP exceptions
 * Only declared if class doesn't already exist to ensure compatibility with php-redis
 */
if (! class_exists('RedisException')) {
    class RedisException extends Exception {
    }
}

/**
 * Redisent, a Redis interface for the modest among us
 */
class Redisent {

    /**
     * Socket connection to the Redis server
     * @var resource
     * @access private
     */
    private $__sock;<commit_msg>Disable autoload for the class_exists func<commit_after><?php
/**
 * Redisent, a Redis interface for the modest
 * @author <NAME> <<EMAIL>>
 * @copyright 2009 <NAME> <<EMAIL>>
 * @license http://www.opensource.org/licenses/mit-license.php The MIT License
 * @package Redisent
 */

define('CRLF', sprintf('%s%s', chr(13), chr(10)));

/**
 * Wraps native Redis errors in friendlier PHP exceptions
 * Only declared if class doesn't already exist to ensure compatibility with php-redis
 */
if (! class_exists('RedisException', false)) {
    class RedisException extends Exception {
    }
}

/**
 * Redisent, a Redis interface for the modest among us
 */
class Redisent {

    /**
     * Socket connection to the Redis server
     * @var resource
     * @access private
     */
    private $__sock;
{'fraction_non_alphanumeric': 0.12838709677419355, 'fraction_numerical': 0.01032258064516129, 'mean_word_length': 3.5483870967741935, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, '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': '5254128', 'n_tokens_mistral': 486, 'n_tokens_neox': 466, 'n_words': 155}