<commit_before>﻿using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nimator.Notifiers.DataDog
{
    class DataDogEvent
    {
        // alert type has to be lower case, otherwise not interpreted correctly
        // (DataDog agent v.6.x)
        public const string AlertTypeError = "error";
        public const string AlertTypeWarning = "warning";
        public const string AlertTypeSuccess = "success";
        public const string AlertTypeInfo = "info";

        private IDictionary<string, string> tags = new Dictionary<string, string>();

        public string StatName { get; set; }

        public string Title { get; set; }

        public string AlertType { get; set; }

        public string Message { get; set; }

        public string[] Tags
        {
            get
            {
                if (!tags.Any()) return null;
<commit_msg>Set explicit access modifier<commit_after>﻿using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nimator.Notifiers.DataDog
{
    internal class DataDogEvent
    {
        // alert type has to be lower case, otherwise not interpreted correctly
        // (DataDog agent v.6.x)
        public const string AlertTypeError = "error";
        public const string AlertTypeWarning = "warning";
        public const string AlertTypeSuccess = "success";
        public const string AlertTypeInfo = "info";

        private readonly IDictionary<string, string> tags = new Dictionary<string, string>();

        public string StatName { get; set; }

        public string Title { get; set; }

        public string AlertType { get; set; }

        public string Message { get; set; }

        public string[] Tags
        {
            get
            {
                if (!tags.Any()) return null;

{'fraction_non_alphanumeric': 0.08493827160493828, 'fraction_numerical': 0.0009876543209876543, 'mean_word_length': 2.541958041958042, 'pattern_counts': {'":': 0, '<': 7, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2966083', 'n_tokens_mistral': 529, 'n_tokens_neox': 503, 'n_words': 179}