<commit_before><?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

class HomeController extends Controller
{
    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {
        $this->middleware('auth');
    }

    /**
     * Show the application dashboard.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
      echo "<pre> Data : ".print_r(Auth::user()->id, TRUE)."</pre>";
      $id = Auth::user()->id;
      echo "<pre> Data : ".print_r($id, TRUE)."</pre>";
$currentuser = User::find($id);
echo "<pre> Data : ".print_r($currentuser, TRUE)."</pre>";
$usergroup = $currentuser->user_group;
echo "<pre> Data : ".print_r($usergroup, TRUE)."</pre>";
   die();
    //    return view('home');
    }
}<commit_msg>first commit<commit_after><?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

class HomeController extends Controller
{
    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {
        $this->middleware('auth');
    }

    /**
     * Show the application dashboard.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
      echo "<pre> Data : ".print_r(Auth::user()->id, TRUE)."</pre>";
      $id = Auth::user()->id;
      echo "<pre> Data : ".print_r($id, TRUE)."</pre>";
$currentuser = User::find($id);
echo "<pre> Data : ".print_r($currentuser, TRUE)."</pre>";
$usergroup = $currentuser->user_group;
echo "<pre> Data : ".print_r($usergroup, TRUE)."</pre>";
   //die();
      return view('home');
    }
}
{'fraction_non_alphanumeric': 0.19024683925346178, 'fraction_numerical': 0.0, 'mean_word_length': 2.7098214285714284, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 27, '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': '3210194', 'n_tokens_mistral': 529, 'n_tokens_neox': 527, 'n_words': 117}