<commit_before><?php
/**
 * Model for ConfigurationDroit
 *
 */

class ConfigurationDroit extends BaseConfigurationDroit {

    public function getNoeud() {

        return $this->getParent()->getNoeud();
    }

    public function setTaux($taux) {
        if(!is_null($taux) && $taux !== "")  {
            $taux = $taux * 1;
        }

        return $this->_set('taux' ,$taux);
    }

}<commit_msg>Force null plutot que chaine vide<commit_after><?php
/**
 * Model for ConfigurationDroit
 *
 */

class ConfigurationDroit extends BaseConfigurationDroit {

    public function getNoeud() {

        return $this->getParent()->getNoeud();
    }

    public function setTaux($taux) {
        if(!is_null($taux) && $taux !== "")  {
            $taux = $taux * 1;
        }

        if($taux === "")  {
            $taux = null;
        }

        return $this->_set('taux' ,$taux);
    }

}
{'fraction_non_alphanumeric': 0.1589627959413754, 'fraction_numerical': 0.002254791431792559, 'mean_word_length': 2.240875912408759, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '1469219', 'n_tokens_mistral': 299, 'n_tokens_neox': 287, 'n_words': 56}