<commit_before><?php

use Suki\Ohara;

class OharaDummyData extends \Suki\Ohara
{
	public $name = 'OharaDummyTools';
	public $useConfig = false;

	public function __construct()
	{
		$this->setRegistry();
	}
}

class ToolsTest extends \PHPUnit_Framework_TestCase
{
	protected function setUp()
	{
		$t = new OharaDummyData;
		$this->_ohara = $t['data'];
	}

	public function testSetData()
	{
		$lol = $_REQUEST['lol'] = 'lol';

		$this->assertEquals($lol, $this->_ohara->get('lol'));
	}

	public function testPutData()
	{
		$lol = $_REQUEST['lol'] = 'lol';
		$this->_ohara->put($lol);<commit_msg>doble fail..<commit_after><?php

use Suki\Ohara;

class OharaDummyData extends \Suki\Ohara
{
	public $name = 'OharaDummyTools';
	public $useConfig = false;

	public function __construct()
	{
		$this->setRegistry();
	}
}

class DataTest extends \PHPUnit_Framework_TestCase
{
	protected function setUp()
	{
		$t = new OharaDummyData;
		$this->_ohara = $t['data'];
	}

	public function testSetData()
	{
		$lol = $_REQUEST['lol'] = 'lol';

		$this->assertEquals($lol, $this->_ohara->get('lol'));
	}

	public function testPutData()
	{
		$lol = $_REQUEST['lol'] = 'lol';
		$this->_ohara->put($lol);
{'fraction_non_alphanumeric': 0.17537942664418213, 'fraction_numerical': 0.0, 'mean_word_length': 4.49537037037037, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, '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': '5173198', 'n_tokens_mistral': 479, 'n_tokens_neox': 458, 'n_words': 88}