<commit_before><?php

namespace hauntd\vote\models;

use Yii;
use yii\behaviors\TimestampBehavior;

/**
 * This is the model class for table "vote".
 *
 * @author <NAME> <<EMAIL>>
 * @package hauntd\vote\models
 * @property integer $id
 * @property integer $entity
 * @property integer $target_id
 * @property integer $user_id
 * @property string $user_ip
 * @property integer $value
 * @property integer $created_at
 *
 * @property \hauntd\vote\models\VoteAggregate $aggregate
 */
class Vote extends \yii\db\ActiveRecord
{
    const VOTE_POSITIVE = 1;
    const VOTE_NEGATIVE = 0;

    /**
     * @return string
     */
    public static function tableName()
    {
        return 'vote';
    }

    /**
     * @return array
     */
    public function behaviors()
    {<commit_msg>fix table name<commit_after><?php

namespace hauntd\vote\models;

use Yii;
use yii\behaviors\TimestampBehavior;

/**
 * This is the model class for table "vote".
 *
 * @author <NAME> <<EMAIL>>
 * @package hauntd\vote\models
 * @property integer $id
 * @property integer $entity
 * @property integer $target_id
 * @property integer $user_id
 * @property string $user_ip
 * @property integer $value
 * @property integer $created_at
 *
 * @property \hauntd\vote\models\VoteAggregate $aggregate
 */
class Vote extends \yii\db\ActiveRecord
{
    const VOTE_POSITIVE = 1;
    const VOTE_NEGATIVE = 0;

    /**
     * @return string
     */
    public static function tableName()
    {
        return '{{%vote}}';
    }

    /**
     * @return array
     */
    public function behaviors()
    {
{'fraction_non_alphanumeric': 0.12420382165605096, 'fraction_numerical': 0.0025477707006369425, 'mean_word_length': 2.9772151898734176, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '1948722', 'n_tokens_mistral': 522, 'n_tokens_neox': 507, 'n_words': 136}