<commit_before><?php
/**
 * (c) Vespolina Project http://www.vespolina-project.org
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */
namespace Vespolina\ProductBundle\Model\Node;

use Vespolina\ProductBundle\Model\ProductNode;

/**
 * @author <NAME> <<EMAIL>>
 */
class FeatureNode extends ProductNode implements FeatureNodeInterface
{
    protected $term;
    protected $type;

    /**
     * @inheritdoc
     */
    public function setSearchTerm($term)
    {
        $this->term = $term;
    }

    /**
     * @inheritdoc
     */
    public function getSearchTerm()
    {
        return $this->term;
    }

    /**
     * @inheritdoc
     */
    public function setType($type)
    {
        $this->type = $type;
    }

    /**
     * @inheritdoc
     */
    public function getType()
    {
        return $this->type;
    }
}
<commit_msg>change term property to searchTerm property in FeatureNode<commit_after><?php
/**
 * (c) Vespolina Project http://www.vespolina-project.org
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */
namespace Vespolina\ProductBundle\Model\Node;

use Vespolina\ProductBundle\Model\ProductNode;

/**
 * @author <NAME> <<EMAIL>>
 */
class FeatureNode extends ProductNode implements FeatureNodeInterface
{
    protected $searchTerm;
    protected $type;

    /**
     * @inheritdoc
     */
    public function setSearchTerm($searchTerm)
    {
        $this->searchTerm = strtolower($searchTerm);
    }

    /**
     * @inheritdoc
     */
    public function getSearchTerm()
    {
        return $this->term;
    }

    /**
     * @inheritdoc
     */
    public function setType($type)
    {
        $this->type = $type;
    }

    /**
     * @inheritdoc
     */
    public function getType()
    {
        return $this->type;
    }
}

{'fraction_non_alphanumeric': 0.12322274881516587, 'fraction_numerical': 0.0, 'mean_word_length': 2.298611111111111, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3595229', 'n_tokens_mistral': 581, 'n_tokens_neox': 566, 'n_words': 139}