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

namespace Cpln.Enigmos.Enigmas.Components
{
    class Graph<T>
    {
        private Node root;

        private class Node
        {
            private T element;
            private List<Connection> connections = new List<Connection>();
        }

        private class Connection
        {
            private Node neighbor;
            private Dictionary<string, object> tags = new Dictionary<string, object>();
        }
    }
}<commit_msg>Ajout des propriétés<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cpln.Enigmos.Enigmas.Components
{
    class Graph<T>
    {
        private Node root;

        private class Node
        {
            public T Element { get; set; }
            public List<Connection> Connections { get; private set; }
            public Dictionary<string, object> Tags { get; private set; }

            public Node(T element)
            {
                this.Element = element;
                Connections = new List<Connection>();
                Tags = new Dictionary<string, object>();
            }
        }

        private class Connection
        {
            public Node Neighbor { get; set; }
            public Dictionary<string, object> Tags { get; private set; }

            public Connection(Node neighbor)
            {
                this.Neighbor = neighbor;
                this.Tags = new Dictionary<string, object>();
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.08623853211009175, 'fraction_numerical': 0.0, 'mean_word_length': 1.8304498269896194, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '329641', 'n_tokens_mistral': 419, 'n_tokens_neox': 409, 'n_words': 117}