<commit_before><?php

/**
 * PHP class to provide node functionality
 */

namespace Bonsai;

use Bonsai\Module\Callback;
use Bonsai\Module\Registry;
use Bonsai\Model;
use Bonsai\Render\Renderer;

require_once __DIR__ . '/Bonsai.php';

/**
 * Branch container
 */
class Branch extends Trunk
{

    /** @var string */
    protected $renderer;

    /** @var tree[] */
    protected $children = array();

    /** @var array */
    protected $conf;

    /** @var boolean */
    protected $cache;

    /** @var string */
    protected $cachedContent;

    /** @var integer */
    protected $nodeID;

    /** @var integer */
    protected $parentID;

    /** @var string */
    protected $defaultconf = array(
        'contentModelNamespace' => '\\Bonsai\\Model\\',
        'nodeModelNamespace' => '\\Bonsai\\Model\\',
        'contentModel' => 'Content',
        'nodeModel' => 'Node',
    );

    /**
     * Construct the object, fetch child data and instantiate child classes
     *
     * @param int $nodeID
     */
    public function __construct($nodeID, $cache = true)
    {
        $this->cache = Callback::Get('cacheOn') ? $cache : false;
        $this->cachedContent = $cache ? $this->getCachedContent($nodeID) : null;<commit_msg>Remove vestigial configuration<commit_after><?php

/**
 * PHP class to provide node functionality
 */

namespace Bonsai;

use Bonsai\Module\Callback;
use Bonsai\Module\Registry;
use Bonsai\Model;
use Bonsai\Render\Renderer;

require_once __DIR__ . '/Bonsai.php';

/**
 * Branch container
 */
class Branch extends Trunk
{

    /** @var string */
    protected $renderer;

    /** @var tree[] */
    protected $children = array();

    /** @var array */
    protected $conf;

    /** @var boolean */
    protected $cache;

    /** @var string */
    protected $cachedContent;

    /** @var integer */
    protected $nodeID;

    /** @var integer */
    protected $parentID;

    /**
     * Construct the object, fetch child data and instantiate child classes
     *
     * @param int $nodeID
     */
    public function __construct($nodeID, $cache = true)
    {
        $this->cache = Callback::Get('cacheOn') ? $cache : false;
        $this->cachedContent = $cache ? $this->getCachedContent($nodeID) : null;
{'fraction_non_alphanumeric': 0.15051362215274677, 'fraction_numerical': 0.0, 'mean_word_length': 2.595505617977528, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '3050491', 'n_tokens_mistral': 685, 'n_tokens_neox': 670, 'n_words': 176}