<commit_before>﻿<UserControl x:Class="CodeConnect.GeneratorPreview.View.PreviewWindowControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             Background="{DynamicResource VsBrush.Window}"
             Foreground="{DynamicResource VsBrush.WindowText}"
             mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300"
             Name="MyToolWindow">
    <Grid>
        <DockPanel Margin="5">
            <TextBlock DockPanel.Dock="Top" Margin="0 0 0 5">Generator: <Run Text="{Binding Path=GeneratorName}" /></TextBlock>
            <TextBlock DockPanel.Dock="Top" Margin="0 0 0 5">Target: <Run Text="{Binding Path=TargetName}" /></TextBlock>
            <ScrollViewer>
                <TextBlock Margin="3" FontFamily="Consolas" Text="{Binding Path=GeneratedCode}"></TextBlock>
            </ScrollViewer>
        </DockPanel>
    </Grid>
</UserControl><commit_msg>shows errors<commit_after>﻿<UserControl x:Class="CodeConnect.GeneratorPreview.View.PreviewWindowControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             Background="{DynamicResource VsBrush.Window}"
             Foreground="{DynamicResource VsBrush.WindowText}"
             mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300"
             Name="MyToolWindow">
    <Grid>
        <DockPanel Margin="5">
            
            <TextBlock DockPanel.Dock="Top" Margin="0 0 0 5">Generator: <Run Text="{Binding Path=GeneratorName}" /></TextBlock>
            <TextBlock DockPanel.Dock="Top" Margin="0 0 0 5">Target: <Run Text="{Binding Path=TargetName}" /></TextBlock>

            <ScrollViewer Height="100" DockPanel.Dock="Bottom">
                <TextBlock Margin="3" Text="{Binding Path=Errors}"></TextBlock>
            </ScrollViewer>

            <ScrollViewer>
                <TextBlock Margin="3" FontFamily="Consolas" Text="{Binding Path=GeneratedCode}"></TextBlock>
            </ScrollViewer>
            
        </DockPanel>
    </Grid>
</UserControl>
{'fraction_non_alphanumeric': 0.14599122457120065, 'fraction_numerical': 0.027124052652572797, 'mean_word_length': 2.726597325408618, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, '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': '5106541', 'n_tokens_mistral': 806, 'n_tokens_neox': 715, 'n_words': 102}