<commit_before><?php

namespace exs\TcnCommonBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;

/**
 * Class SitemapController
 * @package exs\TcnCommonBundle\Controller
 */
class SitemapController extends Controller
{
    /**
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function sitemapAction()
    {
        $data = $this->get('tcn.data.service')->getAllData();

        if (!empty($data)) {
            $response = $this->render('@ExsituTcnCommon/Sitemap/sitemap.html.twig', array(
                'data' => $data,
            ));

        } else {<commit_msg>TCN-74 Adds robot to sitemap<commit_after><?php

namespace exs\TcnCommonBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;

/**
 * Class SitemapController
 * @package exs\TcnCommonBundle\Controller
 */
class SitemapController extends Controller
{
    /**
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function sitemapAction()
    {
        $data = $this->get('tcn.data.service')->getAllData();

        if (!empty($data)) {
            $response = $this->render('@ExsituTcnCommon/Sitemap/sitemap.html.twig', array(
                'data' => $data,
                'robotValue' => 'noindex, follow'
            ));

        } else {
{'fraction_non_alphanumeric': 0.13861386138613863, 'fraction_numerical': 0.0015232292460015233, 'mean_word_length': 2.7542857142857144, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, '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': '6590454', 'n_tokens_mistral': 403, 'n_tokens_neox': 396, 'n_words': 63}