<commit_before>﻿using System.IO;
using System.Runtime.InteropServices;

namespace OpenSage.Data.W3d
{
    /// <summary>
    /// Vertex Influences. For "skins" each vertex can be associated with a different bone.
    /// </summary>
    [StructLayout(LayoutKind.Sequential)]
    public struct W3dVertexInfluence
    {
        public ushort BoneIndex;
        public ushort Bone2Index;
        public ushort BoneWeight;
        public ushort Bone2Weight;

        internal static W3dVertexInfluence Parse(BinaryReader reader)
        {
            var result = new W3dVertexInfluence
            {
                BoneIndex = reader.ReadUInt16(),
                Bone2Index = reader.ReadUInt16(),
                BoneWeight = (reader.ReadUInt16()),
                Bone2Weight = (reader.ReadUInt16())
            };

            return result;
        }

        internal void WriteTo(BinaryWriter writer)
        {
            writer.Write(BoneIndex);
            writer.Write(Bone2Index);
            writer.Write(BoneWeight);
            writer.Write(Bone2Weight);
        }
    }
}
<commit_msg>remove obsolete braces<commit_after>﻿using System.IO;
using System.Runtime.InteropServices;

namespace OpenSage.Data.W3d
{
    /// <summary>
    /// Vertex Influences. For "skins" each vertex can be associated with a different bone.
    /// </summary>
    [StructLayout(LayoutKind.Sequential)]
    public struct W3dVertexInfluence
    {
        public ushort BoneIndex;
        public ushort Bone2Index;
        public ushort BoneWeight;
        public ushort Bone2Weight;

        internal static W3dVertexInfluence Parse(BinaryReader reader)
        {
            var result = new W3dVertexInfluence
            {
                BoneIndex = reader.ReadUInt16(),
                Bone2Index = reader.ReadUInt16(),
                BoneWeight = reader.ReadUInt16(),
                Bone2Weight = reader.ReadUInt16()
            };

            return result;
        }

        internal void WriteTo(BinaryWriter writer)
        {
            writer.Write(BoneIndex);
            writer.Write(Bone2Index);
            writer.Write(BoneWeight);
            writer.Write(Bone2Weight);
        }
    }
}

{'fraction_non_alphanumeric': 0.08382687927107062, 'fraction_numerical': 0.01640091116173121, 'mean_word_length': 1.8781127129750983, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7384462', 'n_tokens_mistral': 637, 'n_tokens_neox': 595, 'n_words': 130}