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

/**
 * Abstract resource bbject
 *
 * @package BEAR.Resource
 * @author  <NAME> <<EMAIL>>
 */
abstract class AbstractObject implements Object, \ArrayAccess, \Countable, \IteratorAggregate
{
    use ArrayAccess;

    /**
     * Resource code
     *
     * @var int
     */
    public $code;

    /**
     * Resource header
     *
     * @var array
     */
    public $headers = array();

    /**
     * Resource body
     *
     * @var mixed
     */
    public $body = array();

    /**
     * Constructor
     */
    public function __construct()
    {
        $this->body = new \ArrayObject;
    }
}<commit_msg>Default status code is 200.<commit_after><?php
/**
 * BEAR.Resource
 *
 * @license http://opensource.org/licenses/bsd-license.php BSD
 */
namespace BEAR\Resource;

/**
 * Abstract resource bbject
 *
 * @package BEAR.Resource
 * @author  <NAME> <<EMAIL>>
 */
abstract class AbstractObject implements Object, \ArrayAccess, \Countable, \IteratorAggregate
{
    use ArrayAccess;

    /**
     * Resource code
     *
     * @var int
     */
    public $code = 200;

    /**
     * Resource header
     *
     * @var array
     */
    public $headers = array();

    /**
     * Resource body
     *
     * @var mixed
     */
    public $body = array();

    /**
     * Constructor
     */
    public function __construct()
    {
        $this->body = new \ArrayObject;
    }
}
{'fraction_non_alphanumeric': 0.14210526315789473, 'fraction_numerical': 0.003947368421052632, 'mean_word_length': 1.9823529411764707, 'pattern_counts': {'":': 0, '<': 11, '<?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': '7112891', 'n_tokens_mistral': 481, 'n_tokens_neox': 465, 'n_words': 109}