<commit_before>package savemgo.nomad;

import io.netty.channel.ChannelFuture;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import savemgo.nomad.campbell.Campbell;
import savemgo.nomad.lobby.GateLobby;
import savemgo.nomad.server.Lobby;
import savemgo.nomad.server.NomadServer;

public class Nomad {

	private NomadServer serverGate, serverAuth, serverGame;

	private EventLoopGroup bossGroup, workerGroup;

	public Nomad() {
		Campbell campbell = Campbell.instance();
		campbell.setBaseUrl("https://api.savemgo.com/campbell/");
		campbell.setApiKey("ASecretKey");

		try {
			bossGroup = new NioEventLoopGroup();
			workerGroup = new NioEventLoopGroup();

			Lobby lobby = new GateLobby();
			serverGate = new NomadServer(lobby, "0.0.0.0", 5731, bossGroup, workerGroup);
			serverAuth = new NomadServer(lobby, "0.0.0.0", 5732, bossGroup, workerGroup);
			serverGame = new NomadServer(lobby, "0.0.0.0", 5733, bossGroup, workerGroup);

			System.out.println("Starting...");

			serverGate.start();
			serverAuth.start();
			serverGame.start();

			ChannelFuture future = serverGate.getFuture();

			try {
				future.sync();
				future.channel().closeFuture().sync();
			} catch (Exception e) {
				e.printStackTrace();
			}
		} finally {
			System.out.println("Shutting down...");

			bossGroup.shutdownGracefully();
			workerGroup.shutdownGracefully();
		}
	}

	public EventLoopGroup getBossGroup() {
		return bossGroup;
	}

	public EventLoopGroup getWorkerGroup() {
		return workerGroup;
	}

	public static void main(String[] args) {
		new Nomad();
	}

}<commit_msg>Changed Campbell URL, removed Auth and Game lobbies.<commit_after>package savemgo.nomad;

import io.netty.channel.ChannelFuture;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import savemgo.nomad.campbell.Campbell;
import savemgo.nomad.lobby.GateLobby;
import savemgo.nomad.server.NomadServer;

public class Nomad {

	private NomadServer serverGate;

	private EventLoopGroup bossGroup, workerGroup;

	public Nomad() {
		Campbell campbell = Campbell.instance();
		campbell.setBaseUrl("http://api.savemgo.com/campbell/");
		campbell.setApiKey("ASecretKey");

		try {
			bossGroup = new NioEventLoopGroup();
			workerGroup = new NioEventLoopGroup();

			serverGate = new NomadServer(new GateLobby(), "0.0.0.0", 5731, bossGroup, workerGroup);

			System.out.println("Starting...");

			serverGate.start();

			System.out.println("Started.");
			
			ChannelFuture future = serverGate.getFuture();

			try {
				future.sync();
				future.channel().closeFuture().sync();
			} catch (Exception e) {
				e.printStackTrace();
			}
		} finally {
			System.out.println("Shutting down...");

			bossGroup.shutdownGracefully();
			workerGroup.shutdownGracefully();
		}
	}

	public EventLoopGroup getBossGroup() {
		return bossGroup;
	}

	public EventLoopGroup getWorkerGroup() {
		return workerGroup;
	}

	public static void main(String[] args) {
		new Nomad();
	}

}
{'fraction_non_alphanumeric': 0.13057961359093936, 'fraction_numerical': 0.010659560293137908, 'mean_word_length': 4.343416370106762, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '6068529', 'n_tokens_mistral': 1133, 'n_tokens_neox': 987, 'n_words': 191}