<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using System.IO;
using fuzzyControl.Server.Data;
using System.Threading;

namespace fuzzyControl.Server.Commands
{
    class OpenProgram
    {
        List<Programs> Progs;
        JsonCommand Comm;
        int CurrentProgramIndex;
        private void OpenJson()
        {
            using (StreamReader Reader = new StreamReader("Programs.json"))
            {
                string ProgramsJson = Reader.ReadToEnd();
                Progs = JsonConvert.DeserializeObject<List<Programs>>(ProgramsJson);
            }
        }

        public void Open(JsonCommand Comm)
        {
            this.Comm = Comm;<commit_msg>Change Namespace<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using System.IO;
using FuzzyCore.Server.Data;
using System.Threading;

namespace FuzzyCore.Server.Commands
{
    class OpenProgram
    {
        List<Programs> Progs;
        JsonCommand Comm;
        int CurrentProgramIndex;
        private void OpenJson()
        {
            using (StreamReader Reader = new StreamReader("Programs.json"))
            {
                string ProgramsJson = Reader.ReadToEnd();
                Progs = JsonConvert.DeserializeObject<List<Programs>>(ProgramsJson);
            }
        }

        public void Open(JsonCommand Comm)
        {
            this.Comm = Comm;
{'fraction_non_alphanumeric': 0.08595253367543297, 'fraction_numerical': 0.0, 'mean_word_length': 2.406113537117904, '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': '917183', 'n_tokens_mistral': 425, 'n_tokens_neox': 413, 'n_words': 94}