<commit_before>KC3.prototype.Reactor  = {
	shipConstruction:{ active: false },
	
	/* Load Master Data
	-------------------------------------------------------*/
	"api_start2":function(params, response, headers){
		app.Master.processRaw( response.api_data );
		app.Dashboard.state = "arriving";
		app.Dashboard.messageBox("Arriving at Naval Base...");
	},
	
	/* Home Port Screen
	-------------------------------------------------------*/
	"api_port/port":function(params, response, headers){
		app.Dashboard.showPanel();
		
		app.Battle.EndSortie();
		
		app.Player.set({
			mid: response.api_data.api_basic.api_member_id,
			name: response.api_data.api_basic.api_nickname,
			desc: response.api_data.api_basic.api_comment,
			rank: response.api_data.api_basic.api_rank,
			level: response.api_data.api_basic.api_level,
			exp: response.api_data.api_basic.api_experience
		});
		
		app.Ships.set(response.api_data.api_ship);
		
		app.Gears.max = response.api_data.api_basic.api_max_slotitem;
		
		app.Docks.setFleets(response.api_data.api_deck_port);
		app.Docks.setRepair(response.api_data.api_ndock);
		app.Docks._buildCount = response.api_data.api_basic.api_count_kdock;
		
		app.Resources.setFcoin(response.api_data.api_basic.api_fcoin);
		
		var UTCtime = app.Util.getUTC(headers);
		
		app.Resources.set([
			response.api_data.api_material[0].api_value,
			response.api_data.api_material[1].api_value,
			response.api_data.api_material[2].api_value,
			response.api_data.api_material[3].api_value
		], UTCtime);<commit_msg>[Fix] Clear Ships on Home Screen to fix ship count<commit_after>KC3.prototype.Reactor  = {
	shipConstruction:{ active: false },
	
	/* Load Master Data
	-------------------------------------------------------*/
	"api_start2":function(params, response, headers){
		app.Master.processRaw( response.api_data );
		app.Dashboard.state = "arriving";
		app.Dashboard.messageBox("Arriving at Naval Base...");
	},
	
	/* Home Port Screen
	-------------------------------------------------------*/
	"api_port/port":function(params, response, headers){
		app.Dashboard.showPanel();
		
		app.Battle.EndSortie();
		
		app.Player.set({
			mid: response.api_data.api_basic.api_member_id,
			name: response.api_data.api_basic.api_nickname,
			desc: response.api_data.api_basic.api_comment,
			rank: response.api_data.api_basic.api_rank,
			level: response.api_data.api_basic.api_level,
			exp: response.api_data.api_basic.api_experience
		});
		
		app.Ships.clear();
		app.Ships.set(response.api_data.api_ship);
		
		app.Gears.max = response.api_data.api_basic.api_max_slotitem;
		
		app.Docks.setFleets(response.api_data.api_deck_port);
		app.Docks.setRepair(response.api_data.api_ndock);
		app.Docks._buildCount = response.api_data.api_basic.api_count_kdock;
		
		app.Resources.setFcoin(response.api_data.api_basic.api_fcoin);
		
		var UTCtime = app.Util.getUTC(headers);
		
		app.Resources.set([
			response.api_data.api_material[0].api_value,
			response.api_data.api_material[1].api_value,
			response.api_data.api_material[2].api_value,
			response.api_data.api_material[3].api_value
		], UTCtime);
{'fraction_non_alphanumeric': 0.19299935773924212, 'fraction_numerical': 0.0038535645472061657, 'mean_word_length': 3.203778677462888, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, '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': '2536800', 'n_tokens_mistral': 1183, 'n_tokens_neox': 1052, 'n_words': 121}