<commit_before><?php

namespace Maghead\Runtime;

use PDO;
use PDOStatement;
use RuntimeException;
use Exception;
use ArrayAccess;
use Countable;
use IteratorAggregate;
use ArrayIterator;
use SQLBuilder\Universal\Query\SelectQuery;
use SQLBuilder\Universal\Query\UpdateQuery;
use SQLBuilder\Universal\Query\DeleteQuery;
use SQLBuilder\Universal\Traits\WhereTrait;
use SQLBuilder\Driver\BaseDriver;
use SQLBuilder\ArgumentArray;
use SerializerKit\XmlSerializer;
use Symfony\Component\Yaml\Yaml;

use Maghead\Schema\SchemaLoader;
use Maghead\Schema\BaseSchema;
use Maghead\Manager\DataSourceManager;

defined('YAML_UTF8_ENCODING') || define('YAML_UTF8_ENCODING', 0);

/**
 * base collection class.
 */
class BaseCollection implements IteratorAggregate, ArrayAccess, Countable
{
    use RepoFactoryTrait;
    use WhereTrait;

    public static $yamlExtension;

    public static $jsonOptions = JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP;

    public static $dataSourceManager;<commit_msg>make BaseCollection abstract<commit_after><?php

namespace Maghead\Runtime;

use PDO;
use PDOStatement;
use RuntimeException;
use Exception;
use ArrayAccess;
use Countable;
use IteratorAggregate;
use ArrayIterator;
use SQLBuilder\Universal\Query\SelectQuery;
use SQLBuilder\Universal\Query\UpdateQuery;
use SQLBuilder\Universal\Query\DeleteQuery;
use SQLBuilder\Universal\Traits\WhereTrait;
use SQLBuilder\Driver\BaseDriver;
use SQLBuilder\ArgumentArray;
use SerializerKit\XmlSerializer;
use Symfony\Component\Yaml\Yaml;

use Maghead\Schema\SchemaLoader;
use Maghead\Schema\BaseSchema;
use Maghead\Manager\DataSourceManager;

defined('YAML_UTF8_ENCODING') || define('YAML_UTF8_ENCODING', 0);

/**
 * base collection class.
 */
abstract class BaseCollection implements IteratorAggregate, ArrayAccess, Countable
{
    use RepoFactoryTrait;
    use WhereTrait;

    public static $yamlExtension;

    public static $jsonOptions = JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP;

    public static $dataSourceManager;
{'fraction_non_alphanumeric': 0.08382642998027613, 'fraction_numerical': 0.0029585798816568047, 'mean_word_length': 6.298561151079137, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '4415897', 'n_tokens_mistral': 647, 'n_tokens_neox': 623, 'n_words': 142}