<commit_before><?php
/**
 * Study Session Slots Controller
 *
 * A user study session slot contains information about the associated start/end time and associated
 * condition/environment.
 *
 * @author		<NAME> - <EMAIL>
 * @copyright	2014 Worcester Polytechnic Institute
 * @link		https://github.com/WPI-RAIL/rms
 * @since		RMS v 2.0.0
 * @version		2.0.0
 * @package		app.Controller
 */
class SlotsController extends AppController {

	/**
	 * The used helpers for the controller.
	 *
	 * @var array
	 */
	public $helpers = array('Html', 'Form', 'Paginator');

	/**
	 * The used components for the controller.
	 *
	 * @var array
	 */
	public $components = array('Paginator', 'Session', 'Auth' => array('authorize' => 'Controller'));

	/**
	 * Define pagination criteria.
	 *
	 * @var array
	 */
	public $paginate = array('limit' => 30, 'order' => array('User.created' => 'ASC'), 'recursive' => 2);

	/**
	 * The admin index action lists information about all appointments. This allows the admin to add, edit, or delete
	 * entries.
	 */
	public function admin_index() {
		$this->Paginator->settings = $this->paginate;
		// grab all the fetched entries
		$this->set('slots', $this->Paginator->paginate('Slot'));
	}
<commit_msg>reorder<commit_after><?php
/**
 * Study Session Slots Controller
 *
 * A user study session slot contains information about the associated start/end time and associated
 * condition/environment.
 *
 * @author		<NAME> - <EMAIL>
 * @copyright	2014 Worcester Polytechnic Institute
 * @link		https://github.com/WPI-RAIL/rms
 * @since		RMS v 2.0.0
 * @version		2.0.0
 * @package		app.Controller
 */
class SlotsController extends AppController {

	/**
	 * The used helpers for the controller.
	 *
	 * @var array
	 */
	public $helpers = array('Html', 'Form', 'Paginator');

	/**
	 * The used components for the controller.
	 *
	 * @var array
	 */
	public $components = array('Paginator', 'Session', 'Auth' => array('authorize' => 'Controller'));

	/**
	 * Define pagination criteria.
	 *
	 * @var array
	 */
	public $paginate = array('limit' => 25, 'order' => array('Slot.start' => 'DESC'), 'recursive' => 2);

	/**
	 * The admin index action lists information about all appointments. This allows the admin to add, edit, or delete
	 * entries.
	 */
	public function admin_index() {
		$this->Paginator->settings = $this->paginate;
		// grab all the fetched entries
		$this->set('slots', $this->Paginator->paginate('Slot'));
	}

{'fraction_non_alphanumeric': 0.15296523517382413, 'fraction_numerical': 0.01063394683026585, 'mean_word_length': 3.57196261682243, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 31, 'https://': 2, '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': '4534101', 'n_tokens_mistral': 802, 'n_tokens_neox': 749, 'n_words': 230}