<commit_before><?php

use Carbon\Carbon;
use Illuminate\Database\Capsule\Manager as DB;
use Illuminate\Database\Eloquent\Model;

class Group extends Model {
    /**
     * Indicates if the model should be timestamped.
     *
     * @var bool
     */
    public $timestamps = false;

	protected $fillable = [
							'name',
							'ticker',
							'password_<PASSWORD>',
							'show_sig_size_col',
							'default_activity',
							'password',
							'stats_enabled',
							'record_jumps',
							'stats_sig_add_points',
							'stats_sig_update_points',
							'stats_wh_map_points',
							'stats_pos_add_points',
							'stats_pos_update_points',
							'jump_log_enabled',
							'jump_log_record_names',
							'jump_log_record_time',
							'jump_log_display_ship_type',
							'always_broadcast',
							'chain_map_show_actives_ships',
							'allow_map_height_expand',
							'chainmap_always_show_class',
							'chainmap_max_characters_shown',
							'last_billing_charged_at'
							];

	public $groupMembers = null;
	public $chainMaps = null;

	public $blacklistCharacters = null;

	//todo, implement
	public $cache_time = 1;

	protected static function boot()
	{
		parent::boot();
		
		static::creating( function ($model) {
			$model->setCreatedAt($model->freshTimestamp());
		});
	}

	public function save(array $options = [])
	{
		$this->last_update = time();

		parent::save($options);
	}

	private static function hashGroupPassword(string $password, string $salt): string
	{
		return sha1($password . $salt);
	}<commit_msg>Fix column name in group fillable<commit_after><?php

use Carbon\Carbon;
use Illuminate\Database\Capsule\Manager as DB;
use Illuminate\Database\Eloquent\Model;

class Group extends Model {
    /**
     * Indicates if the model should be timestamped.
     *
     * @var bool
     */
    public $timestamps = false;

	protected $fillable = [
							'name',
							'ticker',
							'password_<PASSWORD>',
							'show_sig_size_col',
							'default_activity',
							'password',
							'stats_enabled',
							'record_jumps',
							'stats_sig_add_points',
							'stats_sig_update_points',
							'stats_wh_map_points',
							'stats_pos_add_points',
							'stats_pos_update_points',
							'jump_log_enabled',
							'jump_log_record_names',
							'jump_log_record_time',
							'jump_log_display_ship_type',
							'always_broadcast',
							'chain_map_show_actives_ships',
							'allow_map_height_expand',
							'chainmap_always_show_class',
							'chainmap_max_characters_shown',
							'last_billing_charge_at'
							];

	public $groupMembers = null;
	public $chainMaps = null;

	public $blacklistCharacters = null;

	//todo, implement
	public $cache_time = 1;

	protected static function boot()
	{
		parent::boot();
		
		static::creating( function ($model) {
			$model->setCreatedAt($model->freshTimestamp());
		});
	}

	public function save(array $options = [])
	{
		$this->last_update = time();

		parent::save($options);
	}

	private static function hashGroupPassword(string $password, string $salt): string
	{
		return sha1($password . $salt);
	}
{'fraction_non_alphanumeric': 0.11867139632376653, 'fraction_numerical': 0.0012899064817800709, 'mean_word_length': 3.1470588235294117, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '1528022', 'n_tokens_mistral': 1342, 'n_tokens_neox': 1017, 'n_words': 187}