<commit_before>﻿using System;
using FlubuCore.Context;
using FlubuCore.Context.FluentInterface;
using FlubuCore.Targeting;
using FlubuCore.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;

namespace FlubuCore.Scripting
{
    public abstract class BuildScriptEngine : IBuildScriptEngine
    {
        protected BuildScriptEngine()
        {
#if NETSTANDARD1_6
            throw new NotSupportedException("BuildScript engine is only supported in  =<.net standard2.0 and =<.net 4.62");
#endif
#if !NETSTANDARD1_6
            LoggerFactory = new LoggerFactory();

            ServiceProvider = new ServiceCollection()
                .AddCoreComponents()
                .AddTasks()<commit_msg>build script engine is not abstact anymore.<commit_after>﻿using System;
using FlubuCore.Context;
using FlubuCore.Context.FluentInterface;
using FlubuCore.Targeting;
using FlubuCore.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;

namespace FlubuCore.Scripting
{
    public class BuildScriptEngine : IBuildScriptEngine
    {
        protected BuildScriptEngine()
        {
#if NETSTANDARD1_6
            throw new NotSupportedException("BuildScript engine is only supported in  =<.net standard2.0 and =<.net 4.62");
#endif
#if !NETSTANDARD1_6
            LoggerFactory = new LoggerFactory();

            ServiceProvider = new ServiceCollection()
                .AddCoreComponents()
                .AddTasks()
{'fraction_non_alphanumeric': 0.07744107744107744, 'fraction_numerical': 0.012121212121212121, 'mean_word_length': 3.4094955489614245, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, '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': '5615366', 'n_tokens_mistral': 414, 'n_tokens_neox': 398, 'n_words': 102}