<commit_before><?php
/**
 * @author <NAME> <<EMAIL>>
 */

namespace Aap\Bundle\AapSiteBundle\Controller;

use \Symfony\Bundle\FrameworkBundle\Controller\Controller;
use \Symfony\Component\HttpFoundation\Response;
use \Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;

class PageController extends Controller
{
    /**
     * @Route("/hello/{name}", name="hello")
     *
     * @param string $name
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function indexAction($name)
    {
        return new Response('index ' . $name);
    }
}<commit_msg>template annotation added route path changed and default added<commit_after><?php
/**
 * @author <NAME> <<EMAIL>>
 */

namespace Aap\Bundle\AapSiteBundle\Controller;

use \Symfony\Bundle\FrameworkBundle\Controller\Controller;
use \Symfony\Component\HttpFoundation\Response;
use \Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use \Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;

class PageController extends Controller
{
    /**
     * @Route("/{name}", defaults={"name" = "foo"})
     * @Template
     *
     * @param string $name
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function indexAction($name)
    {
        return array(
            'name' => $name
        );
    }
}
{'fraction_non_alphanumeric': 0.13480578827113482, 'fraction_numerical': 0.0, 'mean_word_length': 3.454237288135593, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 10, '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': '5829111', 'n_tokens_mistral': 379, 'n_tokens_neox': 377, 'n_words': 72}