<commit_before><?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Illuminate\Http\RedirectResponse;
use App\WechatArticle;
use App\WechatSeries;
use App\Attachment;
use App\Http\Requests;
use App\Http\Controllers\Controller;

class WechatController extends Controller
{
    private $articles;
    private $series;
    protected $fillable = array('id', 'type', 'name');

    /**
     * 微信公众号-探
     * @param type 文章类型
     * @param series 探庐系列
     */
    public function index($type=2, $series=0) {
        $this->articles = WechatArticle::where('type', $type)->where('series', $series)->get();
        $this->series = WechatSeries::all();
        return view('site.wechat', ['wechatArticles' => $this->articles, 'wechatSeries' => $this->series]);
    }
<commit_msg>tail of the last commit<commit_after><?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Illuminate\Http\RedirectResponse;
use App\WechatArticle;
use App\WechatSeries;
use App\Attachment;
use App\Http\Requests;
use App\Http\Controllers\Controller;

class WechatController extends Controller
{
    private $articles;
    private $series;
    protected $fillable = array('id', 'type', 'name');

    /**
     * 微信公众号-探
     * @param type 文章类型
     * @param series 探庐系列
     */
    public function index($type=2, $series=0) {
        $this->articles = WechatArticle::where('type', $type)
                                       ->where('series', $series)
                                       ->where('deleted', 0)
                                       ->orderBy('id', 'desc')->get();
        $this->series = WechatSeries::all();
        return view('site.wechat', ['wechatArticles' => $this->articles, 'wechatSeries' => $this->series]);
    }

{'fraction_non_alphanumeric': 0.14971428571428572, 'fraction_numerical': 0.002857142857142857, 'mean_word_length': 2.8653421633554084, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6027079', 'n_tokens_mistral': 549, 'n_tokens_neox': 559, 'n_words': 115}