<commit_before><?php 
namespace console\controllers;

use yii\base\Model;
use yii\console\Controller;

use common\models\Unit;
use yii\helpers\Url;

use Yii;

class ResetController extends Controller {
	
	public function actionUnit($id){
		
		Unit::findOne($unit)->resetUnit();
	}
}
?><commit_msg>cron tab tests<commit_after><?php 
namespace console\controllers;

use yii\base\Model;
use yii\console\Controller;

use common\models\Unit;
use yii\helpers\Url;

use Yii;

class ResetController extends Controller {
	
	public function actionUnit($id){
		if(Unit::findOne($id) != null)
			Unit::findOne($id)->resetUnit();
	}
}
?>
{'fraction_non_alphanumeric': 0.13942307692307693, 'fraction_numerical': 0.0, 'mean_word_length': 5.127450980392157, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '6069026', 'n_tokens_mistral': 221, 'n_tokens_neox': 213, 'n_words': 46}