<commit_before><?php
namespace SimpleDecoupling;
require_once dirname(__FILE__) . '/SimpleDecoupling.php';


class SimpleDecouplingProcessor extends SimpleDecoupling {
    private $_processor;
    
    function __construct($processor){
        $this->_processor = $processor;
    }
    
    public function process(){
        $data = $this->_processor->process();
        if($data != null){
            echo $data;
            $envelope = $this->_readDataEnvelope($data);
            $envelope->json_decode($envelope));
        }
    }<commit_msg>updates to the simple decoupling<commit_after><?php
namespace SimpleDecoupling;
require_once dirname(__FILE__) . '/SimpleDecoupling.php';


class SimpleDecouplingProcessor extends SimpleDecoupling {
    private $_processor;
    
    function __construct($processor){
        $this->_processor = $processor;
    }
    
    public function process(){
        $data = $this->_processor->process();
        if($data != null){
            $envelope = $this->_readDataEnvelope($data);
            //$envelope = json_decode($envelope);
            print_r($envelope);
        }
    }
{'fraction_non_alphanumeric': 0.12288512911843277, 'fraction_numerical': 0.0, 'mean_word_length': 2.8101694915254236, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, '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': '6882649', 'n_tokens_mistral': 306, 'n_tokens_neox': 303, 'n_words': 60}