<commit_before>using System;
using MappingException = NHibernate.MappingException;

using MultiHashMap = System.Collections.Hashtable;
using MultiMap = System.Collections.Hashtable;
using Document = System.Xml.XmlDocument;
using Element = System.Xml.XmlElement;

namespace NHibernate.Tool.hbm2net
{
	
	
	/// <summary> </summary>
	public class CodeGenerator
	{
		private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);

		internal static System.Xml.XmlNamespaceManager nsmgr;
	
		[STAThread]
		public static void  Main(System.String[] args)
		{
			nsmgr = new System.Xml.XmlNamespaceManager(new System.Xml.NameTable());
			nsmgr.AddNamespace("urn", "urn:nhibernate-mapping-2.0");
			
			System.IO.File.Delete("error-log.txt");
			log4net.Config.DOMConfigurator.Configure(new System.IO.FileInfo("hbm2net.exe.config"));
			
			if (args.Length == 0)
			{
				System.Console.Error.WriteLine("No arguments provided. Nothing to do. Exit.");
				System.Environment.Exit(- 1);
			}
			try
			{
				System.Collections.ArrayList mappingFiles = new System.Collections.ArrayList();
				
				System.String outputDir = null;
				
				SupportClass.ListCollectionSupport generators = new SupportClass.ListCollectionSupport();
				
				MultiMap globalMetas = new MultiHashMap();
				// parse command line parameters
				for (int i = 0; i < args.Length; i++)
				{
					if (args[i].StartsWith("--"))
					{
						
						if (args[i].StartsWith("--config="))
						{
							// parse config xml file
							Document document = new System.Xml.XmlDocument();
							document.Load(args[i].Substring(9));
							globalMetas = MetaAttributeHelper.loadAndMergeMetaMap((System.Xml.XmlElement)(document["codegen"]), null);<commit_msg>modified name of exe in DOMConfigurator<commit_after>using System;
using MappingException = NHibernate.MappingException;

using MultiHashMap = System.Collections.Hashtable;
using MultiMap = System.Collections.Hashtable;
using Document = System.Xml.XmlDocument;
using Element = System.Xml.XmlElement;

namespace NHibernate.Tool.hbm2net
{
	
	
	/// <summary> </summary>
	public class CodeGenerator
	{
		private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);

		internal static System.Xml.XmlNamespaceManager nsmgr;
	
		[STAThread]
		public static void  Main(System.String[] args)
		{
			nsmgr = new System.Xml.XmlNamespaceManager(new System.Xml.NameTable());
			nsmgr.AddNamespace("urn", "urn:nhibernate-mapping-2.0");
			
			System.IO.File.Delete("error-log.txt");
			log4net.Config.DOMConfigurator.Configure(new System.IO.FileInfo("NHibernate.Tool.hbm2net.exe.config"));
			
			if (args.Length == 0)
			{
				System.Console.Error.WriteLine("No arguments provided. Nothing to do. Exit.");
				System.Environment.Exit(- 1);
			}
			try
			{
				System.Collections.ArrayList mappingFiles = new System.Collections.ArrayList();
				
				System.String outputDir = null;
				
				SupportClass.ListCollectionSupport generators = new SupportClass.ListCollectionSupport();
				
				MultiMap globalMetas = new MultiHashMap();
				// parse command line parameters
				for (int i = 0; i < args.Length; i++)
				{
					if (args[i].StartsWith("--"))
					{
						
						if (args[i].StartsWith("--config="))
						{
							// parse config xml file
							Document document = new System.Xml.XmlDocument();
							document.Load(args[i].Substring(9));
							globalMetas = MetaAttributeHelper.loadAndMergeMetaMap((System.Xml.XmlElement)(document["codegen"]), null);
{'fraction_non_alphanumeric': 0.12354570637119114, 'fraction_numerical': 0.006094182825484765, 'mean_word_length': 3.7388451443569553, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4659872', 'n_tokens_mistral': 1319, 'n_tokens_neox': 1060, 'n_words': 212}