<commit_before>﻿<UserControl x:Class="TCC.Controls.Chat.ChatMessageHeader"
             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"
             xmlns:chat="clr-namespace:TCC.Data.Chat"
             mc:Ignorable="d" d:DataContext="{d:DesignInstance chat:ChatMessage}">
    <Grid Width="Auto" MinWidth="0" Margin="0,0,0,0"
          VerticalAlignment="Stretch" Height="Auto"
          UseLayoutRounding="True">
        <Grid.Resources>
            <Style x:Key="MentionLitBorder" TargetType="Border">
                <Setter Property="Background" Value="Black" />
                <Style.Triggers>
                    <DataTrigger Binding="{Binding ContainsPlayerName}">
                        <Setter Property="Background" Value="{StaticResource GoldBrush}" />
                    </DataTrigger>
                </Style.Triggers>
            </Style>
        </Grid.Resources>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>

        <!--Background -->
        <Border Style="{StaticResource MentionLitBorder}"
                Opacity=".35"
                CornerRadius="1"
                Grid.ColumnSpan="4"
                VerticalAlignment="Stretch" />
        <!--Background tip-->
        <Border Style="{StaticResource MentionLitBorder}"
                Width="3"
                Grid.Column="3"
                CornerRadius="0 1 1 0"
                Opacity=".8" />
        <!--Author-->
        <ContentControl ContentTemplateSelector="{StaticResource AuthorTemplateSelector}"<commit_msg>fix trigger<commit_after>﻿<UserControl x:Class="TCC.Controls.Chat.ChatMessageHeader"
             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"
             xmlns:chat="clr-namespace:TCC.Data.Chat"
             mc:Ignorable="d" d:DataContext="{d:DesignInstance chat:ChatMessage}">
    <Grid Width="Auto" MinWidth="0" Margin="0,0,0,0"
          VerticalAlignment="Stretch" Height="Auto"
          UseLayoutRounding="True">
        <Grid.Resources>
            <Style x:Key="MentionLitBorder" TargetType="Border">
                <Setter Property="Background" Value="Black" />
                <Style.Triggers>
                    <DataTrigger Binding="{Binding ContainsPlayerName}" Value="True">
                        <Setter Property="Background" Value="{StaticResource GoldBrush}" />
                    </DataTrigger>
                </Style.Triggers>
            </Style>
        </Grid.Resources>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>

        <!--Background -->
        <Border Style="{StaticResource MentionLitBorder}"
                Opacity=".35"
                CornerRadius="1"
                Grid.ColumnSpan="4"
                VerticalAlignment="Stretch" />
        <!--Background tip-->
        <Border Style="{StaticResource MentionLitBorder}"
                Width="3"
                Grid.Column="3"
                CornerRadius="0 1 1 0"
                Opacity=".8" />
        <!--Author-->
        <ContentControl ContentTemplateSelector="{StaticResource AuthorTemplateSelector}"
{'fraction_non_alphanumeric': 0.13488610186844127, 'fraction_numerical': 0.016380854875863833, 'mean_word_length': 2.031807602792863, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, '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': '6531277', 'n_tokens_mistral': 1121, 'n_tokens_neox': 992, 'n_words': 141}