<commit_before>var dgram = require('dgram');

var MULTICAST_ADDRESS = '192.168.127.12';
var MULTICAST_PORT = 60547;

module.exports = function(me, options, callback) {
   var server = dgram.createSocket({type: 'udp4', reuseAddr: true, toString: function () { return 'udp4' }});
	var env = process.env;
	var hosts = {};
	var found = 0;
	var loopTimer;

	var port = options.port || MULTICAST_PORT;
	var host = options.host || MULTICAST_ADDRESS;
	var multicast = !(options.multicast === false || (options.multicast === undefined && process.env.NODE_ENV === 'development'));

	var clear = function() {
		hosts = {};
	};
	var encode = function() {
		return 'ann;' + me + (Object.keys(hosts).length ? ';' + Object.keys(hosts).join(';') : '');
	};
	var send = function(msg) {
		msg = new Buffer(msg);
		server.send(msg, 0, msg.length, port, host);
	};
	var find = function() {
		var then = found;
		var timeout = 10;
		var loop = function() {<commit_msg>fix indent<commit_after>var dgram = require('dgram');

var MULTICAST_ADDRESS = '192.168.127.12';
var MULTICAST_PORT = 60547;

module.exports = function(me, options, callback) {
	var server = dgram.createSocket({type: 'udp4', reuseAddr: true, toString: function () { return 'udp4' }});
	var env = process.env;
	var hosts = {};
	var found = 0;
	var loopTimer;

	var port = options.port || MULTICAST_PORT;
	var host = options.host || MULTICAST_ADDRESS;
	var multicast = !(options.multicast === false || (options.multicast === undefined && process.env.NODE_ENV === 'development'));

	var clear = function() {
		hosts = {};
	};
	var encode = function() {
		return 'ann;' + me + (Object.keys(hosts).length ? ';' + Object.keys(hosts).join(';') : '');
	};
	var send = function(msg) {
		msg = new Buffer(msg);
		server.send(msg, 0, msg.length, port, host);
	};
	var find = function() {
		var then = found;
		var timeout = 10;
		var loop = function() {
{'fraction_non_alphanumeric': 0.1768131286394918, 'fraction_numerical': 0.023292747485442033, 'mean_word_length': 4.135869565217392, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1293194', 'n_tokens_mistral': 716, 'n_tokens_neox': 659, 'n_words': 169}