<commit_before><?php
/**
 * BEAR.Resource
 *
 * @package BEAR.Resource
 * @license http://opensource.org/licenses/bsd-license.php BSD
 */
namespace BEAR\Resource;

/**
 * Resource object code
 *
 * @package BEAR.Resource
 * @author  <NAME> <<EMAIL>>
 */
final class Code
{
    /**
     * 200 OK
     *
     * @var int
     */
    const OK = 200;

    /**
     * 400 Bad Request - Client Error
     *
     * @var int
     */
    const BAD_REQUEST = 400;

    /**
     * 500 Resource Error
     *
     * @var int
     */
    const ERROR = 500;

    /**
     * Hypertext Transfer Protocol (HTTP) Status Code Registry<commit_msg>More, but only popular status code for RESTful API.<commit_after><?php
/**
 * BEAR.Resource
 *
 * @package BEAR.Resource
 * @license http://opensource.org/licenses/bsd-license.php BSD
 */
namespace BEAR\Resource;

/**
 * Resource object code
 *
 * @package BEAR.Resource
 * @author  <NAME> <<EMAIL>>
 */
final class Code
{
    /**
     * 200 OK
     *
     * @var int
     */
    const OK = 200;

    /**
     * 400 Bad Request - Client Error
     *
     * @var int
     */
    const BAD_REQUEST = 400;

    /**
     * 500 Resource Error
     *
     * @var int
     */
    const ERROR = 500;

    // 20X
    const CREATED = 201;
    const ACCEPTED = 202;
    const NO_CONTENT = 204;
    // 30X
    const MOVED_PERMANENTALY = 301;
    const SEE_OTHER = 303;
    const NOT_MODIFIED = 304;
    // 40X
    const UNAUTHORIZED = 401;
    const NOT_FOUND = 404;
    const CONFLICT = 409;

    /**
     * Hypertext Transfer Protocol (HTTP) Status Code Registry
{'fraction_non_alphanumeric': 0.12682308180088775, 'fraction_numerical': 0.04375396322130628, 'mean_word_length': 1.927643784786642, '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': '5907967', 'n_tokens_mistral': 601, 'n_tokens_neox': 517, 'n_words': 141}