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

namespace AssettoCorsaSharedMemory
{
	public class StaticInfoEventArgs : EventArgs
	{
		public StaticInfoEventArgs(StaticInfo staticInfo)
		{
			this.StaticInfo = staticInfo;
		}

		public StaticInfo StaticInfo { get; private set; }
	}

	[StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)]
	[Serializable]
	public struct StaticInfo
	{
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 15)]
		public String SMVersion;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 15)]
		public String ACVersion;

		// session static info
		public int NumberOfSessions;
		public int NumCars;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public String CarModel;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public String Track;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public String PlayerName;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public String PlayerSurname;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public String PlayerNick;

		public int SectorCount;

		// car static info
		public float MaxTorque;
		public float MaxPower;
		public int MaxRpm;
		public float MaxFuel;
		[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
		public float[] SuspensionMaxTravel;
		[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
		public float[] TyreRadius;

		// since 1.5
		public float MaxTurboBoost;
		public float Deprecated1; // AirTemp since 1.6 in physic
		public float Deprecated2; // RoadTemp since 1.6 in physic
		public int PenaltiesEnabled;
		public float AidFuelRate;
		public float AidTireRate;
		public float AidMechanicalDamage;
		public int AidAllowTyreBlankets;
		public float AidStability;
		public int AidAutoClutch;
		public int AidAutoBlip;

		// since 1.7.1
		public int HasDRS;
		public int HasERS;
		public int HasKERS;
		public float KersMaxJoules;
		public int EngineBrakeSettingsCount;
		public int ErsPowerControllerCount;

		// since 1.7.2
		public float TrackSPlineLength;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 15)]
		public string TrackConfiguration;

		// since 1.10.2
		public float ErsMaxJ;

		// since 1.13
		public int​​ IsTimedRace;
		public int​​ HasExtraLap;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public String CarSkin;
		public int​​ ReversedGridPositions;
		public int​​ PitWindowStart;
		public int​​ PitWindowEnd;
	}
}<commit_msg>Strange space characters copied from pdf<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace AssettoCorsaSharedMemory
{
	public class StaticInfoEventArgs : EventArgs
	{
		public StaticInfoEventArgs(StaticInfo staticInfo)
		{
			this.StaticInfo = staticInfo;
		}

		public StaticInfo StaticInfo { get; private set; }
	}

	[StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)]
	[Serializable]
	public struct StaticInfo
	{
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 15)]
		public String SMVersion;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 15)]
		public String ACVersion;

		// session static info
		public int NumberOfSessions;
		public int NumCars;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public String CarModel;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public String Track;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public String PlayerName;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public String PlayerSurname;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public String PlayerNick;

		public int SectorCount;

		// car static info
		public float MaxTorque;
		public float MaxPower;
		public int MaxRpm;
		public float MaxFuel;
		[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
		public float[] SuspensionMaxTravel;
		[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
		public float[] TyreRadius;

		// since 1.5
		public float MaxTurboBoost;
		public float Deprecated1; // AirTemp since 1.6 in physic
		public float Deprecated2; // RoadTemp since 1.6 in physic
		public int PenaltiesEnabled;
		public float AidFuelRate;
		public float AidTireRate;
		public float AidMechanicalDamage;
		public int AidAllowTyreBlankets;
		public float AidStability;
		public int AidAutoClutch;
		public int AidAutoBlip;

		// since 1.7.1
		public int HasDRS;
		public int HasERS;
		public int HasKERS;
		public float KersMaxJoules;
		public int EngineBrakeSettingsCount;
		public int ErsPowerControllerCount;

		// since 1.7.2
		public float TrackSPlineLength;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 15)]
		public string TrackConfiguration;

		// since 1.10.2
		public float ErsMaxJ;

		// since 1.13
		public int IsTimedRace;
		public int HasExtraLap;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public String CarSkin;
		public int ReversedGridPositions;
		public int PitWindowStart;
		public int PitWindowEnd;
	}
}
{'fraction_non_alphanumeric': 0.0796408354479797, 'fraction_numerical': 0.016396642592231114, 'mean_word_length': 4.5816993464052285, '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': '6384248', 'n_tokens_mistral': 1893, 'n_tokens_neox': 1641, 'n_words': 451}