<commit_before><?php

namespace Camspiers\StatisticalClassifier\Normalizer;

use RuntimeException;

class Grouped implements NormalizerInterface
{
    protected $normalizers = array();

    public function __construct(array $normalizers = array())
    {
        if (count($normalizers) == 0) {
            throw new RuntimeException('A group of normalizers must contain at least one normalizer');
        }
        foreach ($normalizers as $normalizer) {
            $this->addNormalizer($normalizer);
        }
    }

    public function addNormalizer(NormalizerInterface $normalizer)<commit_msg>MINOR: Equivalence test to ===<commit_after><?php

namespace Camspiers\StatisticalClassifier\Normalizer;

use RuntimeException;

class Grouped implements NormalizerInterface
{
    protected $normalizers = array();

    public function __construct(array $normalizers = array())
    {
        if (count($normalizers) === 0) {
            throw new RuntimeException('A group of normalizers must contain at least one normalizer');
        }
        foreach ($normalizers as $normalizer) {
            $this->addNormalizer($normalizer);
        }
    }

    public function addNormalizer(NormalizerInterface $normalizer)
{'fraction_non_alphanumeric': 0.09158415841584158, 'fraction_numerical': 0.0016501650165016502, 'mean_word_length': 3.4432234432234434, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5104959', 'n_tokens_mistral': 313, 'n_tokens_neox': 302, 'n_words': 85}