<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ipfs
{
    /// <summary>
    ///   A node on the IPFS network.
    /// </summary>
    public class Peer : IEquatable<Peer>
    {
        static MultiAddress[] noAddress = new MultiAddress[0];
        const string unknown = "unknown/0.0";

        /// <summary>
        ///   Universally unique identifier.
        /// </summary>
        /// <value>
        ///   This is the <see cref="MultiHash"/> of the peer's <see cref="PublicKey"/>.
        /// </value>
        public MultiHash Id { get; set; }

        /// <summary>
        ///   The public key of the node.
        /// </summary>
        /// <value>
        ///   The base 64 encoding of the node's public key.  The default is <b>null</b>
        /// </value>
        /// <remarks>
        ///   The IPFS public key is the base-64 encoding of a protobuf encoding containing 
        ///   a type and the DER encoding of the PKCS Subject Public Key Info.
        /// </remarks>
        /// <seealso href="https://tools.ietf.org/html/rfc5280#section-4.1.2.7"/>
        public string PublicKey { get; set; }

        /// <summary>
        ///   The multiple addresses of the node.
        /// </summary>
        /// <value>
        ///   Where the peer can be found.  The default is an empty sequence.<commit_msg>docs: be precise<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ipfs
{
    /// <summary>
    ///   A node on the IPFS network.
    /// </summary>
    public class Peer : IEquatable<Peer>
    {
        static MultiAddress[] noAddress = new MultiAddress[0];
        const string unknown = "unknown/0.0";

        /// <summary>
        ///   Universally unique identifier.
        /// </summary>
        /// <value>
        ///   This is the <see cref="MultiHash"/> of the peer's protobuf encoded
        ///   <see cref="PublicKey"/>.
        /// </value>
        public MultiHash Id { get; set; }

        /// <summary>
        ///   The public key of the node.
        /// </summary>
        /// <value>
        ///   The base 64 encoding of the node's public key.  The default is <b>null</b>
        /// </value>
        /// <remarks>
        ///   The IPFS public key is the base-64 encoding of a protobuf encoding containing 
        ///   a type and the DER encoding of the PKCS Subject Public Key Info.
        /// </remarks>
        /// <seealso href="https://tools.ietf.org/html/rfc5280#section-4.1.2.7"/>
        public string PublicKey { get; set; }

        /// <summary>
        ///   The multiple addresses of the node.
        /// </summary>
        /// <value>
        ///   Where the peer can be found.  The default is an empty sequence.
{'fraction_non_alphanumeric': 0.14152966404574696, 'fraction_numerical': 0.010721944245889922, 'mean_word_length': 1.5940685820203893, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '2673374', 'n_tokens_mistral': 806, 'n_tokens_neox': 787, 'n_words': 267}