<commit_before><?php
namespace Mongobox\Bundle\JukeboxBundle\Controller;

use Mongobox\Bundle\JukeboxBundle\Entity\Videos;
use Mongobox\Bundle\JukeboxBundle\Entity\VideoTag;
use Mongobox\Bundle\JukeboxBundle\Entity\Volume;
use Mongobox\Bundle\JukeboxBundle\Entity\Vote;
use Mongobox\Bundle\GroupBundle\Entity\Group;
use Mongobox\Bundle\GroupBundle\Entity\GroupLiveTag;
use Mongobox\Bundle\JukeboxBundle\Form\ReplaceVideo;
use Mongobox\Bundle\JukeboxBundle\Form\VideoTagsType;

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\Config\Definition\Exception\Exception;
use Symfony\Component\Form\FormError;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

/**
 * Live stream controller
 *
 * @Route("/live")
 */
class LiveController extends Controller
{
	const UP_VOTE_VALUE		= 1;
	const DOWN_VOTE_VALUE	= -1;
    const VOLUME_STEP       = 5;

	/**
	 * Initialize Jukebox and return the current video
	 *
	 * @return string
	 */<commit_msg>Update LiveController.php<commit_after><?php
namespace Mongobox\Bundle\JukeboxBundle\Controller;

use Mongobox\Bundle\JukeboxBundle\Entity\Videos;
use Mongobox\Bundle\JukeboxBundle\Entity\VideoTag;
use Mongobox\Bundle\JukeboxBundle\Entity\Volume;
use Mongobox\Bundle\JukeboxBundle\Entity\Vote;
use Mongobox\Bundle\GroupBundle\Entity\Group;
use Mongobox\Bundle\GroupBundle\Entity\GroupLiveTag;
use Mongobox\Bundle\JukeboxBundle\Form\ReplaceVideo;
use Mongobox\Bundle\JukeboxBundle\Form\VideoTagsType;

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\Config\Definition\Exception\Exception;
use Symfony\Component\Form\FormError;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

/**
 * Live stream controller
 *
 * @Route("/live")
 */
class LiveController extends Controller
{
    const UP_VOTE_VALUE		= 1;
    const DOWN_VOTE_VALUE	= -1;
    const VOLUME_STEP		= 10;

	/**
	 * Initialize Jukebox and return the current video
	 *
	 * @return string
	 */
{'fraction_non_alphanumeric': 0.09709119496855347, 'fraction_numerical': 0.002751572327044025, 'mean_word_length': 5.953551912568306, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '1563919', 'n_tokens_mistral': 819, 'n_tokens_neox': 765, 'n_words': 127}