<commit_before><?php
/** ServeManagement Entity
 *
 * @package    Core
 * @subpackage Entity
 * @author     lhe<<EMAIL>>
 */
class ServeMeasurement extends ResourceAbstract
{
	/**
	 * (non-PHPdoc)
	 * @see BaseEntity::__loadDaoMap()
	 */
	public function __loadDaoMap()
	{
		DaoMap::begin($this, 'srv_mgm');
				
		parent::__loadDaoMap();

		DaoMap::commit();
	}
	
}<commit_msg>added runtime cache to ServeMeasurement<commit_after><?php
/** ServeManagement Entity
 *
 * @package    Core
 * @subpackage Entity
 * @author     lhe<<EMAIL>>
 */
class ServeMeasurement extends ResourceAbstract
{
	/**
	 * (non-PHPdoc)
	 * @see BaseEntity::__loadDaoMap()
	 */
	public function __loadDaoMap()
	{
		DaoMap::begin($this, 'srv_mgm');
				
		parent::__loadDaoMap();

		DaoMap::commit();
	}
	/**
	 * Getting a ServeMeasurement
	 * 
	 * @param int $id
	 * 
	 * @return ServeMeasurement
	 */
	public static function get($id)
	{
		if(!self::cacheExsits($id)) {
			self::addCache($id, parent::get($id));
		}
		return self::getCache($id);
	}
	
}
{'fraction_non_alphanumeric': 0.16342412451361868, 'fraction_numerical': 0.0, 'mean_word_length': 3.763888888888889, 'pattern_counts': {'":': 0, '<': 9, '<?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': '2096', 'n_tokens_mistral': 392, 'n_tokens_neox': 358, 'n_words': 67}