<commit_before><?php
namespace AppBundle\Controller\Param;

use AppBundle\Form\ParamType;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

class DefaultController extends Controller
{
    /**
     * @return \Symfony\Component\HttpFoundation\RedirectResponse
     *
     * @Route("/param",
     *        name="app_param_index",
     *        methods={"GET"})
     */
    public function indexAction()
    {
        // Redirect
        return $this->redirectToRoute('app_param_rank');
    }

    /**
     * @param Request $request
     * @return Response
     *
     * @Route("/param/password",
     *        name="app_param_password",
     *        methods={"GET","POST"})
     */
    public function passwordAction(Request $request)<commit_msg>Change default subpage<commit_after><?php
namespace AppBundle\Controller\Param;

use AppBundle\Form\ParamType;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

class DefaultController extends Controller
{
    /**
     * @return \Symfony\Component\HttpFoundation\RedirectResponse
     *
     * @Route("/param",
     *        name="app_param_index",
     *        methods={"GET"})
     */
    public function indexAction()
    {
        // Redirect
        return $this->redirectToRoute('app_param_season');
    }

    /**
     * @param Request $request
     * @return Response
     *
     * @Route("/param/password",
     *        name="app_param_password",
     *        methods={"GET","POST"})
     */
    public function passwordAction(Request $request)
{'fraction_non_alphanumeric': 0.12273972602739726, 'fraction_numerical': 0.0, 'mean_word_length': 3.013186813186813, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6124085', 'n_tokens_mistral': 504, 'n_tokens_neox': 498, 'n_words': 81}