<commit_before><?php

namespace Igniter\Flame\Database;

use Carbon\Carbon;
use Closure;
use DateTimeInterface;
use Igniter\Flame\Database\Query\Builder as QueryBuilder;
use Igniter\Flame\Traits\EventEmitter;
use Igniter\Flame\Traits\ExtendableTrait;
use Illuminate\Database\Eloquent\Collection as EloquentCollection;
use Illuminate\Database\Eloquent\Model as EloquentModel;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use InvalidArgumentException;

/**
 * Model Class
 * @package        Igniter\Flame\Database\Model.php
 */
class Model extends EloquentModel
{
    use ExtendableTrait;
    use EventEmitter;

    /**
     * The name of the "date_added" column.
     * @var string
     */
    const CREATED_AT = 'created_at';

    /**
     * The name of the "date_updated" column.
     * @var string
     */
    const UPDATED_AT = 'updated_at';

    /**
     * @var array Make the model's attributes public so actions can modify them.
     */
    public $attributes = [];

    public $timestamps = FALSE;

    /**
     * The storage format of the model's date columns.
     * @var string
     */
    protected $timeFormat;

    /**
     * The loaded relationships for the model.
     * It should be declared with keys as the relation name, and value being a mixed array.
     * The relation type $morphTo does not include a classname as the first value.
     * ex:
     * 1. string $table_name table name value mode, model_name, foreign key is auto-generated,
     * by appending _id to the singular table_name
     * $hasOne = [$relation => $model) associative array mode
     * $hasMany = [$relation => [$model]] associative array mode
     * $belongsTo = [$relation, [$model, 'foreignKey' => $foreignKey]] custom key/value mode
     * $hasMany = [$relation, [$model, 'foreignKey' => $foreignKey, 'otherKey' => $otherKey]] custom key/value mode
     * $belongsToMany = [$relation, [$model, 'foreignKey' => $foreignKey, 'otherKey' => $otherKey]] custom key/value
     * mode<commit_msg>Revert changes to Model timestamps constants<commit_after><?php

namespace Igniter\Flame\Database;

use Carbon\Carbon;
use Closure;
use DateTimeInterface;
use Igniter\Flame\Database\Query\Builder as QueryBuilder;
use Igniter\Flame\Traits\EventEmitter;
use Igniter\Flame\Traits\ExtendableTrait;
use Illuminate\Database\Eloquent\Collection as EloquentCollection;
use Illuminate\Database\Eloquent\Model as EloquentModel;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use InvalidArgumentException;

/**
 * Model Class
 * @package        Igniter\Flame\Database\Model.php
 */
class Model extends EloquentModel
{
    use ExtendableTrait;
    use EventEmitter;

    /**
     * The name of the "date_added" column.
     * @var string
     */
    const CREATED_AT = null;

    /**
     * The name of the "date_updated" column.
     * @var string
     */
    const UPDATED_AT = null;

    /**
     * @var array Make the model's attributes public so actions can modify them.
     */
    public $attributes = [];

    public $timestamps = FALSE;

    /**
     * The storage format of the model's date columns.
     * @var string
     */
    protected $timeFormat;

    /**
     * The loaded relationships for the model.
     * It should be declared with keys as the relation name, and value being a mixed array.
     * The relation type $morphTo does not include a classname as the first value.
     * ex:
     * 1. string $table_name table name value mode, model_name, foreign key is auto-generated,
     * by appending _id to the singular table_name
     * $hasOne = [$relation => $model) associative array mode
     * $hasMany = [$relation => [$model]] associative array mode
     * $belongsTo = [$relation, [$model, 'foreignKey' => $foreignKey]] custom key/value mode
     * $hasMany = [$relation, [$model, 'foreignKey' => $foreignKey, 'otherKey' => $otherKey]] custom key/value mode
     * $belongsToMany = [$relation, [$model, 'foreignKey' => $foreignKey, 'otherKey' => $otherKey]] custom key/value
     * mode
{'fraction_non_alphanumeric': 0.10720188902007084, 'fraction_numerical': 0.0004722550177095632, 'mean_word_length': 3.3670103092783505, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, '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': '1321473', 'n_tokens_mistral': 1308, 'n_tokens_neox': 1267, 'n_words': 390}