<commit_before><UserControl xmlns="https://github.com/avaloniaui"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             x:Class="ControlCatalog.Pages.ListBoxPage">
  <StackPanel Orientation="Vertical" Spacing="4">
    <TextBlock Classes="h1">ListBox</TextBlock>
    <TextBlock Classes="h2">Hosts a collection of ListBoxItem.</TextBlock>

    <StackPanel Orientation="Horizontal"
              Margin="0,16,0,0"
              HorizontalAlignment="Center"
              Spacing="16">
      <ListBox Items="{Binding}" Width="250" Height="350"></ListBox>
    </StackPanel>
  </StackPanel>
</UserControl>
<commit_msg>Add `Add`, `Remove` buttons and `SelectionMode` combobox to ListBoxPage.xaml<commit_after><UserControl xmlns="https://github.com/avaloniaui"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             x:Class="ControlCatalog.Pages.ListBoxPage">
  <StackPanel Orientation="Vertical" Spacing="4">
    <TextBlock Classes="h1">ListBox</TextBlock>
    <TextBlock Classes="h2">Hosts a collection of ListBoxItem.</TextBlock>

    <StackPanel Orientation="Horizontal"
              Margin="0,16,0,0"
              HorizontalAlignment="Center"
              Spacing="16">
      <StackPanel Orientation="Vertical" Spacing="8">
        <ListBox x:Name="listBox" Items="{Binding Items}" Width="250" Height="350" SelectionMode="{Binding SelectionMode}"></ListBox>

        <Button Command="{Binding AddItemCommand}">Add</Button>

        <Button Command="{Binding RemoveItemCommand}">Remove</Button>

        <ComboBox SelectedIndex="{Binding SelectionMode, Mode=TwoWay}">
          <ComboBoxItem>Single</ComboBoxItem>
          <ComboBoxItem>Multiple</ComboBoxItem>
          <ComboBoxItem>Toggle</ComboBoxItem>
          <ComboBoxItem>AlwaysSelected</ComboBoxItem>
        </ComboBox>
      </StackPanel>
    </StackPanel>
  </StackPanel>
</UserControl>

{'fraction_non_alphanumeric': 0.14503415659485025, 'fraction_numerical': 0.021544929059379925, 'mean_word_length': 3.5990338164251208, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '2131388', 'n_tokens_mistral': 601, 'n_tokens_neox': 547, 'n_words': 85}