<commit_before>﻿using MahApps.Metro.Controls;
using MahApps.Metro.Controls.Dialogs;
using MahApps.Metro;
using System;
using System.Windows;
using System.Windows.Input;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Shapes;
using System.Collections.Generic;
using System.IO;
using System.Data.SQLite;
using System.Windows.Data;

namespace OfflineServerLauncher
{
    public partial class MainWindow : MetroWindow
    {
        public static SQLiteConnection dbConnection;

        public enum PersonaType
        {
            Basic = 0,
            Detailed = 1,
            Debug = 2
        }
        public struct Persona
        {
            public Int64 iId { get; set; }
            public String sName { get; set; }
            public String sMotto { get; set; }
            public Int16 shLevel { get; set; }
            public Int32 iIGC { get; set; }
            public Int32 iBoost { get; set; }
            
            public Persona(Int64 personaId, String personaName, String personaMotto, Int16 personaLevel, Int32 personaIGC, Int32 personaBoost)
            {
                iId = personaId;
                sName = personaName;
                sMotto = personaMotto;
                shLevel = personaLevel;
                iIGC = personaIGC;
                iBoost = personaBoost;
            }

            public override String ToString()
            {
                string sPersonaData = "Persona Information: {" + Environment.NewLine +
                    "   Id: " + iId.ToString() + Environment.NewLine +
                    "   Name: " + sName + Environment.NewLine +
                    "   Motto: " + sMotto + Environment.NewLine +
                    "   Level: " + shLevel.ToString() + Environment.NewLine +
                    "   IGC: " + iIGC.ToString() + Environment.NewLine +
                    "   Boost: " + iBoost.ToString() + Environment.NewLine +
                    "}";
                return sPersonaData;
            }

            public static List<Persona> GetCurrentPersonaList(PersonaType iPersonaType)
            {
                List<Persona> listPersona = new List<Persona>();

                string sql = "select * from personas order by Id asc";<commit_msg>Update MainWindow.xaml.cs<commit_after>﻿using MahApps.Metro.Controls;
using MahApps.Metro.Controls.Dialogs;
using MahApps.Metro;
using System;
using System.Windows;
using System.Windows.Input;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Shapes;
using System.Collections.Generic;
using System.IO;
using System.Data.SQLite;
using System.Windows.Data;

namespace OfflineServerLauncher
{
    public partial class MainWindow : MetroWindow
    {
        public static SQLiteConnection dbConnection;

        public enum PersonaType
        {
            Basic = 0,
            Detailed = 1,
            Debug = 2
        }
        public struct Persona
        {
            public Int64 iId { get; set; }
            public String sName { get; set; }
            public String sMotto { get; set; }
            public Int16 shLevel { get; set; }
            public Int32 iIGC { get; set; }
            public Int32 iBoost { get; set; }
            
            public Persona(Int64 personaId, String personaName, String personaMotto, Int16 personaLevel, Int32 personaIGC, Int32 personaBoost)
            {
                this.iId = personaId;
                this.sName = personaName;
                this.sMotto = personaMotto;
                this.shLevel = personaLevel;
                this.iIGC = personaIGC;
                this.iBoost = personaBoost;
            }

            public override String ToString()
            {
                string sPersonaData = "Persona Information: {" + Environment.NewLine +
                    "   Id: " + iId.ToString() + Environment.NewLine +
                    "   Name: " + sName + Environment.NewLine +
                    "   Motto: " + sMotto + Environment.NewLine +
                    "   Level: " + shLevel.ToString() + Environment.NewLine +
                    "   IGC: " + iIGC.ToString() + Environment.NewLine +
                    "   Boost: " + iBoost.ToString() + Environment.NewLine +
                    "}";
                return sPersonaData;
            }

            public static List<Persona> GetCurrentPersonaList(PersonaType iPersonaType)
            {
                List<Persona> listPersona = new List<Persona>();

                string sql = "select * from personas order by Id asc";
{'fraction_non_alphanumeric': 0.08311345646437995, 'fraction_numerical': 0.008355321020228672, 'mean_word_length': 1.682193396226415, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '3211253', 'n_tokens_mistral': 1256, 'n_tokens_neox': 1189, 'n_words': 302}