<commit_before>﻿#region

using System;
using System.Collections.Generic;

#endregion

namespace MaxMind.Db
{
    /// <summary>
    ///     Data about the database file itself
    /// </summary>
    public class Metadata
    {
        /// <summary>
        ///     Construct a metadata object.
        /// </summary>
        /// <param name="binaryFormatMajorVersion"></param>
        /// <param name="binaryFormatMinorVersion"></param>
        /// <param name="buildEpoch"></param>
        /// <param name="databaseType"></param>
        /// <param name="description"></param>
        /// <param name="ipVersion"></param>
        /// <param name="languages"></param>
        /// <param name="nodeCount"></param>
        /// <param name="recordSize"></param>
        [Constructor]
        public Metadata(
            [Parameter("binary_format_major_version")] int binaryFormatMajorVersion,
            [Parameter("binary_format_minor_version")] int binaryFormatMinorVersion,
#pragma warning disable CS3001 // Argument type is not CLS-compliant
            [Parameter("build_epoch")] ulong buildEpoch,
#pragma warning restore CS3001 // Argument type is not CLS-compliant
            [Parameter("database_type")] string databaseType,
            IDictionary<string, string> description,
            [Parameter("ip_version")] int ipVersion,
            IReadOnlyList<string> languages,
            [Parameter("node_count")] long nodeCount,
            [Parameter("record_size")] int recordSize
            )
        {<commit_msg>Sealed Metadata.cs<commit_after>﻿#region

using System;
using System.Collections.Generic;

#endregion

namespace MaxMind.Db
{
    /// <summary>
    ///     Data about the database file itself
    /// </summary>
    public sealed class Metadata
    {
        /// <summary>
        ///     Construct a metadata object.
        /// </summary>
        /// <param name="binaryFormatMajorVersion"></param>
        /// <param name="binaryFormatMinorVersion"></param>
        /// <param name="buildEpoch"></param>
        /// <param name="databaseType"></param>
        /// <param name="description"></param>
        /// <param name="ipVersion"></param>
        /// <param name="languages"></param>
        /// <param name="nodeCount"></param>
        /// <param name="recordSize"></param>
        [Constructor]
        public Metadata(
            [Parameter("binary_format_major_version")] int binaryFormatMajorVersion,
            [Parameter("binary_format_minor_version")] int binaryFormatMinorVersion,
#pragma warning disable CS3001 // Argument type is not CLS-compliant
            [Parameter("build_epoch")] ulong buildEpoch,
#pragma warning restore CS3001 // Argument type is not CLS-compliant
            [Parameter("database_type")] string databaseType,
            IDictionary<string, string> description,
            [Parameter("ip_version")] int ipVersion,
            IReadOnlyList<string> languages,
            [Parameter("node_count")] long nodeCount,
            [Parameter("record_size")] int recordSize
            )
        {
{'fraction_non_alphanumeric': 0.13674934725848564, 'fraction_numerical': 0.005221932114882507, 'mean_word_length': 2.413140311804009, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '4294986', 'n_tokens_mistral': 789, 'n_tokens_neox': 774, 'n_words': 182}