<commit_before><?php

namespace Rogue\Http\Requests;

class PostRequest extends Request
{
    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'northstar_id' => 'required|string',
            'campaign_id' => 'required',
            'quantity' => 'int|required',
            'campaign_run_id' => 'int',
            'quantity' => 'nullable|int',
            'caption' => 'nullable|string',
            'status' => 'in:pending,accepted,rejected',
            'source' => 'nullable|string',
            'remote_addr' => 'nullable|string',
            // 'file' => 'string', // @TODO - should do some better validation around files.
        ];
    }
}<commit_msg>removes change made to post request<commit_after><?php

namespace Rogue\Http\Requests;

class PostRequest extends Request
{
    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'northstar_id' => 'required|string',
            'campaign_id' => 'required',
            'quantity' => 'int|required',
            'campaign_run_id' => 'int',
            'caption' => 'nullable|string',
            'status' => 'in:pending,accepted,rejected',
            'source' => 'nullable|string',
            'remote_addr' => 'nullable|string',
            // 'file' => 'string', // @TODO - should do some better validation around files.
        ];
    }
}
{'fraction_non_alphanumeric': 0.13247863247863248, 'fraction_numerical': 0.0, 'mean_word_length': 1.8771121351766513, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 22, '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': '907264', 'n_tokens_mistral': 527, 'n_tokens_neox': 525, 'n_words': 137}