<commit_before>namespace Iago.Runner
{
  public class ApplicationHost
  {
    public HostedConfiguration Configuration {get;}

    public ApplicationHost(HostedConfiguration hostedConfiguration)
    {
      Configuration = hostedConfiguration;
    }

    public void Run()
    {
      var domainAssemblies = AppDomain.CurrentDomain.GetAssemblies();
    }
  }

}<commit_msg>[feat] run and load sample test lib<commit_after>namespace Iago.Runner
{
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Reflection;
  using static System.Console;

  public class ApplicationHost
  {
    public HostedConfiguration Configuration {get;}

    public ApplicationHost(HostedConfiguration hostedConfiguration)
    {
      Configuration = hostedConfiguration;
    }

    public void Run()
    {
      //var domainAssemblies = AppDomain.CurrentDomain.GetAssemblies();
      var domainAssemblies = new []{ Assembly.Load(Configuration.HostedApplicationName)};
      var specTypes = new List<Type>();
      WriteLine("scanning ...");
      foreach(var asm in domainAssemblies)
      {
        WriteLine("--> " + asm.FullName);
        asm.ExportedTypes
          .Where(type => type.Name.ToLower().EndsWith("specs"))
          .ToList()
          .ForEach(type=> specTypes.Add(type));
      }

      WriteLine("specs found:");
      foreach(var spec in specTypes)
      {
        WriteLine("\t - " + spec.Name);
      }
    }
  }

}
{'fraction_non_alphanumeric': 0.10475534114403859, 'fraction_numerical': 0.0, 'mean_word_length': 2.872, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 7, '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': '398089', 'n_tokens_mistral': 410, 'n_tokens_neox': 396, 'n_words': 86}