<commit_before>using System.Collections.Generic;

namespace Flame.Ecs
{
    /// <summary>
    /// A stack of warnings which are either explicitly disabled or restored.
    /// </summary>
    public sealed class WarningStack
    {
        /// <summary>
        /// Creates an empty warning stack.
        /// </summary>
        public WarningStack()
        {
            this.warningStates = new Dictionary<string, bool>();
        }

        /// <summary>
        /// Creates a warning stack with the given parent entry and warning state dictionary.
        /// </summary>
        /// <param name="warningStates">The warning states for this warning stack.</param>
        private WarningStack(Dictionary<string, bool> warningStates)
        {
            this.warningStates = new Dictionary<string, bool>();
        }

        /// <summary>
        /// Specifies which warnings have been disabled and which have been restored.
        /// </summary><commit_msg>Fix a bug in a WarningStack constructor<commit_after>using System.Collections.Generic;

namespace Flame.Ecs
{
    /// <summary>
    /// A stack of warnings which are either explicitly disabled or restored.
    /// </summary>
    public sealed class WarningStack
    {
        /// <summary>
        /// Creates an empty warning stack.
        /// </summary>
        public WarningStack()
        {
            this.warningStates = new Dictionary<string, bool>();
        }

        /// <summary>
        /// Creates a warning stack with the given parent entry and warning state dictionary.
        /// </summary>
        /// <param name="warningStates">The warning states for this warning stack.</param>
        private WarningStack(Dictionary<string, bool> warningStates)
        {
            this.warningStates = warningStates;
        }

        /// <summary>
        /// Specifies which warnings have been disabled and which have been restored.
        /// </summary>
{'fraction_non_alphanumeric': 0.10915675116399379, 'fraction_numerical': 0.0, 'mean_word_length': 1.9347496206373294, 'pattern_counts': {'":': 0, '<': 28, '<?xml version=': 0, '>': 28, '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': '1438552', 'n_tokens_mistral': 456, 'n_tokens_neox': 444, 'n_words': 159}