<commit_before>﻿using System.ComponentModel;
using System.Runtime.CompilerServices;

namespace Winkeladvokat
{
    using System.Collections.Generic;

    public class BoardViewModel : INotifyPropertyChanged
    {
        private readonly int[,] boardfieldValues =
            {
                { 0, 2, 2, 2, 2, 2, 2, 0 },
                { 2, 4, 4, 4, 4, 4, 4, 2 },
                { 2, 4, 8, 8, 8, 8, 4, 2 },
                { 2, 4, 8,16,16, 8, 4, 2 },
                { 2, 4, 8,16,16, 8, 4, 2 },
                { 2, 4, 8, 8, 8, 8, 4, 2 },
                { 2, 4, 4, 4, 4, 4, 4, 2 },
                { 0, 2, 2, 2, 2, 2, 2, 0 }
            };

        public BoardViewModel()
        {
            Fields = CreateFields();
        }

        public List<List<int>> Fields { get; set; }

        public event PropertyChangedEventHandler PropertyChanged;

        private List<List<int>> CreateFields()
        {
            List<List<int>> fields = new List<List<int>>();

            for (int row = 0; row < boardfieldValues.GetLength(0); row++)
            {
                fields.Add(new List<int>());

                for (int column = 0; column < boardfieldValues.GetLength(1); column++)
                {
                    fields[row].Add(boardfieldValues[row, column]);
                }
            }

            return fields;
        }

        protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
        {
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
        }
    }
}<commit_msg>Ordered class and added this prefix<commit_after>﻿using System.ComponentModel;
using System.Runtime.CompilerServices;

namespace Winkeladvokat
{
    using System.Collections.Generic;

    public class BoardViewModel : INotifyPropertyChanged
    {
        private readonly int[,] boardfieldValues =
            {
                { 0, 2, 2, 2, 2, 2, 2, 0 },
                { 2, 4, 4, 4, 4, 4, 4, 2 },
                { 2, 4, 8, 8, 8, 8, 4, 2 },
                { 2, 4, 8,16,16, 8, 4, 2 },
                { 2, 4, 8,16,16, 8, 4, 2 },
                { 2, 4, 8, 8, 8, 8, 4, 2 },
                { 2, 4, 4, 4, 4, 4, 4, 2 },
                { 0, 2, 2, 2, 2, 2, 2, 0 }
            };

        public BoardViewModel()
        {
            this.Fields = this.CreateFields();
        }

        public event PropertyChangedEventHandler PropertyChanged;

        public List<List<int>> Fields { get; set; }

        protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
        {
            this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
        }

        private List<List<int>> CreateFields()
        {
            List<List<int>> fields = new List<List<int>>();

            for (int row = 0; row < this.boardfieldValues.GetLength(0); row++)
            {
                fields.Add(new List<int>());

                for (int column = 0; column < this.boardfieldValues.GetLength(1); column++)
                {
                    fields[row].Add(this.boardfieldValues[row, column]);
                }
            }

            return fields;
        }
    }
}
{'fraction_non_alphanumeric': 0.12632895559724827, 'fraction_numerical': 0.0450281425891182, 'mean_word_length': 1.555111821086262, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 21, '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': '6186231', 'n_tokens_mistral': 1090, 'n_tokens_neox': 911, 'n_words': 257}