<commit_before><?php

namespace AppBundle\Form;

use AppBundle\Entity\Tournament;
use Doctrine\ORM\EntityRepository;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;

class TournamentType extends AbstractType
{
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            ->add('form', ChoiceType::class, array(
                'choices' => array(
                    Tournament::FORM_SINGLE => 'Single',
                    Tournament::FORM_DOUBLE => 'Double'
                ),
                'label' => 'Type'
            ))
            ->add('regularGameCount', ChoiceType::class, array(
                'choices' => array(
                    1 => 1,
                    2 => 2
                ),
                'label' => 'Regular game count'
            ))
            ->add('playoffTeamCount', ChoiceType::class, array(
                'choices' => array(
                    2 => 2,
                    4 => 4,
                    8 => 8,
                    16 => 16,
                ),
                'label' => 'Playoff team count'
            ))
            ->add('playoffGameCount', ChoiceType::class, array(
                'choices' => array(<commit_msg>remove playoff 1/8 final option<commit_after><?php

namespace AppBundle\Form;

use AppBundle\Entity\Tournament;
use Doctrine\ORM\EntityRepository;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;

class TournamentType extends AbstractType
{
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            ->add('form', ChoiceType::class, array(
                'choices' => array(
                    Tournament::FORM_SINGLE => 'Single',
                    Tournament::FORM_DOUBLE => 'Double'
                ),
                'label' => 'Type'
            ))
            ->add('regularGameCount', ChoiceType::class, array(
                'choices' => array(
                    1 => 1,
                    2 => 2
                ),
                'label' => 'Regular game count'
            ))
            ->add('playoffTeamCount', ChoiceType::class, array(
                'choices' => array(
                    2 => 2,
                    4 => 4,
                    8 => 8
                ),
                'label' => 'Playoff team count'
            ))
            ->add('playoffGameCount', ChoiceType::class, array(
                'choices' => array(
{'fraction_non_alphanumeric': 0.1156414762741652, 'fraction_numerical': 0.009138840070298769, 'mean_word_length': 1.6376274328081557, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 40, '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': '351210', 'n_tokens_mistral': 766, 'n_tokens_neox': 712, 'n_words': 149}