<commit_before><?php
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;


$app->get('/', 'GoRemote\Controller\HomepageController::indexAction')
    ->bind('homepage');

$app->get('/add', 'GoRemote\Controller\JobController::addAction')
    ->bind('add');

$app->get('/search/{query}', 'GoRemote\Controller\JobController::searchAction')
    ->bind('search');

$app->get('/job/{id}/', 'GoRemote\Controller\JobController::idAction')
    ->bind('job-by-id');

$app->get('/job/{id}/{title}', 'GoRemote\Controller\JobController::idAction')
    ->bind('job-by-id-title');<commit_msg>allow all chars in a search and job title<commit_after><?php
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;


$app->get('/', 'GoRemote\Controller\HomepageController::indexAction')
    ->bind('homepage');

$app->get('/add', 'GoRemote\Controller\JobController::addAction')
    ->bind('add');

$app->get('/search/{query}', 'GoRemote\Controller\JobController::searchAction')
    ->bind('search')
    ->assert('query', '.+');

$app->get('/job/{id}/', 'GoRemote\Controller\JobController::idAction')
    ->bind('job-by-id');

$app->get('/job/{id}/{title}', 'GoRemote\Controller\JobController::idAction')
    ->bind('job-by-id-title')
    ->assert('title', '.+');
{'fraction_non_alphanumeric': 0.19855595667870035, 'fraction_numerical': 0.0, 'mean_word_length': 6.262008733624454, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 25, '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': '6772507', 'n_tokens_mistral': 504, 'n_tokens_neox': 506, 'n_words': 61}