<commit_before><commit_msg>Se añadio el controlador de los Ratings<commit_after><?php

# Security
defined('INDEX_DIR') OR exit(APP . ' software says .i.');
//------------------------------------------------

class ratingsController extends Controller {
	public function __construct() {
    	parent::__construct();
    	if($this->sessions->isLoggedIn()) {
    		$ratings = new Ratings();
    			switch ($this->router->getMethod()) {
		        case 'add':
            	if ($_POST) {
              	$ratings->add();
            	}
              break;
          }
    	}
    }
}

?>
{'fraction_non_alphanumeric': 0.21761658031088082, 'fraction_numerical': 0.0, 'mean_word_length': 1.6484018264840183, 'pattern_counts': {'":': 0, '<': 4, '<?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': '4539268', 'n_tokens_mistral': 168, 'n_tokens_neox': 167, 'n_words': 34}