<commit_before><?php
// src/AppBundle/Form/OmicsExperimentType.php
namespace AppBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\CollectionType;
use Symfony\Component\Form\Extension\Core\Type\DateType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\Validator\Constraints\Valid;
use Doctrine\ORM\EntityRepository;

class OmicsExperimentType extends AbstractType
{
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            ->add('projectName', TextType::class, array('required' => false))
            ->add('projectID', TextType::class, array('required' => false))
            ->add('requestedDate', DateType::class)
            ->add('description', TextareaType::class, array('required' => false, 'attr' => array('class' => 'summernote')))
            ->add('questions', TextareaType::class, array('required' => false, 'label' => 'Questions to be answered', 'attr' => array('class' => 'summernote')))
            ->add('requestedEndDate', DateType::class)
            ->add('files', CollectionType::class, array(
                'entry_type' => DataFileType::class,
                'allow_add' => true,
                'by_reference' => false,
                'allow_delete' => true,
                'prototype' => true,
                'prototype_name' => '__file_prot__',
                'constraints' => new Valid()))
            ->add('statuses', CollectionType::class, array(
                'entry_type' => StatusType::class,
                'allow_add' => true,<commit_msg>Fix OmicsExperiment ProjectID label.<commit_after><?php
// src/AppBundle/Form/OmicsExperimentType.php
namespace AppBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\CollectionType;
use Symfony\Component\Form\Extension\Core\Type\DateType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\Validator\Constraints\Valid;
use Doctrine\ORM\EntityRepository;

class OmicsExperimentType extends AbstractType
{
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            ->add('projectName', TextType::class, array('required' => false))
            ->add('projectID', TextType::class, array('required' => false, 'label' => 'Project ID'))
            ->add('requestedDate', DateType::class)
            ->add('description', TextareaType::class, array('required' => false, 'attr' => array('class' => 'summernote')))
            ->add('questions', TextareaType::class, array('required' => false, 'label' => 'Questions to be answered', 'attr' => array('class' => 'summernote')))
            ->add('requestedEndDate', DateType::class)
            ->add('files', CollectionType::class, array(
                'entry_type' => DataFileType::class,
                'allow_add' => true,
                'by_reference' => false,
                'allow_delete' => true,
                'prototype' => true,
                'prototype_name' => '__file_prot__',
                'constraints' => new Valid()))
            ->add('statuses', CollectionType::class, array(
                'entry_type' => StatusType::class,
                'allow_add' => true,
{'fraction_non_alphanumeric': 0.14352818371607515, 'fraction_numerical': 0.0, 'mean_word_length': 3.3507377979568673, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 56, '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': '1203532', 'n_tokens_mistral': 1074, 'n_tokens_neox': 1045, 'n_words': 191}