<commit_before><?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Variant
 *
 * @ORM\Table(name="variants")
 * @ORM\Entity
 */
class Variant
{
    const VARIANT_CORRECT = 'yes';
    const VARIANT_WRONG = 'no';

    /**
     * @var string
     *
     * @ORM\Column(name="answer", type="string", length=255, nullable=false)
     */
    private $answer;

    /**
     * @var string
     *
     * @ORM\Column(name="is_correct", type="string", nullable=false)
     */
    private $isCorrect;

    /**
     * @var integer
     *
     * @ORM\Column(name="precision", type="integer", nullable=true)
     */
    private $precision;

    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="bigint")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var \AppBundle\Entity\Question
     *
     * @ORM\ManyToOne(
     *     targetEntity="AppBundle\Entity\Question",
     *     inversedBy="variants"
     * )
     * @ORM\JoinColumn(name="question_id", referencedColumnName="id")
     */
    private $question;

    /**
     * @return Question
     */
    public function getQuestion(): Question
    {<commit_msg>quote column name to avoid conflict in mysql<commit_after><?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Variant
 *
 * @ORM\Table(name="variants")
 * @ORM\Entity
 */
class Variant
{
    const VARIANT_CORRECT = 'yes';
    const VARIANT_WRONG = 'no';

    /**
     * @var string
     *
     * @ORM\Column(name="answer", type="string", length=255, nullable=false)
     */
    private $answer;

    /**
     * @var string
     *
     * @ORM\Column(name="is_correct", type="string", nullable=false)
     */
    private $isCorrect;

    /**
     * @var integer
     *
     * @ORM\Column(name="`precision`", type="integer", nullable=true)
     */
    private $precision;

    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="bigint")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var \AppBundle\Entity\Question
     *
     * @ORM\ManyToOne(
     *     targetEntity="AppBundle\Entity\Question",
     *     inversedBy="variants"
     * )
     * @ORM\JoinColumn(name="question_id", referencedColumnName="id")
     */
    private $question;

    /**
     * @return Question
     */
    public function getQuestion(): Question
    {
{'fraction_non_alphanumeric': 0.16356877323420074, 'fraction_numerical': 0.0024783147459727386, 'mean_word_length': 2.317808219178082, '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': '6179727', 'n_tokens_mistral': 826, 'n_tokens_neox': 799, 'n_words': 133}