<commit_before><?php

class Notification extends Eloquent {

	/**
	 * The database table used by the model.
	 *
	 * @var string
	 */
	protected $table = 'radio_notifications';

	/**
	 * Should deleted_at be used
	 *
	 * @var bool
	 */
	protected $softDelete = true;

	// allow mass-assignment
	protected $fillable = ["notification", "privileges"];


	public static function generate($notification, $level, User $user = null) {

		if ($user) {
			$notification = $user->user . " (" . $user->id . ") " . $notification;
		}
		
		return static::create([
			"privileges" => $level,
			"notification" => $notification,<commit_msg>Change the notifications table name to "notifications"<commit_after><?php

class Notification extends Eloquent {

	/**
	 * The database table used by the model.
	 *
	 * @var string
	 */
	protected $table = 'notifications';

	/**
	 * Should deleted_at be used
	 *
	 * @var bool
	 */
	protected $softDelete = true;

	// allow mass-assignment
	protected $fillable = ["notification", "privileges"];


	public static function generate($notification, $level, User $user = null) {

		if ($user) {
			$notification = $user->user . " (" . $user->id . ") " . $notification;
		}
		
		return static::create([
			"privileges" => $level,
			"notification" => $notification,
{'fraction_non_alphanumeric': 0.15120810600155885, 'fraction_numerical': 0.0, 'mean_word_length': 3.3822525597269624, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6930139', 'n_tokens_mistral': 433, 'n_tokens_neox': 377, 'n_words': 109}