<commit_before><?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

use Illuminate\Http\Request;

Route::get('/', function () {
    return view('welcome');
});

Route::get('/item', function (Request $request) {
    $query = [];
    $oldData = [];

    $page = $request->query('page');
    if (isset($page)) {
        $query[] = 'startPosition=' . urlencode($page);
        $oldData['page'] = $page;
    }
    $count = $request->query('count') ?? '50';
    if (isset($count)) {
        $query[] = 'count=' . urlencode($count);
        $oldData['count'] = $count;
    }
    $overallCategory = $request->query('overallCategory');
    if (isset($overallCategory)) {
        $query[] = 'overallCategoryFilter=' . urlencode($overallCategory);
        $oldData['overallCategory'] = $overallCategory;
    }
    $category = $request->query('category');
    if (isset($category)) {
        $query[] = 'categoryFilter=' . urlencode($category);
        $oldData['category'] = $category;
    }
    $subCategory = $request->query('subCategory');
    if (isset($subCategory)) {
        $query[] = 'subCategoryFilter=' . urlencode($subCategory);
        $oldData['subCategory'] = $subCategory;
    }
    $job = $request->query('job');
    if (isset($job)) {<commit_msg>Changing variable name from page to position<commit_after><?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

use Illuminate\Http\Request;

Route::get('/', function () {
    return view('welcome');
});

Route::get('/item', function (Request $request) {
    $query = [];
    $oldData = [];

    $position = $request->query('position');
    if (isset($position)) {
        $query[] = 'startPosition=' . urlencode($position);
        $oldData['position'] = $position;
    }
    $count = $request->query('count') ?? '50';
    if (isset($count)) {
        $query[] = 'count=' . urlencode($count);
        $oldData['count'] = $count;
    }
    $overallCategory = $request->query('overallCategory');
    if (isset($overallCategory)) {
        $query[] = 'overallCategoryFilter=' . urlencode($overallCategory);
        $oldData['overallCategory'] = $overallCategory;
    }
    $category = $request->query('category');
    if (isset($category)) {
        $query[] = 'categoryFilter=' . urlencode($category);
        $oldData['category'] = $category;
    }
    $subCategory = $request->query('subCategory');
    if (isset($subCategory)) {
        $query[] = 'subCategoryFilter=' . urlencode($subCategory);
        $oldData['subCategory'] = $subCategory;
    }
    $job = $request->query('job');
    if (isset($job)) {
{'fraction_non_alphanumeric': 0.25764596848934196, 'fraction_numerical': 0.001235712079085573, 'mean_word_length': 2.3624091381100727, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '1014631', 'n_tokens_mistral': 884, 'n_tokens_neox': 881, 'n_words': 198}