<commit_before><?php

$buttons[] = array("selection" => "student", "href" => site_url("student/view/$kStudent"), "text"=>"Student Info");

$buttons[] =array("selection" => "narrative", "href"=>site_url("narrative/student_list/$kStudent"), "text"=>"Narratives");

$buttons[] = array("selection" => "attendance", "href"=>  site_url("attendance/search/$kStudent"), "text" => "Attendance" );

$buttons[] = array("selection" => "support", "href"=> site_url("support/list_all/$kStudent"), "text" => "Learning Support" );
if(get_value($student,"stuGrade",0) >= 5){
	$buttons[] = array("selection" => "report/get_list/student", "href" => site_url("report/get_list/student/$kStudent"), "text" => sprintf("%ss",STUDENT_REPORT));<commit_msg>Bug fix to make sure student button is active only with student info<commit_after><?php

$buttons[] = array("selection" => "student/[A-z]", "href" => site_url("student/view/$kStudent"), "text"=>"Student Info");

$buttons[] =array("selection" => "narrative", "href"=>site_url("narrative/student_list/$kStudent"), "text"=>"Narratives");

$buttons[] = array("selection" => "attendance", "href"=>  site_url("attendance/search/$kStudent"), "text" => "Attendance" );

$buttons[] = array("selection" => "support", "href"=> site_url("support/list_all/$kStudent"), "text" => "Learning Support" );
if(get_value($student,"stuGrade",0) >= 5){
	$buttons[] = array("selection" => "report/get_list/student", "href" => site_url("report/get_list/student/$kStudent"), "text" => sprintf("%ss",STUDENT_REPORT));
{'fraction_non_alphanumeric': 0.2445759368836292, 'fraction_numerical': 0.0026298487836949377, 'mean_word_length': 8.572327044025156, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 35, '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': '7473678', 'n_tokens_mistral': 513, 'n_tokens_neox': 512, 'n_words': 85}