<commit_before><?php

/*
 * This file is part of the Sylius package.
 *
 * (c) <NAME>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Sylius\Bundle\FixturesBundle\DataFixtures\ORM;

use Doctrine\Common\Persistence\ObjectManager;

/**
 * Default product options to play with Sylius.
 *
 * @author <NAME> <<EMAIL>>
 */
class LoadProductOptionData extends DataFixture
{
    /**
     * {@inheritdoc}
     */
    public function load(ObjectManager $manager)
    {
        //$option = $this->createOption('shape', 'Center diamond shape', array('Round', 'Princess'));
        //$manager->persist($option);

        $option = $this->createOption('metal', 'Ring Metal', array('14k white gold', '14k yellow gold', 'Platinum'));
        $manager->persist($option);

        $option = $this->createOption('size', 'Ring Size', array('5','5.5','6','6.5','7','7.5','8','8.5','9','9.5','10','10.5','11','11.5','12','12.5','13'));
        $manager->persist($option);
        
        $option = $this->createOption("carat", "Diamond's Carat", array('0.3', '0.4', '0.5', '0.6', '0.7'));
        $manager->persist($option);
        
        $option = $this->createOption("color", "Diamond's Color", array('D', 'E', 'F', 'G', 'H', 'I', 'J'));
        $manager->persist($option);
        
        $option = $this->createOption("cut", "Diamond's Cut", array('IDEAL', 'EXCELENT', 'VERY GOOD', 'GOOD', 'FAIR'));
        $manager->persist($option);
        
        $option = $this->createOption("clarity", "Diamond's Clarity", array('IF', 'VVS1', 'VVS2', 'VS1', 'VS2', 'SI1', 'SI2'));
        $manager->persist($option);

        $manager->flush();
    }<commit_msg>less variants<commit_after><?php

/*
 * This file is part of the Sylius package.
 *
 * (c) <NAME>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Sylius\Bundle\FixturesBundle\DataFixtures\ORM;

use Doctrine\Common\Persistence\ObjectManager;

/**
 * Default product options to play with Sylius.
 *
 * @author <NAME> <<EMAIL>>
 */
class LoadProductOptionData extends DataFixture
{
    /**
     * {@inheritdoc}
     */
    public function load(ObjectManager $manager)
    {
        //$option = $this->createOption('shape', 'Center diamond shape', array('Round', 'Princess'));
        //$manager->persist($option);

        $option = $this->createOption('metal', 'Ring Metal', array('14k white gold', '14k yellow gold', 'Platinum'));
        $manager->persist($option);

        $option = $this->createOption('size', 'Ring Size', array('5','6','7','8','9','10'));
        $manager->persist($option);
        
        $option = $this->createOption("carat", "Diamond's Carat", array('0.4', '0.5', '0.6'));
        $manager->persist($option);
        
        $option = $this->createOption("color", "Diamond's Color", array('D', 'E', 'F', 'G'));
        $manager->persist($option);
        
        $option = $this->createOption("cut", "Diamond's Cut", array('IDEAL', 'EXCELENT', 'VERY GOOD', 'GOOD', 'FAIR'));
        $manager->persist($option);
        
        $option = $this->createOption("clarity", "Diamond's Clarity", array('IF', 'VVS1', 'VS2', 'SI1'));
        $manager->persist($option);

        $manager->flush();
    }
{'fraction_non_alphanumeric': 0.2069068175052099, 'fraction_numerical': 0.02143495087823757, 'mean_word_length': 3.3076923076923075, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 41, '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': '1893067', 'n_tokens_mistral': 1109, 'n_tokens_neox': 1066, 'n_words': 243}