<commit_before>// UTILITY METHODS ----------------------------------------------------------------------------------------------
//const URL_PREFIX = "/";
const URL_PROTOCOL = "http";
const SERVER_ADDR = "localhost";
const SERVER_PORT = "8080";

const URL_PREFIX = URL_PROTOCOL + "://" + SERVER_ADDR + ":" + SERVER_PORT + "/";

const API_VERSION_MAJOR = "4";
var API_VERSION_MINOR = "4";

const OPERATION_DO_UPDATE = 0;
const OPERATION_INSTALL_PACKAGE = 1;
const OPERATION_UPDATE_CLIENT_EXECUTABLE = 2;
const OPERATION_SET_TIMEZONE = 20;
const OPERATION_SET_HOSTNAME = 21;
const OPERATION_DEPLOY_SCRIPT = 30;
const OPERATION_DO_SHUTDOWN = 40;
const OPERATION_DO_REBOOT = 41;
const OPERATION_BROADCAST_MESSAGE = 50;

var SERVER_SOFTWARE = "Unknown";
var SERVER_SOFTWARE_VERSION = "Unknown";
<commit_msg>Bump API up to date with server code<commit_after>// UTILITY METHODS ----------------------------------------------------------------------------------------------
//const URL_PREFIX = "/";
const URL_PROTOCOL = "http";
const SERVER_ADDR = "localhost";
const SERVER_PORT = "8080";

const URL_PREFIX = URL_PROTOCOL + "://" + SERVER_ADDR + ":" + SERVER_PORT + "/";

const API_VERSION_MAJOR = "4";
var API_VERSION_MINOR = "7";

const OPERATION_DO_UPDATE = 0;
const OPERATION_INSTALL_PACKAGE = 1;
const OPERATION_UPDATE_CLIENT_EXECUTABLE = 2;
const OPERATION_SET_TIMEZONE = 20;
const OPERATION_SET_HOSTNAME = 21;
const OPERATION_DEPLOY_SCRIPT = 30;
const OPERATION_DO_SHUTDOWN = 40;
const OPERATION_DO_REBOOT = 41;
const OPERATION_BROADCAST_MESSAGE = 50;

var SERVER_SOFTWARE = "Unknown";
var SERVER_SOFTWARE_VERSION = "Unknown";

{'fraction_non_alphanumeric': 0.20897357098955133, 'fraction_numerical': 0.02581438229870928, 'mean_word_length': 3.1530612244897958, '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': '6895741', 'n_tokens_mistral': 583, 'n_tokens_neox': 538, 'n_words': 123}