<commit_before><?php namespace App;

use Illuminate\Database\Eloquent\Model;

class DataValue extends Model {
	protected $guarded = ['id'];
	protected $touches = ['variable'];
	protected $table = 'data_values';

	public function variable() {
		return $this->hasOne('App\Variable', 'id', 'fk_var_id');
	}

	public function entity() {
		return $this->hasOne( 'App\Entity', 'id', 'fk_ent_id' );
	}
<commit_msg>Fix editing of data values<commit_after><?php namespace App;

use Illuminate\Database\Eloquent\Model;

class DataValue extends Model {
	protected $guarded = ['id'];
	protected $touches = ['variable'];
	protected $table = 'data_values';
	public $timestamps = false;

	public function variable() {
		return $this->hasOne('App\Variable', 'id', 'fk_var_id');
	}

	public function entity() {
		return $this->hasOne( 'App\Entity', 'id', 'fk_ent_id' );
	}

{'fraction_non_alphanumeric': 0.16238317757009346, 'fraction_numerical': 0.0, 'mean_word_length': 5.2101449275362315, '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': '4355433', 'n_tokens_mistral': 297, 'n_tokens_neox': 294, 'n_words': 73}