*/ use HasFactory; protected $fillable = [ 'benchmark_run_id', 'suite', 'section', 'task', 'level', 'ok', 'decode', 'user_tps', 'ttft', 't_answer', 'wall', 'reasoning', 'visible', 'total', 'tool_calls', 'checks_passed', 'checks_total', 'finish', 'detail', 'payload', ]; protected function casts(): array { return [ 'ok' => 'boolean', 'decode' => 'float', 'user_tps' => 'float', 'ttft' => 'float', 't_answer' => 'float', 'wall' => 'float', 'reasoning' => 'integer', 'visible' => 'integer', 'total' => 'integer', 'tool_calls' => 'integer', 'checks_passed' => 'integer', 'checks_total' => 'integer', 'payload' => 'array', ]; } public function run(): BelongsTo { return $this->belongsTo(BenchmarkRun::class, 'benchmark_run_id'); } }