<commit_before>﻿// Version compatibility level: 3.1.0
namespace BoboBrowse.Net.Facets
{
    using System;
    using System.Collections.Generic;

    /// <summary>
    /// The dummy interface to indicate that a class type can be used for initializing RuntimeFacetHandlers.
    /// 
    /// author xiaoyang
    /// </summary>
    [Serializable]
    public abstract class FacetHandlerInitializerParam
    {
        public static readonly FacetHandlerInitializerParam EMPTY_PARAM = new EmptyFacetHandlerInitializerParam();

        public class EmptyFacetHandlerInitializerParam : FacetHandlerInitializerParam
        {
            public override IEnumerable<string> GetStringParam(string name)
            {
                return new string[0];
            }

            public override int[] GetIntParam(string name)
            {
                return new int[0];
            }

            public override bool[] GetBooleanParam(string name)
            {
                return new bool[0];
            }

            public override long[] GetLongParam(string name)
            {
                return new long[0];
            }

            public override sbyte[] GetByteArrayParam(string name)
            {<commit_msg>Changed accessibility of FacetHandlerInitializerParam.EmptyFacetHandlerInitializerParam class to private sealed.<commit_after>﻿// Version compatibility level: 3.1.0
namespace BoboBrowse.Net.Facets
{
    using System;
    using System.Collections.Generic;

    /// <summary>
    /// The dummy interface to indicate that a class type can be used for initializing RuntimeFacetHandlers.
    /// 
    /// author xiaoyang
    /// </summary>
    [Serializable]
    public abstract class FacetHandlerInitializerParam
    {
        public static readonly FacetHandlerInitializerParam EMPTY_PARAM = new EmptyFacetHandlerInitializerParam();

        private sealed class EmptyFacetHandlerInitializerParam : FacetHandlerInitializerParam
        {
            public override IEnumerable<string> GetStringParam(string name)
            {
                return new string[0];
            }

            public override int[] GetIntParam(string name)
            {
                return new int[0];
            }

            public override bool[] GetBooleanParam(string name)
            {
                return new bool[0];
            }

            public override long[] GetLongParam(string name)
            {
                return new long[0];
            }

            public override sbyte[] GetByteArrayParam(string name)
            {
{'fraction_non_alphanumeric': 0.06861598440545809, 'fraction_numerical': 0.005458089668615985, 'mean_word_length': 1.952819332566168, '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': '2406348', 'n_tokens_mistral': 631, 'n_tokens_neox': 601, 'n_words': 174}