<commit_before><?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;

/**
 * Kategoria
 *
 * @ORM\Table(name="kategoria")
 * @ORM\Entity
 */
class Kategoria {

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

    /**<commit_msg>Entity/Kategoria.php - poprawka by dodwane nazwy kategorii były unikalne.<commit_after><?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;

/**
 * Kategoria
 *
 * @ORM\Table(name="kategoria")
 * @ORM\Entity
 * @UniqueEntity("nazwa")
 */
class Kategoria {

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

    /**
{'fraction_non_alphanumeric': 0.15384615384615385, 'fraction_numerical': 0.004333694474539545, 'mean_word_length': 3.5294117647058822, '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': '1346470', 'n_tokens_mistral': 328, 'n_tokens_neox': 324, 'n_words': 55}