<commit_before><?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:id="@+id/loading"
              xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:app="http://schemas.android.com/apk/res-auto"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
            android:alpha="0"
              android:background="@drawable/game_detail_error_background"
              android:gravity="center"
              android:orientation="vertical">

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1">

        <ImageView
            android:layout_width="@dimen/game_detail_error_image_size"
            android:layout_height="@dimen/game_detail_error_image_size"
            android:layout_gravity="center_horizontal|bottom"
            app:srcCompat="@drawable/ic_mood_bad_black_24dp"/>

    </FrameLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="0dp"
        android:layout_marginTop="12dp"
        android:layout_weight="1"
        android:gravity="center_horizontal"
        android:orientation="vertical"
        android:padding="12dp">

        <com.piticlistudio.playednext.ui.widget.CustomTextView
            style="@style/AppTheme.Error.Title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:maxLines="2"
            android:text="@string/game_detail_error_title"/>

        <com.piticlistudio.playednext.ui.widget.CustomTextView
            android:id="@+id/errorMsg"
            style="@style/AppTheme.Error.Subtitle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="4dp"
            android:gravity="start"
            android:maxLines="5"
            android:text="@string/lorem"/>


        <FrameLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="24dp">

            <Button
                android:id="@+id/retry"
                style="@style/AppTheme.Button"
                android:layout_width="80dp"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:alpha="1"
                android:gravity="center"
                android:text="@string/game_detail_retry_button"
                android:textStyle="bold"/>

            <ProgressBar
                android:id="@+id/retryLoading"
                android:layout_width="72dp"
                android:layout_height="wrap_content"
                android:layout_marginStart="4dp"
                android:progress="100"/>

        </FrameLayout>


    </LinearLayout>
<commit_msg>Performs tests into two steps<commit_after><?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:id="@+id/loading"
              xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:app="http://schemas.android.com/apk/res-auto"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
            android:alpha="0"
              android:background="@drawable/game_detail_error_background"
              android:gravity="center"
              android:orientation="vertical">

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1">

        <ImageView
            android:layout_width="@dimen/game_detail_error_image_size"
            android:layout_height="@dimen/game_detail_error_image_size"
            android:layout_gravity="center_horizontal|bottom"
            app:srcCompat="@drawable/ic_mood_bad_black_24dp"/>

    </FrameLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="0dp"
        android:layout_marginTop="12dp"
        android:layout_weight="1"
        android:gravity="center_horizontal"
        android:orientation="vertical"
        android:padding="12dp">

        <com.piticlistudio.playednext.ui.widget.CustomTextView
            style="@style/AppTheme.Error.Title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:maxLines="2"
            android:text="@string/game_detail_error_title"/>

        <com.piticlistudio.playednext.ui.widget.CustomTextView
            android:id="@+id/errorMsg"
            style="@style/AppTheme.Error.Subtitle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="4dp"
            android:gravity="start"
            android:maxLines="5"
            android:text="@string/lorem"/>


        <FrameLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="24dp">

            <Button
                android:id="@+id/retry"
                style="@style/AppTheme.Button"
                android:layout_width="80dp"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:alpha="1"
                android:gravity="center"
                android:text="@string/game_detail_retry_button"
                android:textStyle="bold"/>

            <com.piticlistudio.playednext.ui.widget.CustomProgressBar
                android:id="@+id/retryLoading"
                android:layout_width="72dp"
                android:layout_height="wrap_content"
                android:layout_marginStart="4dp"
                android:progress="100"/>

        </FrameLayout>


    </LinearLayout>

{'fraction_non_alphanumeric': 0.11054680887083122, 'fraction_numerical': 0.009480277636702217, 'mean_word_length': 2.3340857787810383, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 2, '>': 29, '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': '924648', 'n_tokens_mistral': 1670, 'n_tokens_neox': 1527, 'n_words': 142}