<commit_before><?php

namespace ModHelper;

/**
 * @package ModHelper
 * @since 1.0
 */
class Collection extends \ArrayObject 
{	/**
	 * Retrieve an external iterator.
	 *
	 * @access public
	 * @abstracting \IteratorAggregate
	 * @since 1.0
	 */
	public function getIterator()
	{
		foreach ($this as $id => $item) {
			yield $id => $item;
		}
	}

	/**
	 * Construct the object.
	 *
	 * @access public
	 * @param array
	 * @abstracting \ArrayObject
	 * @since 2.0
	 */
    function __construct(array $array){
        parent::__construct($array,parent::STD_PROP_LIST|parent::ARRAY_AS_PROPS);
    } 
}<commit_msg>Update Collection.php<commit_after><?php

namespace ModHelper;

/**
 * @package ModHelper
 * @since 1.0
 */
class Collection extends \ArrayObject 
{	/**
	 * Retrieve an external iterator.
	 *
	 * @access public
	 * @abstracting \IteratorAggregate
	 * @since 1.0
	 */
	public function getIterator()
	{
		foreach ($this as $id => $item) {
			yield $id => $item;
		}
	}

	/**
	 * Construct the object.
	 *
	 * @access public
	 * @param array
	 * @abstracting \ArrayObject
	 * @since 2.0
	 */
    function __construct(array $array=[]){
        parent::__construct($array,parent::STD_PROP_LIST|parent::ARRAY_AS_PROPS);
    } 
}
{'fraction_non_alphanumeric': 0.145985401459854, 'fraction_numerical': 0.009732360097323601, 'mean_word_length': 3.0996677740863787, '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': '5787796', 'n_tokens_mistral': 444, 'n_tokens_neox': 400, 'n_words': 95}