<commit_before><?php

/*
 * Part of mput library 
 * Licensed under the MIT license
 * For more info please check the /LICENSE file
 * 
 */

/**
 * Mput main class.
 * 
 * @package mput
 * @author  Ilya
 */

class Mput
{
        
    /**
     * @var string Name of test suite
     */
    
    private $_name;
    
    /**
     * @see setCallback
     * @see fireCallback
     * @see getCallbacks
     * @var array registered events
     */
    
    private $_events = [];
    
    /**
     * @var all asserted values
     * @see assert*
     * @see fail
     * @see pass
     * @see _saveAssertionResult
     * @see getAssertions
     */
    
    private $_assertions = [];
    
    /**
     * @var test cases related to this test suite
     * @see createTestCase
     * @see getTestCases
     */
    
    private $_testCases = [];
    
    /**
     * Returns new instance of Mput
     * @return Mput instance
     */
    
    public static function create ($name)
    {
        $instance = (new static);
        $instance->setName ($name);
        return $instance;
    }<commit_msg>forgot about this stuff, my bad<commit_after><?php

/*
 * Part of mput library 
 * Licensed under the MIT license
 * For more info please check the /LICENSE file
 * 
 */

/**
 * Mput main class.
 * 
 * @package mput
 * @author  Ilya
 */

class Mput
{
        
    /**
     * @var string Name of test suite
     */
    
    private $_name;
    
    /**
     * @see setCallback
     * @see fireCallback
     * @see getCallbacks
     * @var array registered events
     */
    
    private $_events = [];
    
    /**
     * @var all asserted values
     * @see assert*
     * @see fail
     * @see pass
     * @see _saveAssertionResult
     * @see getAssertions
     */
    
    private $_assertions = [];
    
    /**
     * @var test cases related to this test suite
     * @see createTestCase
     * @see getTestCases
     */
    
    private $_testCases = [];
    
    /**
     * @var some stuff you might want to store here during runtime
     * @see data
     */
    
    private $_data;
    
    /**
     * Returns new instance of Mput
     * @return Mput instance
     */
    
    public static function create ($name)
    {
        $instance = (new static);
        $instance->setName ($name);
        return $instance;
    }
    
    /**
     * The constructor
     */
    
    public function __construct ()
    {
        $this->_data = new stdClass ();
    }
    
    /**
     * Returns the reference to the _data property
     * @return stdClass data
     */
    
    public function data ()
    {
        return $this->_data;
    }
{'fraction_non_alphanumeric': 0.10848877046060144, 'fraction_numerical': 0.0, 'mean_word_length': 1.5891625615763547, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '2583415', 'n_tokens_mistral': 793, 'n_tokens_neox': 785, 'n_words': 237}