<commit_before>var AC_Tracking = {

	track_email: "",
	track_actid: "",
	track_key: "",
		
	whitelist: [
		"site_status",
		"event_status",
		"site_list",
		"event_list",
		"whitelist",
		"whitelist_remove",
		"event_remove",
		"log"
	],

	log: function(Connector, params, post_data) {
		var request_url = "https://trackcmp.net/event";
		post_data.actid = this.track_actid;
		post_data.key = this.track_key;
		var visit_data = {};
		if (this.track_email) {
			visit_data.email = this.track_email;
		}
		if (typeof(post_data.visit) != "undefined") {
			
		}
		if (visit_data.length) {
			post_data.visit = visit_data;
		}
		return Connector;
	}
		
};

module.exports = AC_Tracking;<commit_msg>counting object size correctly<commit_after>var AC_Tracking = {

	track_email: "",
	track_actid: "",
	track_key: "",
		
	whitelist: [
		"site_status",
		"event_status",
		"site_list",
		"event_list",
		"whitelist",
		"whitelist_remove",
		"event_remove",
		"log"
	],

	log: function(Connector, params, post_data) {
		var request_url = "https://trackcmp.net/event";
		post_data.actid = this.track_actid;
		post_data.key = this.track_key;
		var visit_data = {};
		if (this.track_email) {
			visit_data.email = this.track_email;
		}
		if (typeof(post_data.visit) != "undefined") {
			
		}
		if (Object.keys(visit_data).length) {
			post_data.visit = visit_data;
		}
		return Connector;
	}
		
};

module.exports = AC_Tracking;
{'fraction_non_alphanumeric': 0.15205091937765206, 'fraction_numerical': 0.0, 'mean_word_length': 3.7966101694915255, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6294286', 'n_tokens_mistral': 617, 'n_tokens_neox': 553, 'n_words': 86}