<commit_before><?php
class BoardInfoController extends Controller {
	
	public function execute($request) {
		try {
			parent::execute($request);
			
			$id = $request[1];
			$boardinfo = new InformationAccess();
			
			if ($id != null && is_numeric($id)) {
				$oneBoardInfo = $boardinfo->getBoardInfoById($id);
				$_REQUEST["boardInfo"] = serialize($oneBoardInfo);
				
				// Update read count
				if($_SESSION["read"] <> "paitsio#".$id) {
					$readCount = $boardinfo->updatePaitsioReadCount($id);
					$_SESSION["read"] = "paitsio#".$id;
				}
			} else {
				$allBoardInfos = $boardinfo->getAllBoardInfos();
				$_REQUEST["allBoardInfos"] = serialize($allBoardInfos);
			}
			
			$return = "boardInfoPage";
		} catch (Exception $e) {
			throw $e;
		}
		return $return;
	}
	
}
?><commit_msg>Repair php's giving error from BoradInfoController<commit_after><?php
class BoardInfoController extends Controller {
	
	public function execute($request) {
		try {
			parent::execute($request);
			
			$id = $request[1];
			$boardinfo = new InformationAccess();
			
			if ($id != null && is_numeric($id)) {
				$oneBoardInfo = $boardinfo->getBoardInfoById($id);
				$_REQUEST["boardInfo"] = serialize($oneBoardInfo);
				
				// Update read count
				if(@$_SESSION["read"] <> "paitsio#".$id) {
					$readCount = $boardinfo->updatePaitsioReadCount($id);
					$_SESSION["read"] = "paitsio#".$id;
				}
			} else {
				$allBoardInfos = $boardinfo->getAllBoardInfos();
				$_REQUEST["allBoardInfos"] = serialize($allBoardInfos);
			}
			
			$return = "boardInfoPage";
		} catch (Exception $e) {
			throw $e;
		}
		return $return;
	}
	
}
?>
{'fraction_non_alphanumeric': 0.16932515337423312, 'fraction_numerical': 0.001226993865030675, 'mean_word_length': 3.633522727272727, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, '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': '4769000', 'n_tokens_mistral': 678, 'n_tokens_neox': 539, 'n_words': 97}