<commit_before>using System;
using System.Linq;
using RabbitMQ.Client;

class EmitLogDirect {
    public static void Main(string[] args) {
        ConnectionFactory factory = new ConnectionFactory();
        factory.HostName = "localhost";
        using (IConnection connection = factory.CreateConnection())
        using (IModel channel = connection.CreateModel()) {
            channel.ExchangeDeclare("direct_logs", "direct");

            string severity = (args.Length > 0) ? args[0] : "info";
            string message = (args.Length > 1) ? string.Join(" ", args.Skip(1)
                                                                  .ToArray())
                                               : "Hello World!";
            byte[] body = System.Text.Encoding.UTF8.GetBytes(message);
            channel.BasicPublish("direct_logs", severity, null, body);
            Console.WriteLine(" [x] Sent '{0}':'{1}'", severity, message);
        }
    }
}<commit_msg>Reformatted and cleaned up<commit_after>using System;
using System.Linq;
using RabbitMQ.Client;
using System.Text;

class EmitLogDirect
{
    public static void Main(string[] args)
    {
        var factory = new ConnectionFactory() { HostName = "localhost" };
        using (var connection = factory.CreateConnection())
        {
            using (var channel = connection.CreateModel())
            {
                channel.ExchangeDeclare("direct_logs", "direct");

                var severity = (args.Length > 0) ? args[0] : "info";
                var message = (args.Length > 1) ? string.Join(" ", args.Skip(1)
                                                                                      .ToArray())
                                                                   : "Hello World!";
                var body = Encoding.UTF8.GetBytes(message);
                channel.BasicPublish("direct_logs", severity, null, body);
                Console.WriteLine(" [x] Sent '{0}':'{1}'", severity, message);
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.12009925558312655, 'fraction_numerical': 0.006947890818858561, 'mean_word_length': 1.6526315789473685, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 11, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4084708', 'n_tokens_mistral': 504, 'n_tokens_neox': 476, 'n_words': 119}