<commit_before>﻿using Collectively.Common.Host;
using Collectively.Services.Remarks.Framework;
using Collectively.Messages.Commands.Remarks;
using Collectively.Messages.Events.Users;

namespace Collectively.Services.Remarks
{
    public class Program
    {
        public static void Main(string[] args)
        {
            WebServiceHost
                .Create<Startup>(port: 10002)
                .UseAutofac(Bootstrapper.LifetimeScope)
                .UseRabbitMq(queueName: typeof(Program).Namespace)
                .SubscribeToCommand<CreateRemark>()
                .SubscribeToCommand<DeleteRemark>()
                .SubscribeToCommand<ProcessRemark>()
                .SubscribeToCommand<ResolveRemark>()
                .SubscribeToCommand<RenewRemark>()
                .SubscribeToCommand<CancelRemark>()
                .SubscribeToCommand<DeleteRemarkState>()
                .SubscribeToCommand<AddPhotoToRemark>()
                .SubscribeToCommand<AddPhotosToRemark>()
                .SubscribeToCommand<RemovePhotosFromRemark>()
                .SubscribeToCommand<SubmitRemarkVote>()
                .SubscribeToCommand<DeleteRemarkVote>()
                .SubscribeToCommand<AddCommentToRemark>()
                .SubscribeToCommand<EditRemarkComment>()
                .SubscribeToCommand<DeleteRemarkComment>()
                .SubscribeToCommand<SubmitRemarkCommentVote>()
                .SubscribeToCommand<DeleteRemarkCommentVote>()<commit_msg>Removed port<commit_after>﻿using Collectively.Common.Host;
using Collectively.Services.Remarks.Framework;
using Collectively.Messages.Commands.Remarks;
using Collectively.Messages.Events.Users;

namespace Collectively.Services.Remarks
{
    public class Program
    {
        public static void Main(string[] args)
        {
            WebServiceHost
                .Create<Startup>()
                .UseAutofac(Bootstrapper.LifetimeScope)
                .UseRabbitMq(queueName: typeof(Program).Namespace)
                .SubscribeToCommand<CreateRemark>()
                .SubscribeToCommand<DeleteRemark>()
                .SubscribeToCommand<ProcessRemark>()
                .SubscribeToCommand<ResolveRemark>()
                .SubscribeToCommand<RenewRemark>()
                .SubscribeToCommand<CancelRemark>()
                .SubscribeToCommand<DeleteRemarkState>()
                .SubscribeToCommand<AddPhotoToRemark>()
                .SubscribeToCommand<AddPhotosToRemark>()
                .SubscribeToCommand<RemovePhotosFromRemark>()
                .SubscribeToCommand<SubmitRemarkVote>()
                .SubscribeToCommand<DeleteRemarkVote>()
                .SubscribeToCommand<AddCommentToRemark>()
                .SubscribeToCommand<EditRemarkComment>()
                .SubscribeToCommand<DeleteRemarkComment>()
                .SubscribeToCommand<SubmitRemarkCommentVote>()
                .SubscribeToCommand<DeleteRemarkCommentVote>()
{'fraction_non_alphanumeric': 0.08797554347826086, 'fraction_numerical': 0.0016983695652173913, 'mean_word_length': 2.381171067738232, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '4032830', 'n_tokens_mistral': 778, 'n_tokens_neox': 695, 'n_words': 81}