<commit_before>﻿<Window x:Class="OsVersionDetect.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:OsVersionDetect"
        x:Name="WindowRoot"
        Title="OS Version Detect"
        FontFamily="Segoe UI"
        Height="200" Width="400" SizeToContent="Height" ResizeMode="CanMinimize">
    <Window.Resources>
        <local:VersionToStringConverter x:Key="VersionToStringConverterKey"/>
    </Window.Resources>

    <Grid Margin="4">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <TextBlock
            HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            Text="GetVersionEx"/>
        <TextBox
            Grid.Column="1" Grid.Row="0"
            Width="50" Height="23" HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
            IsReadOnly="True"
            Text="{Binding OsVersionByGetVersionEx, ElementName=WindowRoot, Converter={StaticResource VersionToStringConverterKey}}"/>

        <TextBlock
            Grid.Column="0" Grid.Row="1"
            HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            Text="RtlGetVersion"/>
        <TextBox
            Grid.Column="1" Grid.Row="1"
            Width="50" Height="23" HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
            IsReadOnly="True"
            Text="{Binding OsVersionByRtlGetVersion, ElementName=WindowRoot, Converter={StaticResource VersionToStringConverterKey}}"/>

        <TextBlock
            Grid.Column="0" Grid.Row="2"
            HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            Text="NetWkstaGetInfo"/>
        <TextBox
            Grid.Column="1" Grid.Row="2"
            Width="50" Height="23" HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
            IsReadOnly="True"
            Text="{Binding OsVersionByNetWkstaGetInfo, ElementName=WindowRoot, Converter={StaticResource VersionToStringConverterKey}}"/>

        <TextBlock
            Grid.Column="0" Grid.Row="3"
            HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            Text="WMI"/>
        <TextBox
            Grid.Column="1" Grid.Row="3"
            Width="50" Height="23" HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
            IsReadOnly="True"
            Text="{Binding OsVersionByWmi, ElementName=WindowRoot, Converter={StaticResource VersionToStringConverterKey}}"/>

        <TextBlock
            Grid.Column="0" Grid.Row="4"
            HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            Text="VerifyVersionInfo"/>
        <StackPanel
            Grid.Column="1" Grid.Row="4"
            HorizontalAlignment="Left"
            Orientation="Horizontal">
            <TextBlock
                VerticalAlignment="Center"
                Margin="4"
                Text="equal to or higher than"/>
            <ComboBox
                Width="35" VerticalAlignment="Center"
                Margin="4"
                ItemsSource="{Binding Numbers, ElementName=WindowRoot}"
                SelectedItem="{Binding MajorVersion, ElementName=WindowRoot}"/>
            <TextBlock
                VerticalAlignment="Center"
                Margin="0"
                Text="."/>
            <ComboBox
                Width="35" VerticalAlignment="Center"
                Margin="4"
                ItemsSource="{Binding Numbers, ElementName=WindowRoot}"
                SelectedItem="{Binding MinorVersion, ElementName=WindowRoot}"/>
            <TextBox
                Width="50" Height="23" VerticalAlignment="Center"
                Margin="4"
                HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
                IsReadOnly="True"
                Text="{Binding IsOsEqualOrNewer, ElementName=WindowRoot}"/>
        </StackPanel>
    </Grid>
</Window><commit_msg>Changed wording<commit_after>﻿<Window x:Class="OsVersionDetect.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:OsVersionDetect"
        x:Name="WindowRoot"
        Title="OS Version Detect"
        FontFamily="Segoe UI"
        Height="200" Width="400" SizeToContent="Height" ResizeMode="CanMinimize">
    <Window.Resources>
        <local:VersionToStringConverter x:Key="VersionToStringConverterKey"/>
    </Window.Resources>

    <Grid Margin="4">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <TextBlock
            HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            Text="GetVersionEx"/>
        <TextBox
            Grid.Column="1" Grid.Row="0"
            Width="50" Height="23" HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
            IsReadOnly="True"
            Text="{Binding OsVersionByGetVersionEx, ElementName=WindowRoot, Converter={StaticResource VersionToStringConverterKey}}"/>

        <TextBlock
            Grid.Column="0" Grid.Row="1"
            HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            Text="RtlGetVersion"/>
        <TextBox
            Grid.Column="1" Grid.Row="1"
            Width="50" Height="23" HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
            IsReadOnly="True"
            Text="{Binding OsVersionByRtlGetVersion, ElementName=WindowRoot, Converter={StaticResource VersionToStringConverterKey}}"/>

        <TextBlock
            Grid.Column="0" Grid.Row="2"
            HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            Text="NetWkstaGetInfo"/>
        <TextBox
            Grid.Column="1" Grid.Row="2"
            Width="50" Height="23" HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
            IsReadOnly="True"
            Text="{Binding OsVersionByNetWkstaGetInfo, ElementName=WindowRoot, Converter={StaticResource VersionToStringConverterKey}}"/>

        <TextBlock
            Grid.Column="0" Grid.Row="3"
            HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            Text="WMI"/>
        <TextBox
            Grid.Column="1" Grid.Row="3"
            Width="50" Height="23" HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
            IsReadOnly="True"
            Text="{Binding OsVersionByWmi, ElementName=WindowRoot, Converter={StaticResource VersionToStringConverterKey}}"/>

        <TextBlock
            Grid.Column="0" Grid.Row="4"
            HorizontalAlignment="Left" VerticalAlignment="Center"
            Margin="4"
            Text="VerifyVersionInfo"/>
        <StackPanel
            Grid.Column="1" Grid.Row="4"
            HorizontalAlignment="Left"
            Orientation="Horizontal">
            <TextBlock
                VerticalAlignment="Center"
                Margin="4"
                Text="equal to or newer than"/>
            <ComboBox
                Width="36" VerticalAlignment="Center"
                Margin="4"
                ItemsSource="{Binding Numbers, ElementName=WindowRoot}"
                SelectedItem="{Binding MajorVersion, ElementName=WindowRoot}"/>
            <TextBlock
                VerticalAlignment="Center"
                Margin="0"
                Text="."/>
            <ComboBox
                Width="36" VerticalAlignment="Center"
                Margin="4"
                ItemsSource="{Binding Numbers, ElementName=WindowRoot}"
                SelectedItem="{Binding MinorVersion, ElementName=WindowRoot}"/>
            <TextBox
                Width="50" Height="23" VerticalAlignment="Center"
                Margin="4"
                HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
                IsReadOnly="True"
                Text="{Binding IsOsEqualOrNewer, ElementName=WindowRoot}"/>
        </StackPanel>
    </Grid>
</Window>
{'fraction_non_alphanumeric': 0.11750180059676922, 'fraction_numerical': 0.014610556641629798, 'mean_word_length': 2.288227334235453, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '7462988', 'n_tokens_mistral': 2572, 'n_tokens_neox': 2322, 'n_words': 378}