<commit_before><?php

namespace Doc\DocBundle\Repository;

use Doctrine\ORM\EntityRepository;

class DocFieldsRepository extends EntityRepository {

    protected $doc_fields_id;
    protected $doc_list_id;

    /**
     * gets the list of langs
     */
    public function getFields() {
        $and = false;
        if(isset($this->doc_list_id)) {
            $and = ' AND df.doc_list_id='.$this->doc_list_id;
        }
        $query = '
            SELECT df.*, dl.name AS doc_name <commit_msg>added translations<commit_after><?php

namespace Doc\DocBundle\Repository;

use Doctrine\ORM\EntityRepository;

class DocFieldsRepository extends EntityRepository {

    protected $doc_fields_id;
    protected $doc_list_id;

    /**
     * gets the list of langs
     */
    public function getFields() {
        $and = false;
        if(isset($this->doc_list_id)) {
            $and = ' AND df.doc_list_id='.$this->doc_list_id;
        }
        $query = '
            SELECT df.*, dl.doc_name_ro AS doc_name 
{'fraction_non_alphanumeric': 0.10912698412698413, 'fraction_numerical': 0.0, 'mean_word_length': 2.4793103448275864, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '3744511', 'n_tokens_mistral': 316, 'n_tokens_neox': 308, 'n_words': 67}