<commit_before>﻿using LiteDB;
using PocketHub.Client.Lib.UserInterfaces.Logging;
using Repo2.Core.ns11.Exceptions;
using Repo2.Core.ns11.FileSystems;
using Repo2.SDK.WPF45.Databases;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;

namespace PocketHub.Server.Lib.UserAccounts
{
    public class UserAccountsLocalRepo1 : LocalRepoBase<UserAccount>, IUserAccountsRepo
    {
        public const string COMMON_DIR = "Common";

        private ActivityLogVM _log;


        public UserAccountsLocalRepo1(ActivityLogVM activityLogVM, 
            IFileSystemAccesor fileSystemAccessor) : base(fileSystemAccessor)
        {<commit_msg>Re-enabled seeding for user accounts DB.<commit_after>﻿using LiteDB;
using PocketHub.Client.Lib.UserInterfaces.Logging;
using Repo2.Core.ns11.Exceptions;
using Repo2.Core.ns11.FileSystems;
using Repo2.SDK.WPF45.Databases;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;

namespace PocketHub.Server.Lib.UserAccounts
{
    public class UserAccountsLocalRepo1 : LocalRepoBase<UserAccount>, IUserAccountsRepo
    {
        public const string COMMON_DIR = "Common";

        private ActivityLogVM _log;


        public UserAccountsLocalRepo1(ActivityLogVM activityLogVM, 
            IFileSystemAccesor fileSystemAccessor) : base(fileSystemAccessor)
        {
            IsSeedEnabled = true;

{'fraction_non_alphanumeric': 0.07724719101123595, 'fraction_numerical': 0.01544943820224719, 'mean_word_length': 4.277777777777778, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3747916', 'n_tokens_mistral': 447, 'n_tokens_neox': 442, 'n_words': 85}