<commit_before><?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class File extends Model
{
  public $timestamps = false;

  protected $guarded = [ 'id' ];

  public function resource() {
    return $this->belongsTo('App\Resource');
  }
}<commit_msg>Add helper<commit_after><?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class File extends Model
{
  public $timestamps = false;

  protected $guarded = [ 'id' ];

  public function resource() {
    return $this->belongsTo('App\Resource');
  }

  public function fullname() {
    return "{$this->name}.{$this->type}";
  }
}
{'fraction_non_alphanumeric': 0.14593698175787728, 'fraction_numerical': 0.0, 'mean_word_length': 4.07563025210084, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '7075695', 'n_tokens_mistral': 201, 'n_tokens_neox': 200, 'n_words': 46}