<commit_before><Controls:MetroWindow
    x:Class="Certify.UI.Windows.AddToDashboard"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="clr-namespace:Certify.UI.Windows"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:res="clr-namespace:Certify.Locales;assembly=Certify.Locales"
    Title="{x:Static res:SR.GettingStarted_AddToDashboard}"
    Width="480"
    Height="360"
    BorderThickness="1"
    GlowBrush="{DynamicResource AccentColorBrush}"
    ResizeMode="NoResize"
    WindowStartupLocation="CenterOwner"
    WindowTransitionsEnabled="False"
    mc:Ignorable="d">
    <StackPanel Margin="8" Orientation="Vertical">
        <Grid Margin="0,0,0,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="200*" />
                <ColumnDefinition Width="243*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition />
                <RowDefinition />
                <RowDefinition />
            </Grid.RowDefinitions>
            <TextBlock
                Grid.Row="0"
                Grid.ColumnSpan="2"
                Margin="8,8,0,0"
                TextWrapping="Wrap"><Run Text="{x:Static res:SR.Dashboard_AddIntro}" /></TextBlock>

            <Label
                Grid.Row="1"
                Grid.Column="0"
                HorizontalAlignment="Left"
                Content="{x:Static res:SR.RegistrationEmailAddress}" />
            <TextBox
                x:Name="EmailAddress"
                Grid.Row="1"
                Grid.Column="1"
                VerticalAlignment="Bottom"
                Text=""
                TextWrapping="Wrap" />
            <Label
                Grid.Row="2"
                Grid.Column="0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content="{x:Static res:SR.Password}" />
            <PasswordBox
                x:Name="Password"
                Grid.Row="2"
                Grid.Column="1" />
            <CheckBox
                x:Name="CreateNewAccount"
                Grid.Row="3"
                Grid.Column="1"
                Content="{x:Static res:SR.Dashboard_NewAccount}" />
        </Grid>
        <StackPanel>
            <StackPanel Orientation="Horizontal">
                <Button
                    x:Name="ValidateKey"
                    Grid.Column="1"
                    VerticalAlignment="Bottom"
                    Click="ValidateKey_Click"
                    Content="{x:Static res:SR.OK}" />
                <Button
                    x:Name="Cancel"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Bottom"
                    Click="Cancel_Click"
                    Content="{x:Static res:SR.Cancel}" />
            </StackPanel>
        </StackPanel>
    </StackPanel>
</Controls:MetroWindow><commit_msg>Tidy up Add to Dashboard UI<commit_after><Controls:MetroWindow
    x:Class="Certify.UI.Windows.AddToDashboard"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="clr-namespace:Certify.UI.Windows"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:res="clr-namespace:Certify.Locales;assembly=Certify.Locales"
    Title="{x:Static res:SR.GettingStarted_AddToDashboard}"
    Width="430.4"
    Height="288"
    BorderThickness="1"
    GlowBrush="{DynamicResource AccentColorBrush}"
    ResizeMode="NoResize"
    WindowStartupLocation="CenterOwner"
    WindowTransitionsEnabled="False"
    mc:Ignorable="d">
    <StackPanel Margin="16" Orientation="Vertical">

        <TextBlock Style="{StaticResource Instructions}"><Run Text="{x:Static res:SR.Dashboard_AddIntro}" /></TextBlock>
        <StackPanel>
            <Label
                Grid.Row="1"
                Grid.Column="0"
                HorizontalAlignment="Left"
                Content="{x:Static res:SR.RegistrationEmailAddress}" />
            <TextBox
                x:Name="EmailAddress"
                Grid.Row="1"
                Grid.Column="1"
                VerticalAlignment="Bottom"
                Text=""
                TextWrapping="Wrap" />
        </StackPanel>
        <StackPanel>
            <Label
                Grid.Row="2"
                Grid.Column="0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content="{x:Static res:SR.Password}" />
            <PasswordBox
                x:Name="Password"
                Grid.Row="2"
                Grid.Column="1" />
        </StackPanel>
        <CheckBox
            x:Name="CreateNewAccount"
            Margin="0,8,0,8"
            Content="{x:Static res:SR.Dashboard_NewAccount}" />

        <StackPanel>
            <StackPanel Orientation="Horizontal">
                <Button
                    x:Name="ValidateKey"
                    MinWidth="60"
                    Margin="0,0,8,0"
                    Click="ValidateKey_Click"
                    Content="{x:Static res:SR.OK}" />
                <Button
                    x:Name="Cancel"
                    HorizontalAlignment="Right"
                    Click="Cancel_Click"
                    Content="{x:Static res:SR.Cancel}" />
            </StackPanel>
        </StackPanel>
    </StackPanel>
</Controls:MetroWindow>
{'fraction_non_alphanumeric': 0.12598560164552622, 'fraction_numerical': 0.016283853273911554, 'mean_word_length': 1.764092846991947, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 16}, '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': '358288', 'n_tokens_mistral': 1743, 'n_tokens_neox': 1572, 'n_words': 183}