<commit_before><?php

namespace Daken\ReleaseProfilerBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * DatabaseQuery
 *
 * @ORM\Table(name="profiler_database_query")
 * @ORM\Entity(repositoryClass="Daken\ReleaseProfilerBundle\Repository\DatabaseQueryRepository")
 */
class DatabaseQuery
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="created", type="datetime")
     */
    private $created;

    /**
     * @var string
     *
     * @ORM\Column(name="query", type="text")
     */
    private $query;

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

    /**
     * @var string
     *
     * @ORM\Column(name="stack_trace", type="text")
     */
    private $stackTrace;

    /**
     * @var int
     *
     * @ORM\Column(name="time", type="integer")
     */
    private $time;

    /**<commit_msg>Changed db query parameters field type to text (#3)<commit_after><?php

namespace Daken\ReleaseProfilerBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * DatabaseQuery
 *
 * @ORM\Table(name="profiler_database_query")
 * @ORM\Entity(repositoryClass="Daken\ReleaseProfilerBundle\Repository\DatabaseQueryRepository")
 */
class DatabaseQuery
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="created", type="datetime")
     */
    private $created;

    /**
     * @var string
     *
     * @ORM\Column(name="query", type="text")
     */
    private $query;

    /**
     * @var string
     *
     * @ORM\Column(name="parameters", type="text", nullable=true)
     */
    private $parameters;

    /**
     * @var string
     *
     * @ORM\Column(name="stack_trace", type="text")
     */
    private $stackTrace;

    /**
     * @var int
     *
     * @ORM\Column(name="time", type="integer")
     */
    private $time;

    /**
{'fraction_non_alphanumeric': 0.1734130634774609, 'fraction_numerical': 0.00045998160073597056, 'mean_word_length': 2.3616692426584236, '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': '5414247', 'n_tokens_mistral': 718, 'n_tokens_neox': 713, 'n_words': 110}