<commit_before>using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using System.Configuration;
using System.Globalization;
using System.Threading;
using CodeFirstWebFramework;

namespace AccountServer {
	class Program {
		static void Main(string[] args) {
			Config.Load(args);
			bool windows = false;
			switch (Environment.OSVersion.Platform) {
				case PlatformID.Win32NT:
				case PlatformID.Win32S:
				case PlatformID.Win32Windows:
					windows = true;
					break;
			}
			// Default to UK culture and time (specify empty culture and/or tz to use machine values)
			if (Config.CommandLineFlags["culture"] != "") {
				CultureInfo c = new CultureInfo(Config.CommandLineFlags["culture"] ?? "en-GB");
				Thread.CurrentThread.CurrentCulture = c;
				CultureInfo.DefaultThreadCurrentCulture = c;
				CultureInfo.DefaultThreadCurrentUICulture = c;
			}
			if (!string.IsNullOrEmpty(Config.CommandLineFlags["tz"]))
				Utils._tz = TimeZoneInfo.FindSystemTimeZoneById(Config.CommandLineFlags["tz"] ?? (windows ? "GMT Standard Time" : "GB"));
			if (windows) {
				string startPage = "";
				if (Config.CommandLineFlags["url"] != null)
					startPage = Config.CommandLineFlags["url"];
				if (Config.CommandLineFlags["nolaunch"] == null)
					System.Diagnostics.Process.Start("http://" + Config.Default.DefaultServer.ServerName + ":" + Config.Default.Port + "/" + startPage);
			}
			new WebServer().Start();
		}
	}

}<commit_msg>Add accounts-specific NameType removed from CodeFirstWebFramework.<commit_after>using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using System.Configuration;
using System.Globalization;
using System.Threading;
using CodeFirstWebFramework;

namespace AccountServer {
	static class Program {
		static void Main(string[] args) {
			Config.Load(args);
			bool windows = false;
			switch (Environment.OSVersion.Platform) {
				case PlatformID.Win32NT:
				case PlatformID.Win32S:
				case PlatformID.Win32Windows:
					windows = true;
					break;
			}
			// Default to UK culture and time (specify empty culture and/or tz to use machine values)
			if (Config.CommandLineFlags["culture"] != "") {
				CultureInfo c = new CultureInfo(Config.CommandLineFlags["culture"] ?? "en-GB");
				Thread.CurrentThread.CurrentCulture = c;
				CultureInfo.DefaultThreadCurrentCulture = c;
				CultureInfo.DefaultThreadCurrentUICulture = c;
			}
			if (!string.IsNullOrEmpty(Config.CommandLineFlags["tz"]))
				Utils._tz = TimeZoneInfo.FindSystemTimeZoneById(Config.CommandLineFlags["tz"] ?? (windows ? "GMT Standard Time" : "GB"));
			if (windows) {
				string startPage = "";
				if (Config.CommandLineFlags["url"] != null)
					startPage = Config.CommandLineFlags["url"];
				if (Config.CommandLineFlags["nolaunch"] == null)
					System.Diagnostics.Process.Start("http://" + Config.Default.DefaultServer.ServerName + ":" + Config.Default.Port + "/" + startPage);
			}
			new WebServer().Start();
		}

		/// <summary>
		/// Translate NameType letter to human-readable form
		/// </summary>
		public static string NameType(this string type) {
			switch (type) {
				case "C":
					return "Customer";
				case "S":
					return "Supplier";
				case "O":
					return "Other Name";
				case "M":
					return "Member";
				case "":
				case null:
					return "Unknown";
				default:
					return "Type " + type;
			}
		}

	}

}
{'fraction_non_alphanumeric': 0.12614802809292275, 'fraction_numerical': 0.0032414910858995136, 'mean_word_length': 3.9771505376344085, 'pattern_counts': {'":': 7, '<': 5, '<?xml version=': 0, '>': 5, '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': '2908541', 'n_tokens_mistral': 1296, 'n_tokens_neox': 1085, 'n_words': 256}