<commit_before><LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/view_card_header_large_background"
    android:layout_width="match_parent"
    android:layout_height="96dp"
    android:background="@color/gray_background">

    <LinearLayout
        android:id="@+id/view_card_header_large_text_container"
        android:layout_width="0dp"
        android:layout_height="match_parent"
        android:layout_weight="1"
        android:padding="16dp"
        android:orientation="vertical"
        android:background="?attr/selectableItemBackground">

        <TextView
            android:id="@+id/view_card_header_large_page_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textAppearance="@style/TextAppearance.AppCompat.Medium"
            android:textSize="16sp"
            android:maxLines="2"
            android:ellipsize="end"
            android:textColor="@android:color/white"
            tools:text="Lorem ipsum"/>

        <org.wikipedia.views.GoneIfEmptyTextView
            android:id="@+id/view_card_header_large_subtitle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical"
            android:textColor="@android:color/white"
            tools:text="Lorem ipsum"/>

    </LinearLayout>

    <org.wikipedia.views.FaceAndColorDetectImageView
        style="@style/SimpleDraweeViewPlaceholder"
        android:id="@+id/view_card_header_large_image"
        android:layout_width="96dp"
        android:layout_height="match_parent"
        app:actualImageScaleType="focusCrop"/>

</LinearLayout><commit_msg>Truncate subtitles in Feed card headers<commit_after><LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/view_card_header_large_background"
    android:layout_width="match_parent"
    android:layout_height="96dp"
    android:background="@color/gray_background">

    <LinearLayout
        android:id="@+id/view_card_header_large_text_container"
        android:layout_width="0dp"
        android:layout_height="match_parent"
        android:layout_weight="1"
        android:padding="16dp"
        android:orientation="vertical"
        android:background="?attr/selectableItemBackground">

        <TextView
            android:id="@+id/view_card_header_large_page_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textAppearance="@style/TextAppearance.AppCompat.Medium"
            android:textSize="16sp"
            android:maxLines="2"
            android:ellipsize="end"
            android:textColor="@android:color/white"
            tools:text="Lorem ipsum"/>

        <org.wikipedia.views.GoneIfEmptyTextView
            android:id="@+id/view_card_header_large_subtitle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical"
            android:singleLine="true"
            android:ellipsize="end"
            android:textColor="@android:color/white"
            tools:text="Lorem ipsum" />

    </LinearLayout>

    <org.wikipedia.views.FaceAndColorDetectImageView
        style="@style/SimpleDraweeViewPlaceholder"
        android:id="@+id/view_card_header_large_image"
        android:layout_width="96dp"
        android:layout_height="match_parent"
        app:actualImageScaleType="focusCrop"/>

</LinearLayout>
{'fraction_non_alphanumeric': 0.1158199526191103, 'fraction_numerical': 0.005790997630955514, 'mean_word_length': 3.323094425483504, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '3625663', 'n_tokens_mistral': 1130, 'n_tokens_neox': 1058, 'n_words': 92}