<commit_before>@extends('theme/main')
@section('title')
{{$query}} - Researchew
@endsection
@section('content')
<div class="am-container">
    <div class="search-result am-u-sm-10 am-u-sm-centered">
        <ol class="am-breadcrumb">
            <li><a href="../../">Search</a></li>
            <li class="active">Keyword: {{$query}}</li>
        </ol>
        @if(isset($reviews) && $page == 1)
        <section class="am-panel am-panel-secondary">
            <div class="am-panel-hd">Recent 5 related reviews</div>
            <ul class="am-list am-list-static">
                @foreach ($reviews as $review)
                <li>
                    @<strong>{{User::find($review['user_id'])->name}}</strong>:  {{$review['content']}}
                    <small>
                        <a target="_blank" href="../../paper/{{hash('sha1', $review['id'])}}" class="am-icon-external-link"></a>
                    </small>
                </li>
                @endforeach
            </ul>
        </section><commit_msg>Fix empty display<commit_after>@extends('theme/main')
@section('title')
{{$query}} - Researchew
@endsection
@section('content')
<div class="am-container">
    <div class="search-result am-u-sm-10 am-u-sm-centered">
        <ol class="am-breadcrumb">
            <li><a href="../../">Search</a></li>
            <li class="active">Keyword: {{$query}}</li>
        </ol>
        @if(isset($reviews) && $reviews && $page == 1)
        <section class="am-panel am-panel-secondary">
            <div class="am-panel-hd">Recent 5 related reviews</div>
            <ul class="am-list am-list-static">
                @foreach ($reviews as $review)
                <li>
                    @<strong>{{User::find($review['user_id'])->name}}</strong>:  {{$review['content']}}
                    <small>
                        <a target="_blank" href="../../paper/{{hash('sha1', $review['id'])}}" class="am-icon-external-link"></a>
                    </small>
                </li>
                @endforeach
            </ul>
        </section>
{'fraction_non_alphanumeric': 0.2092233009708738, 'fraction_numerical': 0.0048543689320388345, 'mean_word_length': 1.8906030855539973, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 53, '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': '345703', 'n_tokens_mistral': 636, 'n_tokens_neox': 607, 'n_words': 106}