<commit_before>﻿namespace Labyrinth
{
    using System;

    public class LabyrinthMatrix
    {
        public const int StartPositionVertical = 3;
        public const int StartPositionHorizontal = 3;
        public const int MatrixRows = 7;
        public const int MatrixCols = 7;

        private char[][] matrix;
        private Random random = new Random();

        public LabyrinthMatrix()
        {
            this.matrix = this.CreateMatrix();
        }

        public char[][] Matrix
        {
            get
            {
                return this.matrix;
            }
        }

        private char[][] CreateMatrix()
        {
            var matrix = new char[MatrixRows][];

            for (int i = 0; i < matrix.Length; i++)
            {
                matrix[i] = new char[MatrixCols];
            }

            for (int i = 0; i < matrix.Length; i++)
            {
                for (int j = 0; j < matrix[i].Length; j++)
                {
                    matrix[i][j] = this.GetRandomSymbol();
                }
            }

            matrix[3][3] = '-';

            return matrix;
        }

        private char GetRandomSymbol()
        {
            int randomNumber = this.random.Next(0, 2);

            if (randomNumber == 1)
            {               
                return 'X';
            }
            else
            {
                return '-';
            }
        }
    }
}<commit_msg>matrix is more likely to genarete exit<commit_after>﻿namespace Labyrinth
{
    using System;

    public class LabyrinthMatrix
    {
        public const int StartPositionVertical = 3;
        public const int StartPositionHorizontal = 3;
        public const int MatrixRows = 7;
        public const int MatrixCols = 7;

        private char[][] matrix;
        private Random random = new Random();

        public LabyrinthMatrix()
        {
            this.matrix = this.CreateMatrix();
        }

        public char[][] Matrix
        {
            get
            {
                return this.matrix;
            }
        }

        private char[][] CreateMatrix()
        {
            var matrix = new char[MatrixRows][];

            for (int i = 0; i < matrix.Length; i++)
            {
                matrix[i] = new char[MatrixCols];
            }

            for (int i = 0; i < matrix.Length; i++)
            {
                for (int j = 0; j < matrix[i].Length; j++)
                {
                    matrix[i][j] = this.GetRandomSymbol();
                }
            }

            matrix[3][3] = '-';

            return matrix;
        }

        private char GetRandomSymbol()
        {
            int randomNumber = this.random.Next(0, 3);

            if (randomNumber == 1)
            {               
                return 'X';
            }
            else
            {
                return '-';
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.0999657651489216, 'fraction_numerical': 0.008216364258815475, 'mean_word_length': 1.056298381421534, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, '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': '4600690', 'n_tokens_mistral': 785, 'n_tokens_neox': 719, 'n_words': 196}