<commit_before>@extends('layout')
@section('title', '@' . $screen_name)

@section('content')
<section class="tweet odd">
    <div class="split-left">
        <a href="{{ $profile->profile_image_url_https_full }}" target="_blank"><img src="{{ $profile->profile_image_url_https }}" class="profpic"></a>
    </div>
    <div class="split-right">
        <strong>{{ $profile->name }}</strong>
        @if ($profile->protected == 1)
        <img class="action" src="{{ url('assets/img/protected.png') }}" alt="Protected" />
        @endif
        @if ($profile->verified == 1)
        <img class="action" src="{{ url('assets/img/verified.png') }}" alt="Verified" />
        @endif
        <small>({{ '@' . $profile->screen_name }})</small><br />
        <small>{!! $profile->description !!}</small><br />
        <small><img class="action" src="{{ url('assets/img/location.png') }}" alt="Location" />&nbsp;&nbsp;{{ $profile->location }}</small><br />
        <small><img class="action" src="{{ url('assets/img/url.png') }}" alt="Url" />&nbsp;{!! $profile->url !!}</small><br />
    </div>
    <br />
    <small>{{ $profile->statuses_count }} tweets | {{ $profile->friends_count }} following | {{ $profile->followers_count }} followers | {{ $profile->favourites_count }} likes</small>
</section>
<section>
    @include('api.@tweet')
</section>
<nav class="sub-menu">
    @yield('title')
</nav>
@if (!is_array($timeline))
<section>
    <div class="alert error">
        {!! $timeline !!}
    </div>
</section>
@else
@foreach ($timeline->tweets as $tweet)
<section class="tweet {{ $tweet->citcuit_class }}">
    <?php
    $tweet_original = null;
    if (isset($tweet->retweeted_status)) {
        $tweet_original = $tweet;
        $tweet = $tweet->retweeted_status; // Blade don't support variable declaration yet 
    }
    ?>
    <div class="split-left">
        <img src="{{ $tweet->user->profile_image_url_https }}" class="profpic">
    </div>
    <div class="split-right">
        <a href="{{ url('profile/' . $tweet->user->screen_name) }}"><strong>{{ $tweet->user->name }}</strong></a>
        @if ($tweet->user->protected == 1)
        <img class="action" src="{{ url('assets/img/protected.png') }}" alt="Protected" />
        @endif
        @if ($tweet->user->verified == 1)
        <img class="action" src="{{ url('assets/img/verified.png') }}" alt="Verified" />
        @endif
        <span class="user_id"><small>({{ '@' . $tweet->user->screen_name }})</small></span><br />
        <span class="action">
            <a href="{{ url('reply/' . $tweet->id_str) }}"><img class="action" src="{{ url('assets/img/reply.png') }}" alt="Reply" /></a>
            &nbsp;&nbsp;&nbsp;&bullet;&nbsp;&nbsp;&nbsp;
            @if ($tweet->retweeted == 1)<commit_msg>Fix variable type check<commit_after>@extends('layout')
@section('title', '@' . $screen_name)

@section('content')
<section class="tweet odd">
    <div class="split-left">
        <a href="{{ $profile->profile_image_url_https_full }}" target="_blank"><img src="{{ $profile->profile_image_url_https }}" class="profpic"></a>
    </div>
    <div class="split-right">
        <strong>{{ $profile->name }}</strong>
        @if ($profile->protected == 1)
        <img class="action" src="{{ url('assets/img/protected.png') }}" alt="Protected" />
        @endif
        @if ($profile->verified == 1)
        <img class="action" src="{{ url('assets/img/verified.png') }}" alt="Verified" />
        @endif
        <small>({{ '@' . $profile->screen_name }})</small><br />
        <small>{!! $profile->description !!}</small><br />
        <small><img class="action" src="{{ url('assets/img/location.png') }}" alt="Location" />&nbsp;&nbsp;{{ $profile->location }}</small><br />
        <small><img class="action" src="{{ url('assets/img/url.png') }}" alt="Url" />&nbsp;{!! $profile->url !!}</small><br />
    </div>
    <br />
    <small>{{ $profile->statuses_count }} tweets | {{ $profile->friends_count }} following | {{ $profile->followers_count }} followers | {{ $profile->favourites_count }} likes</small>
</section>
<section>
    @include('api.@tweet')
</section>
<nav class="sub-menu">
    @yield('title')
</nav>
@if (!is_object($timeline))
<section>
    <div class="alert error">
        {!! $timeline !!}
    </div>
</section>
@else
@foreach ($timeline->tweets as $tweet)
<section class="tweet {{ $tweet->citcuit_class }}">
    <?php
    $tweet_original = null;
    if (isset($tweet->retweeted_status)) {
        $tweet_original = $tweet;
        $tweet = $tweet->retweeted_status; // Blade don't support variable declaration yet 
    }
    ?>
    <div class="split-left">
        <img src="{{ $tweet->user->profile_image_url_https }}" class="profpic">
    </div>
    <div class="split-right">
        <a href="{{ url('profile/' . $tweet->user->screen_name) }}"><strong>{{ $tweet->user->name }}</strong></a>
        @if ($tweet->user->protected == 1)
        <img class="action" src="{{ url('assets/img/protected.png') }}" alt="Protected" />
        @endif
        @if ($tweet->user->verified == 1)
        <img class="action" src="{{ url('assets/img/verified.png') }}" alt="Verified" />
        @endif
        <span class="user_id"><small>({{ '@' . $tweet->user->screen_name }})</small></span><br />
        <span class="action">
            <a href="{{ url('reply/' . $tweet->id_str) }}"><img class="action" src="{{ url('assets/img/reply.png') }}" alt="Reply" /></a>
            &nbsp;&nbsp;&nbsp;&bullet;&nbsp;&nbsp;&nbsp;
            @if ($tweet->retweeted == 1)
{'fraction_non_alphanumeric': 0.23962298350552835, 'fraction_numerical': 0.0018125793003443901, 'mean_word_length': 3.365506329113924, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 183, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '5548008', 'n_tokens_mistral': 1838, 'n_tokens_neox': 1804, 'n_words': 336}