<commit_before>﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using ActionLibrary;
using ActionLibrary.DTOs;
using AssetManagerPackage;
using CommeillFaut.DTOs;
using CommeillFaut;
using Conditions.DTOs;
using EmotionalAppraisal;
using EmotionalAppraisal.DTOs;
using IntegratedAuthoringTool;
using KnowledgeBase;
using Microsoft.CSharp.RuntimeBinder;
using RolePlayCharacter;
using WellFormedNames;
using WorldModel;
using WorldModel.DTOs;

namespace CommeillFautTutorial
{
    class Program
    {
        static List<RolePlayCharacterAsset> rpcList;

        static void Main(string[] args)
        {

            var iat = IntegratedAuthoringToolAsset.LoadFromFile("../../../Examples/CiF-Tutorial/JobInterview.iat");
            rpcList = new List<RolePlayCharacterAsset>();
        
            foreach (var source in iat.GetAllCharacterSources())
            {

                var rpc = RolePlayCharacterAsset.LoadFromFile(source.Source);


                //rpc.DynamicPropertiesRegistry.RegistDynamicProperty(Name.BuildName("Volition"),cif.VolitionPropertyCalculator);
                rpc.LoadAssociatedAssets();

                iat.BindToRegistry(rpc.DynamicPropertiesRegistry);

                rpcList.Add(rpc);

            }
          

            foreach (var actor in rpcList)
            {


                foreach (var anotherActor in rpcList)
                {
                    if (actor != anotherActor)
                    {


                        var changed = new[] { EventHelper.ActionEnd(anotherActor.CharacterName.ToString(), "Enters", "Room") };
                        actor.Perceive(changed);
                    }
                    
                }
              
            }


            foreach(var actor in rpcList)
            {
                if(actor.Decide().FirstOrDefault() != null)
                Console.WriteLine(actor.CharacterName.ToString() + " decided to perform  " + actor.Decide().FirstOrDefault().Name);
            }

<commit_msg>The CiF Tutorial serves as a way of testing and displaying how the Load from String method works<commit_after>﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using ActionLibrary;
using ActionLibrary.DTOs;
using AssetManagerPackage;
using CommeillFaut.DTOs;
using CommeillFaut;
using Conditions.DTOs;
using EmotionalAppraisal;
using EmotionalAppraisal.DTOs;
using IntegratedAuthoringTool;
using KnowledgeBase;
using Microsoft.CSharp.RuntimeBinder;
using RolePlayCharacter;
using WellFormedNames;
using WorldModel;
using WorldModel.DTOs;

namespace CommeillFautTutorial
{
    class Program
    {
        static List<RolePlayCharacterAsset> rpcList;

        static void Main(string[] args)
        {




             // This tutorial has become a testing ground for the method "LoadFromString"


            string _iatString = "{\r\n\t\"root\":\r\n\t\t{\r\n\t\t\t\"classId\": 0,\r\n\t\t\t\"ScenarioName\": \"Job Interview\",\r\n\t\t\t\"Description\": \"This scenario is a Job Interview. The NPC will make 10 questions to the player. The player will always have 3 choices for each question. Depending on the answers the player gives, the NPC will react accordingly. At the end of the 10 question, depending on the mood of the NPC, he can accept the player, refuse or tell him that they will contact him later. It can happen that sometimes the NPC will make a different question that is not part of the initial 10. This is to illustrate social exchanges. There is a second NPC that will be listening to the dialogues of the Player and the first NPC. In certain situations, the first NPC will ask something to the second NPC that could change the moods of both, affecting the final design of accepting the Player.\",\r\n\t\t\t\"WorldModelSource\": \"JobInterviewWorldModel.wmo\",\r\n\t\t\t\"CharacterSources\": [\"rpc\\\\player.rpc\", \"rpc\\\\NPCApp1EDM2.rpc\", \"rpc\\\\NPCApp2EDM1.rpc\"],\r\n\t\t\t\"Dialogues\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S2\",\r\n\t\t\t\t\t\"NextState\": \"S3\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"Good afternoon to you too. So you want to work with us. What is your motivation?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-20272A7DA144D358C7095E09D0A89113\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"StartSport\",\r\n\t\t\t\t\t\"NextState\": \"AnswerSport\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Sport, Initiate)\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"So you like basketball? I used to play too when I was younger.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-9D2A62745B5028173AF27B4CE1E68AA8\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S3\",\r\n\t\t\t\t\t\"NextState\": \"S4\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"I just need some money to be honest.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-6F3215566E781B4855D6668A1D8A4FAE\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S1\",\r\n\t\t\t\t\t\"NextState\": \"S2\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"Good afternoon. My name is João.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-928E967D5A1CC0E59B627981F8CC7F99\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S3\",\r\n\t\t\t\t\t\"NextState\": \"S4\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"I heard about your company and got very excited to work with you.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-671CD5E06C6BE7BAF82D66EEBED82DE9\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S2\",\r\n\t\t\t\t\t\"NextState\": \"S3\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"What is your motivation to be here?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-6DE997A5039EA03977D67037BFF6ECF4\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S4\",\r\n\t\t\t\t\t\"NextState\": \"S5\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"Fair enough. So how much do you want to earn?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-FCCC288B20C979DE121CC280695A1606\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S4\",\r\n\t\t\t\t\t\"NextState\": \"S5\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"Glad to know. What is your salary expectation?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-EABD3AD4EEC8A35D6E138FA517093CE0\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S5\",\r\n\t\t\t\t\t\"NextState\": \"S6\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"Maybe 1500€.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-049552799A44C8813D369DA6830A30FD\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S20\",\r\n\t\t\t\t\t\"NextState\": \"End\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"Well...we can not accept you. We were expecting a diferent kind of person. Bye.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-60D115660634824214A78D67FF5C3009\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S5\",\r\n\t\t\t\t\t\"NextState\": \"S6\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"Whatever you want. \",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-45B48E3158F5CE2146C01BD1782800B5\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S4\",\r\n\t\t\t\t\t\"NextState\": \"S5\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"Hm...So you are thinking of getting how much exactly?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-DFFE01EEA72224F4494ABE150F0B0B0F\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S20\",\r\n\t\t\t\t\t\"NextState\": \"End\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"Thanks for coming. We will contact you soon with the answer.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-B295AF6910607AC13251B0E084549F7C\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S6\",\r\n\t\t\t\t\t\"NextState\": \"S7\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"Very nice! Do you have any hobbies? Interests in your life?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-58053B3A2C8EBEB4BE3C7E030BF6E3FF\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"Start\",\r\n\t\t\t\t\t\"NextState\": \"S1\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"Hello! What is your name?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-22B4B32EB53C5D3BEC5E255710296DCC\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S5\",\r\n\t\t\t\t\t\"NextState\": \"S6\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"You would like 2000€. I am ambitious.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-FD1D9413F78F90F9528C8B2ADC112D99\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S11\",\r\n\t\t\t\t\t\"NextState\": \"S12\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"I had 15.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-6086B4D3B6CA470934427582B84E902D\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S6\",\r\n\t\t\t\t\t\"NextState\": \"S7\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"Ok. Next we wanna know if you have hobbies.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-DDE0C5CEE456C40BD2978F2FDC540D0D\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S6\",\r\n\t\t\t\t\t\"NextState\": \"S7\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"Great...So...any hobbies?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-E081B7F5C713A02A554693FAF99E8ED4\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S11\",\r\n\t\t\t\t\t\"NextState\": \"S12\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"I had 11.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-3C9A73BF6380E0862C03EFD3B4835CA6\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"PreGame\",\r\n\t\t\t\t\t\"NextState\": \"StartGame\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"Do we have any PC for him to play in the free time?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-7DF71A3EC8C17D3258C2EDFC8F3E1EAF\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S7\",\r\n\t\t\t\t\t\"NextState\": \"S8\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"A few. I can not say for sure what I like the most. I just do thing as I live.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-632ECDFBE374246549864FA1892BD7D2\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S7\",\r\n\t\t\t\t\t\"NextState\": \"S8\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"Not really no.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-83F8324AF334CF784CE0E29CC6FAFB0E\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S8\",\r\n\t\t\t\t\t\"NextState\": \"S9\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"Pressure gets you?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-193CDC26D0F4D5A4F63FED838B115607\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S8\",\r\n\t\t\t\t\t\"NextState\": \"S9\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"How do you deal with pressure?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-8D91F3BE68B794F5BDBAFF0086FC49C9\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S8\",\r\n\t\t\t\t\t\"NextState\": \"S9\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"Next one is...Do you fail with pressure?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-46B89A3811BADC442DCDBA337DEC0F51\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S9\",\r\n\t\t\t\t\t\"NextState\": \"S10\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"I deal with it as I deal with everything. I try to be professional. \",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-22D418D65B8672A5F9FA07D7A2A868EC\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S20\",\r\n\t\t\t\t\t\"NextState\": \"End\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"Then it is decided. You will stay with us. Thanks for applying!\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-0F79AC5569D52147047D3E87C083E8F6\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S9\",\r\n\t\t\t\t\t\"NextState\": \"S10\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"Normal I guess. I really dont get affected.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-9FAD3C9FF5261D7E91FE94666DDDDDFA\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S9\",\r\n\t\t\t\t\t\"NextState\": \"S10\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"Pressure? I dont know that. Never had.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-DC8F8DF7848C59425F7558533567CE12\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S10\",\r\n\t\t\t\t\t\"NextState\": \"S11\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"That is good for us! We need that attitude. So what was your final grade?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-630F8EDA35B753263568CE9FE29C5C84\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S10\",\r\n\t\t\t\t\t\"NextState\": \"S11\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"A normal attitude I supose. So what was your final grade?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-AA47ABDD2D46FD9CBD6E44286C0B3723\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S10\",\r\n\t\t\t\t\t\"NextState\": \"S11\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"A simple answer. Final grade?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-B9850846C38084F34661EC1F35689623\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S12\",\r\n\t\t\t\t\t\"NextState\": \"S13\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"Congrats! Any sports?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-4D5E5A08576393B549DF2B1DC5825427\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S11\",\r\n\t\t\t\t\t\"NextState\": \"S12\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"I had 19.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-8ACAD5A686E66F2D2FEA27DE85BBE539\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S12\",\r\n\t\t\t\t\t\"NextState\": \"S13\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"That is ok. Any sports?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-465627004A82D9680BA1A5376A23C4F4\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S12\",\r\n\t\t\t\t\t\"NextState\": \"S13\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"Not the worst I guess. Any sports?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-B906DC94ACF42333247CAA8E43B435BB\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S13\",\r\n\t\t\t\t\t\"NextState\": \"S14\",\r\n\t\t\t\t\t\"Meaning\": \"DoesSport\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"I practice Basketball. I love it and it makes me feel great.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-F47EBE9C2195C59965B0DB276AE91868\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S13\",\r\n\t\t\t\t\t\"NextState\": \"S14\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"I do not like sports. Even if it is bad for my health. I prefear being at home. \",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-A8729E87685BDD1CFF05A3CEC391108F\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S14\",\r\n\t\t\t\t\t\"NextState\": \"S15\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"I like you. Do you like team work?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-7A6256DA4E60424E9D699BAB2561529E\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"OkSport\",\r\n\t\t\t\t\t\"NextState\": \"SC14\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"Ok\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-444BCB3A3FCF8389296C49467F27E1D6\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S14\",\r\n\t\t\t\t\t\"NextState\": \"S15\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"Ok. It is really your decision in the end. How do you deal with working in a team?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-0E2811BF4B19E680E02629CEEADE9981\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S15\",\r\n\t\t\t\t\t\"NextState\": \"S16\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"I like working with others.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-19E02396C26B7A9E270265E8E566FF1D\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S15\",\r\n\t\t\t\t\t\"NextState\": \"S16\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"I dont like working with others. They always get in my way.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-D0BC704189770281907389EFA77A0006\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S16\",\r\n\t\t\t\t\t\"NextState\": \"S17\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"That is ok for me. Do you have any skills that we should know?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-831615ABACE85C0EE380D47B2437EA4D\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S16\",\r\n\t\t\t\t\t\"NextState\": \"S17\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"Sure. Any skills you have in particular?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-81C04685A6439693F433E06DA048EF9A\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S17\",\r\n\t\t\t\t\t\"NextState\": \"S18\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"I am a very persistent guy. I dont give up easily.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-5F31E88213DA02DDF559AB7EE5701C09\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S17\",\r\n\t\t\t\t\t\"NextState\": \"S18\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"I like working.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-DEF94C8A3ED46474BDEB88E93D6B7AF4\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S17\",\r\n\t\t\t\t\t\"NextState\": \"S18\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"Not really no.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-83F8324AF334CF784CE0E29CC6FAFB0E\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S18\",\r\n\t\t\t\t\t\"NextState\": \"S19\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"We reached the final question. You are almost free. When could you start working with us?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-C03F0CF1FB0E0A0A5FB6EDEAEAADB12C\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S18\",\r\n\t\t\t\t\t\"NextState\": \"S19\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"Ok. Final question. When could you start?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-2325958BE564CDF6E6116ADF948A4EEA\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S18\",\r\n\t\t\t\t\t\"NextState\": \"S19\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"We reached the end. Finally...When could you start working?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-9B009B7355A8341E2207D9F329F068DE\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S19\",\r\n\t\t\t\t\t\"NextState\": \"S20\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"As soon as you want.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-A7C961034006DAAD152374F6B0D19995\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S19\",\r\n\t\t\t\t\t\"NextState\": \"S20\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"I think next month.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-42C3B6D6228539F4A5B6610C7C847283\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S19\",\r\n\t\t\t\t\t\"NextState\": \"S20\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"I do not know yet.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-434E6A345444780061F0E56F748CEE19\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S1\",\r\n\t\t\t\t\t\"NextState\": \"S2\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"My name is João.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-AE6C2A5BAEBDBBE3E14EA8AFEB94E1FF\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S13\",\r\n\t\t\t\t\t\"NextState\": \"S14\",\r\n\t\t\t\t\t\"Meaning\": \"DoesSport\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"I practice Basketball. Allthough i think I will leave if I start working. \",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-9D0199CFBD0A3037A9DED5E102E8F7CB\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"StartUniv\",\r\n\t\t\t\t\t\"NextState\": \"AnswerUniv\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Univ, Initiate)\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"So what was your university?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-4D0702AC704A046E761F71B629B7D7A8\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"EndSport\",\r\n\t\t\t\t\t\"NextState\": \"-\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Sport, Finalize)\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"I liked it, but not much.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-C5EBFD2EE07B7E6533771E859776E472\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"EndSport\",\r\n\t\t\t\t\t\"NextState\": \"-\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Sport, Finalize)\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"Good good!\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-64058AECD64A56F4E0EC3580D75B0BBC\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"AnswerSport\",\r\n\t\t\t\t\t\"NextState\": \"EndSport\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Sport, Answer)\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"I dont like it anymore really. Dont talk about it.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-1438E98723FA7E25D88DB4428BC1E352\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S14\",\r\n\t\t\t\t\t\"NextState\": \"S15\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"That is ok. Do you like working with others?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-CC295E8FFFEBC3E92151E66EF13CD232\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"SC14\",\r\n\t\t\t\t\t\"NextState\": \"S15\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"Do you like working with others?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-FB73FAFBC26F4F2095049F1918799016\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S3\",\r\n\t\t\t\t\t\"NextState\": \"S4\",\r\n\t\t\t\t\t\"Meaning\": \"UnivTalk\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"I just finished university and I want to start working.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-5C6E338AAC0ADBD2245103397789247A\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"AnswerUniv\",\r\n\t\t\t\t\t\"NextState\": \"EndUniv\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Univ, Answer)\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"IST but it does not matter.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-9E33C4CF18A51BCAC5C24CBFDF7495EA\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"AnswerSport\",\r\n\t\t\t\t\t\"NextState\": \"EndSport\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Sport, Answer)\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"Yeah I like it a lot.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-842379866FC9A6C715B3CAAA90E675D4\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"AnswerUniv\",\r\n\t\t\t\t\t\"NextState\": \"EndUniv\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Univ, Answer)\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"IST. Not a big deal really.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-56B4CA37720AE54857F53A2FD61E8823\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"EndSport\",\r\n\t\t\t\t\t\"NextState\": \"-\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Sport, Finalize)\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"We should get back to the interview.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-92B42DB3FE57C4114FBBC2E206F3371D\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"EndUniv\",\r\n\t\t\t\t\t\"NextState\": \"-\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Univ, Finalize)\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"Heard a lot of great things about IST. Glad you were there. \",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-9763E1E5D0D723598AD5B818D1316911\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"SC4\",\r\n\t\t\t\t\t\"NextState\": \"S5\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"What is your salary expectation?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-B055A786C942063D3D1F07F31AD453A0\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"OkUniv\",\r\n\t\t\t\t\t\"NextState\": \"SC4\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"Ok.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-0260A8F661F73E2CF7FDBA1080B888D1\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"SC4\",\r\n\t\t\t\t\t\"NextState\": \"S5\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"What is your salary expectation?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-B055A786C942063D3D1F07F31AD453A0\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"SC4\",\r\n\t\t\t\t\t\"NextState\": \"S5\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"What is your salary expectation?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-B055A786C942063D3D1F07F31AD453A0\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"SC14\",\r\n\t\t\t\t\t\"NextState\": \"S15\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"Do you like working with others?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-FB73FAFBC26F4F2095049F1918799016\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"SC14\",\r\n\t\t\t\t\t\"NextState\": \"S15\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"Do you like working with others?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-FB73FAFBC26F4F2095049F1918799016\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S15\",\r\n\t\t\t\t\t\"NextState\": \"S16\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"It does not matter really.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-AB7A5330C36475C705AE0FECBB0562D7\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"StartFCT\",\r\n\t\t\t\t\t\"NextState\": \"AnswerFCT\",\r\n\t\t\t\t\t\"Meaning\": \"SE(FCT, Initiate)\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"Don\'t you think that FCT is much better?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-BC5134C3E2B7CAC1DC240D92991B1678\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"AnswerFCT\",\r\n\t\t\t\t\t\"NextState\": \"EndFCT\",\r\n\t\t\t\t\t\"Meaning\": \"SE(FCT, Answer)\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"No, IST is the best one.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-F986B6D32D3FA320A791A6565DF92F17\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"AnswerFCT\",\r\n\t\t\t\t\t\"NextState\": \"EndFCT\",\r\n\t\t\t\t\t\"Meaning\": \"SE(FCT, Answer)\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"No, it may be just not bad.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-AD64B80F3306A7945B2A4755C6E5DC1B\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"AnswerFCT\",\r\n\t\t\t\t\t\"NextState\": \"EndFCT\",\r\n\t\t\t\t\t\"Meaning\": \"SE(FCT, Answer)\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"Yes, I like FCT students.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-EE0FE0B4908A3D67BEF8BEEE8E7DA48F\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"EndFCT\",\r\n\t\t\t\t\t\"NextState\": \"EndUniv\",\r\n\t\t\t\t\t\"Meaning\": \"SE(FCT, Finalize)\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"We will talk about it latter.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-D21D7A947EF049788F666F0E82F6B806\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"EndFCT\",\r\n\t\t\t\t\t\"NextState\": \"EndUniv\",\r\n\t\t\t\t\t\"Meaning\": \"SE(FCT, Finalize)\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"You may be right.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-2492D5E5751811C561134A891429B34B\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"EndFCT\",\r\n\t\t\t\t\t\"NextState\": \"EndUniv\",\r\n\t\t\t\t\t\"Meaning\": \"SE(FCT, Finalize)\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"I don\'t agree with you but we will talk about it latter.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-252BFE20123CC7BBC034E7DDBA4945CC\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"PreFCT\",\r\n\t\t\t\t\t\"NextState\": \"StartFCT\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"What do you think Sarah?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-A0927167661C9AE582B9BDF190C11D05\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"StartFCT\",\r\n\t\t\t\t\t\"NextState\": \"AnswerFCT\",\r\n\t\t\t\t\t\"Meaning\": \"SE(FCT, Initiate)\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"Don\'t you think that FCT is probabily better?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-1E0CBC1EA726270E72F68063152BA266\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"StartFCT\",\r\n\t\t\t\t\t\"NextState\": \"AnswerFCT\",\r\n\t\t\t\t\t\"Meaning\": \"SE(FCT, Initiate)\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"Don\'t you think that FCT is better?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-97B89BF2C6963B18878B3B4644AEC238\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"AnswerGame\",\r\n\t\t\t\t\t\"NextState\": \"EndGame\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Game, Answer)\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"Nice! Lets continue then.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-F9BB9A0B5AF62F1B4D67C8484961BA31\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"StartGame\",\r\n\t\t\t\t\t\"NextState\": \"AnswerGame\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Game, Initiate)\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"No. We do not allow games here.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-A875585D2F9CB5B7F63C50ED45E71C15\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"StartGame\",\r\n\t\t\t\t\t\"NextState\": \"AnswerGame\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Game, Initiate)\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"Actually we have! He can go there anytime.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-8471110886FCB2E2E884E60E2A719BBC\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"StartGame\",\r\n\t\t\t\t\t\"NextState\": \"AnswerGame\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Game, Initiate)\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"I am not sure...\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-462FBABF5F4AE4B5119A1A0D15E5CD0C\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"AnswerGame\",\r\n\t\t\t\t\t\"NextState\": \"EndGame\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Game, Answer)\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"Oh well. We check later.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-2DC1C20C05C1CDD8B59FA039E3196242\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"AnswerGame\",\r\n\t\t\t\t\t\"NextState\": \"EndGame\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Game, Answer)\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"I did not know that...\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-C07395F2E094CCBB0395583AB2D0F29A\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"EndGame\",\r\n\t\t\t\t\t\"NextState\": \"S8\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Game, Finalize)\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"Yeah!\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-FA55D94816D5CCF89794A705913A361B\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"EndGame\",\r\n\t\t\t\t\t\"NextState\": \"S8\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Game, Finalize)\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"Yeah...\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-6314C7EE7C84F307C398FBE33C53C1B6\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"EndGame\",\r\n\t\t\t\t\t\"NextState\": \"S8\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Game, Finalize)\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"...\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-2F43B42FD833D1E77420A8DAE7419000\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S16\",\r\n\t\t\t\t\t\"NextState\": \"S17\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"Oh well...Do you have any skills?\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-920F0750A0FE938F040F4BA333238239\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"AnwserSport\",\r\n\t\t\t\t\t\"NextState\": \"EndSport\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Sport, Answer)\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"Liked it? I loved it. Glad to know you like it too.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-15CEA9158E3F907ECE37CFC134EFD175\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"AnswerUniv\",\r\n\t\t\t\t\t\"NextState\": \"EndUniv\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Univ, Answer)\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"I went to IST. It is really great. \",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-533801BCB4618DD14E2E0CE627B2504E\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"S7\",\r\n\t\t\t\t\t\"NextState\": \"S8\",\r\n\t\t\t\t\t\"Meaning\": \"-\",\r\n\t\t\t\t\t\"Style\": \"Positive\",\r\n\t\t\t\t\t\"Utterance\": \"I like a lot of things! The ones I enjoy the more are gaming, reading and watch movies.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-4641911CB78F56C813026E004880BEC6\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"EndUniv\",\r\n\t\t\t\t\t\"NextState\": \"-\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Univ, Finalize)\",\r\n\t\t\t\t\t\"Style\": \"Negative\",\r\n\t\t\t\t\t\"Utterance\": \"It was just curiosity...\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-CD8DBE467573144DBB8E6D4ED6D0D8ED\"\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"CurrentState\": \"EndUniv\",\r\n\t\t\t\t\t\"NextState\": \"-\",\r\n\t\t\t\t\t\"Meaning\": \"SE(Univ, Finalize)\",\r\n\t\t\t\t\t\"Style\": \"Neutral\",\r\n\t\t\t\t\t\"Utterance\": \"It is good for what I heard.\",\r\n\t\t\t\t\t\"UtteranceId\": \"TTS-FBCBB932F34D6BB3946A78FFA37A3D58\"\r\n\t\t\t\t}]\r\n\t\t},\r\n\t\"types\": [\r\n\t\t{\r\n\t\t\t\"TypeId\": 0,\r\n\t\t\t\"ClassName\": \"IntegratedAuthoringTool.IntegratedAuthoringToolAsset, IntegratedAuthoringTool, Version=1.7.0.0, Culture=neutral, PublicKeyToken=null\"\r\n\t\t}]\r\n}";
            
            var iat = IntegratedAuthoringToolAsset.LoadFromString(_iatString);
           
            rpcList = new List<RolePlayCharacterAsset>();

          //  Load Player from STRING

            var path = "C:\\Users\\Manue\\Documents\\Work\\FAtiMA\\Tutorials\\Examples\\CiF-Tutorial\\rpc\\player.rpc";
            
            FileStream fs = new FileStream(path, FileMode.Open, FileAccess.Read);
            

            
          //  var playerString = File.OpenRead(path);
            
            
            var jnas = "{\t\"root\":\t\t{\t\t\t\"classId\": 0,\t\t\t\"KnowledgeBase\":\t\t\t\t{\t\t\t\t\t\"Perspective\": \"Player\",\t\t\t\t\t\"Knowledge\":\t\t\t\t\t\t{\t\t\t\t\t\t\t\"SELF\":\t\t\t\t\t\t\t\t{\t\t\t\t\t\t\t\t\t\"Has(Floor)\": \"John, 1\",\t\t\t\t\t\t\t\t\t\"WantsTheJob(Player)\": \"True, 1\"\t\t\t\t\t\t\t\t}\t\t\t\t\t\t}\t\t\t\t},\t\t\t\"BodyName\": \"Male\",\t\t\t\"VoiceName\": \"Female\",\t\t\t\"EmotionalAppraisalAssetSource\": null,\t\t\t\"EmotionalDecisionMakingSource\": \"DecisionMakingPlayer.edm\",\t\t\t\"SocialImportanceAssetSource\": \"\",\t\t\t\"CommeillFautAssetSource\": \"..\\\\JobInterviewCIF.cif\",\t\t\t\"EmotionalState\":\t\t\t\t{\t\t\t\t\t\"Mood\": 0,\t\t\t\t\t\"initialTick\": 0,\t\t\t\t\t\"EmotionalPool\": [],\t\t\t\t\t\"AppraisalConfiguration\":\t\t\t\t\t\t{\t\t\t\t\t\t\t\"HalfLifeDecayConstant\": 0.5,\t\t\t\t\t\t\t\"EmotionInfluenceOnMoodFactor\": 0.3,\t\t\t\t\t\t\t\"MoodInfluenceOnEmotionFactor\": 0.3,\t\t\t\t\t\t\t\"MinimumMoodValueForInfluencingEmotions\": 0.5,\t\t\t\t\t\t\t\"EmotionalHalfLifeDecayTime\": 15,\t\t\t\t\t\t\t\"MoodHalfLifeDecayTime\": 60\t\t\t\t\t\t}\t\t\t\t},\t\t\t\"AutobiographicMemory\":\t\t\t\t{\t\t\t\t\t\"Tick\": 0,\t\t\t\t\t\"records\": []\t\t\t\t},\t\t\t\"OtherAgents\":\t\t\t\t{\t\t\t\t\t\"dictionary\": []\t\t\t\t}\t\t},\t\"types\": [\t\t{\t\t\t\"TypeId\": 0,\t\t\t\"ClassName\": \"RolePlayCharacter.RolePlayCharacterAsset, RolePlayCharacter, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null\"\t\t}]}";
           
            string fileContents;
            using (StreamReader reader = new StreamReader(fs))
            {
                fileContents = reader.ReadToEnd();
            }
            
            
            var player = RolePlayCharacterAsset.LoadFromString(fileContents);


            var edmString =
                "{\r\n\t\"root\":\r\n\t\t{\r\n\t\t\t\"classId\": 0,\r\n\t\t\t\"ActionTendencies\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"Action\": \"Speak([cs], [ns], [m], [s])\",\r\n\t\t\t\t\t\"Target\": \"[x]\",\r\n\t\t\t\t\t\"Layer\": \"-\",\r\n\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"Set\": [\"Has(Floor) = SELF\", \"IsAgent([x]) = True\", \"[x] != SELF\", \"DialogueState([x]) = [cs]\", \"ValidDialogue([cs], [ns], [m], [s]) = True\", \"EventId(Action-End, *, Speak([cs], [ns], [m], *), [x]) = -1\"]\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\"Priority\": 1\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"Action\": \"Speak([cs], [ns], SE([se], [step]), *)\",\r\n\t\t\t\t\t\"Target\": \"[x]\",\r\n\t\t\t\t\t\"Layer\": \"-\",\r\n\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"Set\": [\"Has(Floor) = SELF\", \"IsAgent([x]) = True\", \"[x] != SELF\", \"ValidDialogue([cs], [ns], SE([se], [step]), *) = True\", \"Volition([se], [step], [x], *) > 0\", \"EventId(Action-End, *, Speak([cs], [ns], SE([se], [step]), *), [x]) = -1\"]\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\"Priority\": 4\r\n\t\t\t\t}]\r\n\t\t},\r\n\t\"types\": [\r\n\t\t{\r\n\t\t\t\"TypeId\": 0,\r\n\t\t\t\"ClassName\": \"EmotionalDecisionMaking.EmotionalDecisionMakingAsset, EmotionalDecisionMaking, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null\"\r\n\t\t}]\r\n}";
           
            player.LoadAssociatedAssetsFromString("", edmString, "", "" );

            iat.BindToRegistry(player.DynamicPropertiesRegistry);

          
            //Load Sarah from string

            var Sarah =
                "{\r\n\t\"root\":\r\n\t\t{\r\n\t\t\t\"classId\": 0,\r\n\t\t\t\"KnowledgeBase\":\r\n\t\t\t\t{\r\n\t\t\t\t\t\"Perspective\": \"Sarah\",\r\n\t\t\t\t\t\"Knowledge\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"SELF\":\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"Has(Floor)\": \"John, 1\",\r\n\t\t\t\t\t\t\t\t\t\"Presentable(Player)\": \"True, 1\"\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\"BodyName\": \"Female\",\r\n\t\t\t\"VoiceName\": \"Female\",\r\n\t\t\t\"EmotionalAppraisalAssetSource\": \"Appraisal1.ea\",\r\n\t\t\t\"EmotionalDecisionMakingSource\": \"DecisionMaking1.edm\",\r\n\t\t\t\"SocialImportanceAssetSource\": \"\",\r\n\t\t\t\"CommeillFautAssetSource\": \"\",\r\n\t\t\t\"EmotionalState\":\r\n\t\t\t\t{\r\n\t\t\t\t\t\"Mood\": 0,\r\n\t\t\t\t\t\"initialTick\": 0,\r\n\t\t\t\t\t\"EmotionalPool\": [],\r\n\t\t\t\t\t\"AppraisalConfiguration\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"HalfLifeDecayConstant\": 0.5,\r\n\t\t\t\t\t\t\t\"EmotionInfluenceOnMoodFactor\": 0.3,\r\n\t\t\t\t\t\t\t\"MoodInfluenceOnEmotionFactor\": 0.3,\r\n\t\t\t\t\t\t\t\"MinimumMoodValueForInfluencingEmotions\": 0.5,\r\n\t\t\t\t\t\t\t\"EmotionalHalfLifeDecayTime\": 15,\r\n\t\t\t\t\t\t\t\"MoodHalfLifeDecayTime\": 60\r\n\t\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\"AutobiographicMemory\":\r\n\t\t\t\t{\r\n\t\t\t\t\t\"Tick\": 0,\r\n\t\t\t\t\t\"records\": []\r\n\t\t\t\t},\r\n\t\t\t\"OtherAgents\":\r\n\t\t\t\t{\r\n\t\t\t\t\t\"dictionary\": []\r\n\t\t\t\t}\r\n\t\t},\r\n\t\"types\": [\r\n\t\t{\r\n\t\t\t\"TypeId\": 0,\r\n\t\t\t\"ClassName\": \"RolePlayCharacter.RolePlayCharacterAsset, RolePlayCharacter, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null\"\r\n\t\t}]\r\n}";

            var sarahRPC = RolePlayCharacterAsset.LoadFromString(Sarah);

            var sarahAppraisal =
                "{\r\n\t\"root\":\r\n\t\t{\r\n\t\t\t\"classId\": 0,\r\n\t\t\t\"Description\": null,\r\n\t\t\t\"AppraisalRules\":\r\n\t\t\t\t{\r\n\t\t\t\t\t\"AppraisalWeight\": 1,\r\n\t\t\t\t\t\"Rules\": [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"EventName\": \"Event(Action-End, Player, Speak([cs], [ns], [m], Negative), SELF)\",\r\n\t\t\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"Set\": [\"ValidDialogue([cs], [ns], [m], Negative) = True\"]\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\"Desirability\": -7,\r\n\t\t\t\t\t\t\t\"Praiseworthiness\": -5\r\n\t\t\t\t\t\t}, \r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"EventName\": \"Event(Action-End, Player, Speak([cs], [ns], [m], Neutral), SELF)\",\r\n\t\t\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"Set\": [\"ValidDialogue([cs], [ns], [m], Neutral) = True\"]\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\"Desirability\": -3,\r\n\t\t\t\t\t\t\t\"Praiseworthiness\": 0\r\n\t\t\t\t\t\t}, \r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"EventName\": \"Event(Action-End, Player, Speak([cs], [ns], [m], Positive), [y])\",\r\n\t\t\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"Set\": [\"ValidDialogue([cs], [ns], [m], Positive) = True\"]\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\"Desirability\": 7,\r\n\t\t\t\t\t\t\t\"Praiseworthiness\": 5\r\n\t\t\t\t\t\t}, \r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"EventName\": \"Event(Action-End, [x], Speak([cs], [ns], [m], Negative), SELF)\",\r\n\t\t\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"Set\": [\"ValidDialogue([cs], [ns], [m], Negative) = True\", \"[x] != Player\", \"[x] != SELF\"]\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\"Desirability\": -2,\r\n\t\t\t\t\t\t\t\"Praiseworthiness\": -5\r\n\t\t\t\t\t\t}, \r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"EventName\": \"Event(Action-End, [x], Speak([cs], [ns], [m], Neutral), SELF)\",\r\n\t\t\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"Set\": [\"ValidDialogue([cs], [ns], [m], Neutral) = True\", \"[x] != Player\", \"[x] != SELF\"]\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\"Desirability\": 2,\r\n\t\t\t\t\t\t\t\"Praiseworthiness\": 0\r\n\t\t\t\t\t\t}, \r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"EventName\": \"Event(Action-End, [x], Speak([cs], [ns], [m], Positive), SELF)\",\r\n\t\t\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"Set\": [\"ValidDialogue([cs], [ns], [m], Positive) = True\", \"[x] != Player\", \"[x] != SELF\"]\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\"Desirability\": 5,\r\n\t\t\t\t\t\t\t\"Praiseworthiness\": 5\r\n\t\t\t\t\t\t}]\r\n\t\t\t\t},\r\n\t\t\t\"EmotionDispositions\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"Emotion\": \"*\",\r\n\t\t\t\t\t\"Decay\": 1,\r\n\t\t\t\t\t\"Threshold\": 1\r\n\t\t\t\t}],\r\n\t\t\t\"Goals\": []\r\n\t\t},\r\n\t\"types\": [\r\n\t\t{\r\n\t\t\t\"TypeId\": 0,\r\n\t\t\t\"ClassName\": \"EmotionalAppraisal.EmotionalAppraisalAsset, EmotionalAppraisal, Version=1.4.1.0, Culture=neutral, PublicKeyToken=null\"\r\n\t\t}]\r\n}";

            var sarahEDM = "{\r\n\t\"root\":\r\n\t\t{\r\n\t\t\t\"classId\": 0,\r\n\t\t\t\"ActionTendencies\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"Action\": \"Speak([cs], [ns], SE([se], [step]), *)\",\r\n\t\t\t\t\t\"Target\": \"[x]\",\r\n\t\t\t\t\t\"Layer\": \"-\",\r\n\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"Set\": [\"Has(Floor) = SELF\", \"IsAgent([x]) = True\", \"ValidDialogue([cs], [ns], SE([se], [step]), *) = True\", \"EventId(Action-End, *, Speak([cs], [ns], [m], *), [x]) = -1\", \"Volition([se], [step], [x], *) > 0\"]\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\"Priority\": 2\r\n\t\t\t\t}]\r\n\t\t},\r\n\t\"types\": [\r\n\t\t{\r\n\t\t\t\"TypeId\": 0,\r\n\t\t\t\"ClassName\": \"EmotionalDecisionMaking.EmotionalDecisionMakingAsset, EmotionalDecisionMaking, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null\"\r\n\t\t}]\r\n}";

           
            sarahRPC.LoadAssociatedAssetsFromString(sarahAppraisal, sarahEDM, "", "");
            
            iat.BindToRegistry(sarahRPC.DynamicPropertiesRegistry);
            


            // Load John

            var John = "{\r\n\t\"root\":\r\n\t\t{\r\n\t\t\t\"classId\": 0,\r\n\t\t\t\"KnowledgeBase\":\r\n\t\t\t\t{\r\n\t\t\t\t\t\"Perspective\": \"John\",\r\n\t\t\t\t\t\"Knowledge\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"SELF\":\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"DialogueState(Player)\": \"Start, 1\",\r\n\t\t\t\t\t\t\t\t\t\"Has(Floor)\": \"John, 1\",\r\n\t\t\t\t\t\t\t\t\t\"Presentable(Player)\": \"True, 1\"\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\"BodyName\": \"Male\",\r\n\t\t\t\"VoiceName\": \"Male\",\r\n\t\t\t\"EmotionalAppraisalAssetSource\": \"Appraisal1.ea\",\r\n\t\t\t\"EmotionalDecisionMakingSource\": \"DecisionMaking2.edm\",\r\n\t\t\t\"SocialImportanceAssetSource\": \"SocialImportance.si\",\r\n\t\t\t\"CommeillFautAssetSource\": \"\",\r\n\t\t\t\"EmotionalState\":\r\n\t\t\t\t{\r\n\t\t\t\t\t\"Mood\": 0,\r\n\t\t\t\t\t\"initialTick\": 0,\r\n\t\t\t\t\t\"EmotionalPool\": [],\r\n\t\t\t\t\t\"AppraisalConfiguration\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"HalfLifeDecayConstant\": 0.5,\r\n\t\t\t\t\t\t\t\"EmotionInfluenceOnMoodFactor\": 0.3,\r\n\t\t\t\t\t\t\t\"MoodInfluenceOnEmotionFactor\": 0.3,\r\n\t\t\t\t\t\t\t\"MinimumMoodValueForInfluencingEmotions\": 0.5,\r\n\t\t\t\t\t\t\t\"EmotionalHalfLifeDecayTime\": 15,\r\n\t\t\t\t\t\t\t\"MoodHalfLifeDecayTime\": 60\r\n\t\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\"AutobiographicMemory\":\r\n\t\t\t\t{\r\n\t\t\t\t\t\"Tick\": 0,\r\n\t\t\t\t\t\"records\": []\r\n\t\t\t\t},\r\n\t\t\t\"OtherAgents\":\r\n\t\t\t\t{\r\n\t\t\t\t\t\"dictionary\": []\r\n\t\t\t\t}\r\n\t\t},\r\n\t\"types\": [\r\n\t\t{\r\n\t\t\t\"TypeId\": 0,\r\n\t\t\t\"ClassName\": \"RolePlayCharacter.RolePlayCharacterAsset, RolePlayCharacter, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null\"\r\n\t\t}]\r\n}";
                
            var johnRPC = RolePlayCharacterAsset.LoadFromString(John);

            var johnAppraisal =
                "{\r\n\t\"root\":\r\n\t\t{\r\n\t\t\t\"classId\": 0,\r\n\t\t\t\"Description\": null,\r\n\t\t\t\"AppraisalRules\":\r\n\t\t\t\t{\r\n\t\t\t\t\t\"AppraisalWeight\": 1,\r\n\t\t\t\t\t\"Rules\": [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"EventName\": \"Event(Action-End, Player, Speak([cs], [ns], [m], Negative), SELF)\",\r\n\t\t\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"Set\": [\"ValidDialogue([cs], [ns], [m], Negative) = True\"]\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\"Desirability\": -7,\r\n\t\t\t\t\t\t\t\"Praiseworthiness\": -5\r\n\t\t\t\t\t\t}, \r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"EventName\": \"Event(Action-End, Player, Speak([cs], [ns], [m], Neutral), SELF)\",\r\n\t\t\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"Set\": [\"ValidDialogue([cs], [ns], [m], Neutral) = True\"]\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\"Desirability\": -3,\r\n\t\t\t\t\t\t\t\"Praiseworthiness\": 0\r\n\t\t\t\t\t\t}, \r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"EventName\": \"Event(Action-End, Player, Speak([cs], [ns], [m], Positive), [y])\",\r\n\t\t\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"Set\": [\"ValidDialogue([cs], [ns], [m], Positive) = True\"]\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\"Desirability\": 7,\r\n\t\t\t\t\t\t\t\"Praiseworthiness\": 5\r\n\t\t\t\t\t\t}, \r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"EventName\": \"Event(Action-End, [x], Speak([cs], [ns], [m], Negative), SELF)\",\r\n\t\t\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"Set\": [\"ValidDialogue([cs], [ns], [m], Negative) = True\", \"[x] != Player\", \"[x] != SELF\"]\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\"Desirability\": -2,\r\n\t\t\t\t\t\t\t\"Praiseworthiness\": -5\r\n\t\t\t\t\t\t}, \r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"EventName\": \"Event(Action-End, [x], Speak([cs], [ns], [m], Neutral), SELF)\",\r\n\t\t\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"Set\": [\"ValidDialogue([cs], [ns], [m], Neutral) = True\", \"[x] != Player\", \"[x] != SELF\"]\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\"Desirability\": 2,\r\n\t\t\t\t\t\t\t\"Praiseworthiness\": 0\r\n\t\t\t\t\t\t}, \r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"EventName\": \"Event(Action-End, [x], Speak([cs], [ns], [m], Positive), SELF)\",\r\n\t\t\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"Set\": [\"ValidDialogue([cs], [ns], [m], Positive) = True\", \"[x] != Player\", \"[x] != SELF\"]\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\"Desirability\": 5,\r\n\t\t\t\t\t\t\t\"Praiseworthiness\": 5\r\n\t\t\t\t\t\t}]\r\n\t\t\t\t},\r\n\t\t\t\"EmotionDispositions\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"Emotion\": \"*\",\r\n\t\t\t\t\t\"Decay\": 1,\r\n\t\t\t\t\t\"Threshold\": 1\r\n\t\t\t\t}],\r\n\t\t\t\"Goals\": []\r\n\t\t},\r\n\t\"types\": [\r\n\t\t{\r\n\t\t\t\"TypeId\": 0,\r\n\t\t\t\"ClassName\": \"EmotionalAppraisal.EmotionalAppraisalAsset, EmotionalAppraisal, Version=1.4.1.0, Culture=neutral, PublicKeyToken=null\"\r\n\t\t}]\r\n}";

            var johnEDM = "{\r\n\t\"root\":\r\n\t\t{\r\n\t\t\t\"classId\": 0,\r\n\t\t\t\"ActionTendencies\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"Action\": \"Speak([cs], [ns], [m], Negative)\",\r\n\t\t\t\t\t\"Target\": \"[x]\",\r\n\t\t\t\t\t\"Layer\": \"-\",\r\n\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"Set\": [\"Has(Floor) = SELF\", \"[x] != Sarah\", \"Mood(SELF) = [y]\", \"[y] < -2\", \"DialogueState([x]) = [cs]\", \"ValidDialogue([cs], [ns], [m], Negative) = True\"]\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\"Priority\": 1\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"Action\": \"Speak([cs], [ns], [m], Positive)\",\r\n\t\t\t\t\t\"Target\": \"[x]\",\r\n\t\t\t\t\t\"Layer\": \"-\",\r\n\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"Set\": [\"ValidDialogue([cs], [ns], [m], Positive) = True\", \"DialogueState([x]) = [cs]\", \"Has(Floor) = SELF\", \"Mood(SELF) = [y]\", \"[y] >= 2\", \"[x] != Sarah\"]\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\"Priority\": 1\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"Action\": \"Speak([cs], [ns], [m], Neutral)\",\r\n\t\t\t\t\t\"Target\": \"[x]\",\r\n\t\t\t\t\t\"Layer\": \"-\",\r\n\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"Set\": [\"ValidDialogue([cs], [ns], [m], Neutral) = True\", \"DialogueState([x]) = [cs]\", \"Has(Floor) = SELF\", \"Mood(SELF) = [y]\", \"[y] > -2\", \"[y] < 2\", \"[x] != Sarah\"]\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\"Priority\": 1\r\n\t\t\t\t}]\r\n\t\t},\r\n\t\"types\": [\r\n\t\t{\r\n\t\t\t\"TypeId\": 0,\r\n\t\t\t\"ClassName\": \"EmotionalDecisionMaking.EmotionalDecisionMakingAsset, EmotionalDecisionMaking, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null\"\r\n\t\t}]\r\n}";


            var johnSI = "{\r\n\t\"root\":\r\n\t\t{\r\n\t\t\t\"classId\": 0,\r\n\t\t\t\"AttributionRules\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"RuleName\": \"Player is presentable?\",\r\n\t\t\t\t\t\"Target\": \"[x]\",\r\n\t\t\t\t\t\"Value\": 20,\r\n\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"Set\": [\"Presentable([x]) = True\", \"Player = [x]\"]\r\n\t\t\t\t\t\t}\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"RuleName\": \"Player is not presentable?\",\r\n\t\t\t\t\t\"Target\": \"[x]\",\r\n\t\t\t\t\t\"Value\": -20,\r\n\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"Set\": [\"Presentable([x]) = False\"]\r\n\t\t\t\t\t\t}\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"RuleName\": \"Talk Sport\",\r\n\t\t\t\t\t\"Target\": \"[x]\",\r\n\t\t\t\t\t\"Value\": 10,\r\n\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"Set\": [\"EventId([type], [x], Speak([cs], [ns], DoesSport, [s]), SELF) = True\"]\r\n\t\t\t\t\t\t}\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"RuleName\": \"Anwser Sport\",\r\n\t\t\t\t\t\"Target\": \"[x]\",\r\n\t\t\t\t\t\"Value\": -10,\r\n\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"Set\": [\"EventId([type], SELF, Speak([cs], [ns], SE(Sport, Initiate), [sty]), [x]) = [y]\", \"Count([y]) = 1\"]\r\n\t\t\t\t\t\t}\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"RuleName\": \"Talk University\",\r\n\t\t\t\t\t\"Target\": \"[x]\",\r\n\t\t\t\t\t\"Value\": 30,\r\n\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"Set\": [\"EventId([type], [x], Speak([cs], [ns], UnivTalk, [s]), SELF) = True\"]\r\n\t\t\t\t\t\t}\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"RuleName\": \"Anwser Univ\",\r\n\t\t\t\t\t\"Target\": \"[x]\",\r\n\t\t\t\t\t\"Value\": -30,\r\n\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"Set\": [\"EventId([type], SELF, Speak([cs], [ns], SE(Univ, Initiate), [sty]), [x]) = [y]\", \"Count([y]) = 1\"]\r\n\t\t\t\t\t\t}\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"RuleName\": \"Talk FCT Sarah\",\r\n\t\t\t\t\t\"Target\": \"[x]\",\r\n\t\t\t\t\t\"Value\": 40,\r\n\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"Set\": [\"EventId([type], [x], Speak([cs], [ns], SE(Univ, Answer), Neutral), SELF) = True\", \"IsAgent([a]) = True\", \"Sarah = [a]\"]\r\n\t\t\t\t\t\t}\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"RuleName\": \"Anwser FCT Sarah\",\r\n\t\t\t\t\t\"Target\": \"[x]\",\r\n\t\t\t\t\t\"Value\": -40,\r\n\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"Set\": [\"Player = [x]\", \"EventId([type], SELF, Speak([cs], EndFCT, [m], [sty]), [z]) = [y]\", \"Count([y]) = 1\"]\r\n\t\t\t\t\t\t}\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"RuleName\": \"Talk Game Sarah\",\r\n\t\t\t\t\t\"Target\": \"[x]\",\r\n\t\t\t\t\t\"Value\": 50,\r\n\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"Set\": [\"EventId([type], [x], Speak([cs], [ns], GameTalk, Positive), SELF) = True\", \"IsAgent([a]) = True\", \"Sarah = [a]\"]\r\n\t\t\t\t\t\t}\r\n\t\t\t\t}, \r\n\t\t\t\t{\r\n\t\t\t\t\t\"RuleName\": \"Anwser Game Sarah\",\r\n\t\t\t\t\t\"Target\": \"[x]\",\r\n\t\t\t\t\t\"Value\": -50,\r\n\t\t\t\t\t\"Conditions\":\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"Set\": [\"Player = [x]\", \"EventId([type], SELF, Speak([cs], EndGame, [m], [sty]), [z]) = [y]\", \"Count([y]) = 1\"]\r\n\t\t\t\t\t\t}\r\n\t\t\t\t}],\r\n\t\t\t\"Claims\": []\r\n\t\t},\r\n\t\"types\": [\r\n\t\t{\r\n\t\t\t\"TypeId\": 0,\r\n\t\t\t\"ClassName\": \"SocialImportance.SocialImportanceAsset, SocialImportanceAsset, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null\"\r\n\t\t}]\r\n}";
            
            
            
            johnRPC.LoadAssociatedAssetsFromString(johnAppraisal, johnEDM, johnSI, "");
            
            iat.BindToRegistry(johnRPC.DynamicPropertiesRegistry);
            








            Console.WriteLine("Asset loaded from text correctly");


          /*  foreach (var actor in rpcList)
            {


                foreach (var anotherActor in rpcList)
                {
                    if (actor != anotherActor)
                    {


                        var changed = new[] { EventHelper.ActionEnd(anotherActor.CharacterName.ToString(), "Enters", "Room") };
                        actor.Perceive(changed);
                    }
                    
                }
              
            }


            foreach(var actor in rpcList)
            {
                if(actor.Decide().FirstOrDefault() != null)
                Console.WriteLine(actor.CharacterName.ToString() + " decided to perform  " + actor.Decide().FirstOrDefault().Name);
            }

    */


            // Letting each other know they are here
            var hi = new[] { EventHelper.ActionEnd(player.CharacterName.ToString(), "Enters", "Room") };
            sarahRPC.Perceive(hi);

            var hi2 = new[] { EventHelper.ActionEnd(johnRPC.CharacterName.ToString(), "Enters", "Room") };
            sarahRPC.Perceive(hi2);

            var handshake = new[] { EventHelper.ActionEnd(sarahRPC.CharacterName.ToString(), "Enters", "Room") };
            player.Perceive(handshake);

            var handshake2 = new[] { EventHelper.ActionEnd(johnRPC.CharacterName.ToString(), "Enters", "Room") };
            player.Perceive(handshake2);

            var welcome = new[] { EventHelper.ActionEnd(sarahRPC.CharacterName.ToString(), "Enters", "Room") };
            johnRPC.Perceive(welcome);

            var welcome2 = new[] { EventHelper.ActionEnd(player.CharacterName.ToString(), "Enters", "Room") };
            johnRPC.Perceive(welcome2);


            rpcList.Add(johnRPC);
            rpcList.Add(sarahRPC);
            rpcList.Add(player);


            foreach (var rpc in rpcList)
            {
                foreach (var b in rpc.GetAllBeliefs())
                {
                    Console.WriteLine("I: " + rpc.CharacterName.ToString() + " believe " + b.Name + " " + b.Value);
                }
            }


            if(sarahRPC.Decide().FirstOrDefault() != null)
                Console.WriteLine(sarahRPC.CharacterName.ToString() + " decided to perform  " + sarahRPC.Decide().FirstOrDefault().Name);

            if(johnRPC.Decide().FirstOrDefault() != null)
                Console.WriteLine(johnRPC.CharacterName.ToString() + " decided to perform  " + johnRPC.Decide().FirstOrDefault().Name);

            if(player.Decide().FirstOrDefault() != null)
                Console.WriteLine(player.CharacterName.ToString() + " decided to perform  " + player.Decide().FirstOrDefault().Name);
{'fraction_non_alphanumeric': 0.34174041542829625, 'fraction_numerical': 0.040812260281933355, 'mean_word_length': 2.3758197410459054, 'pattern_counts': {'":': 915, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 10, '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': '3420621', 'n_tokens_mistral': 33671, 'n_tokens_neox': 31987, 'n_words': 2628}