<commit_before><?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Timeline extends Model
{
    use HasFactory;

    protected $table = 'timeline';
    protected $fillable = ['date', 'item_id', 'item_type'];
    protected $dates = ['date'];

    protected $casts = [
        'date' => 'date:Y-m-d'
    ];

    public function item() {
        return $this->morphTo();<commit_msg>Revert "Properly cast dates to y-m-d format"<commit_after><?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Timeline extends Model
{
    use HasFactory;

    protected $table = 'timeline';
    protected $fillable = ['date', 'item_id', 'item_type'];

    public function item() {
        return $this->morphTo();
{'fraction_non_alphanumeric': 0.13497652582159625, 'fraction_numerical': 0.0, 'mean_word_length': 3.792134831460674, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '4403906', 'n_tokens_mistral': 275, 'n_tokens_neox': 278, 'n_words': 64}