<commit_before>(function (cloudStack) {
	cloudStack.plugins.autoScalingPlugin = function(plugin) {
	
	var autoscale_ip = '172.16.31.10';
	var autoscale_port = '8082';
	
	plugin.ui.addSection({
		id: 'autoScalingPlugin',
		title: 'AutoScaling',
		preFilter: function(args) {
			return isAdmin();
		},
		listView: {
			id: 'autoScalingPluginInstances',
			fields: {
				name: { label: 'label.name' },
				publicip: { label: 'label.public.ip' },
				publicport: { label: 'label.public.port' },
				privateport: { label: 'label.private.port' },
				autoscaler: {
					label: 'State',
					indicator: {
						'enabled': 'on',
						'disabled': 'off',
					},
					converter: function(data) {
						if(data == 'enabled') {
							return _l('Enabled');
						} else {
							return _l('Disabled');
						}
					}<commit_msg>Update autoScalingPlugin.js<commit_after>(function (cloudStack) {
	cloudStack.plugins.autoScalingPlugin = function(plugin) {
	
	var autoscale_ip = 'IP';
	var autoscale_port = 'PORT';
	
	plugin.ui.addSection({
		id: 'autoScalingPlugin',
		title: 'AutoScaling',
		preFilter: function(args) {
			return isAdmin();
		},
		listView: {
			id: 'autoScalingPluginInstances',
			fields: {
				name: { label: 'label.name' },
				publicip: { label: 'label.public.ip' },
				publicport: { label: 'label.public.port' },
				privateport: { label: 'label.private.port' },
				autoscaler: {
					label: 'State',
					indicator: {
						'enabled': 'on',
						'disabled': 'off',
					},
					converter: function(data) {
						if(data == 'enabled') {
							return _l('Enabled');
						} else {
							return _l('Disabled');
						}
					}
{'fraction_non_alphanumeric': 0.16361416361416362, 'fraction_numerical': 0.007936507936507936, 'mean_word_length': 2.9399038461538463, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '4213445', 'n_tokens_mistral': 741, 'n_tokens_neox': 558, 'n_words': 105}