<commit_before>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace iio
{
    abstract class Attr
    {
        protected string attrname;

        protected Attr(string name)
        {
            this.attrname = name;
        }

        public string name()
        {
            return attrname;
        }

        public abstract string read();
        public abstract void write(string val);

        bool read_bool()
        {
            string val = read();
            return (val.CompareTo("1") == 0) || (val.CompareTo("Y") == 0);
        }

        double read_double()
        {
            return Convert.ToDouble(read());
        }

        long read_long()
        {
            return Convert.ToInt64(read());
        }

        void write(bool val)
        {
            if (val)
                write("1");
            else
                write("0");
        }

        void write(long val)
        {
            write("" + val);
        }

        void write(double val)
        {
            write("" + val);
        }
    }
}<commit_msg>C#: Attr.cs: Mark a few functions as public<commit_after>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace iio
{
    abstract class Attr
    {
        protected string attrname;

        protected Attr(string name)
        {
            this.attrname = name;
        }

        public string name()
        {
            return attrname;
        }

        public abstract string read();
        public abstract void write(string val);

        public bool read_bool()
        {
            string val = read();
            return (val.CompareTo("1") == 0) || (val.CompareTo("Y") == 0);
        }

        public double read_double()
        {
            return Convert.ToDouble(read());
        }

        public long read_long()
        {
            return Convert.ToInt64(read());
        }

        public void write(bool val)
        {
            if (val)
                write("1");
            else
                write("0");
        }

        public void write(long val)
        {
            write("" + val);
        }

        public void write(double val)
        {
            write("" + val);
        }
    }
}
{'fraction_non_alphanumeric': 0.10607356715141146, 'fraction_numerical': 0.005988023952095809, 'mean_word_length': 1.3044334975369458, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5684044', 'n_tokens_mistral': 644, 'n_tokens_neox': 617, 'n_words': 159}