<commit_before><?php

namespace Trademachines\Riemann\Message;

use DrSlump\Protobuf\AnnotatedMessage;

/**
 * Class Attribute
 */
class Attribute extends AnnotatedMessage
{
    /** @protobuf(tag=1, type=string, required) */
    public $key;

    /** @protobuf(tag=2, type=string, optional) */
    public $value;

    public static function create($key, $value)
    {
        $attribute = new Attribute();
        $attribute->key = $key;
        $attribute->value = $value;
        return $attribute;
    }
}<commit_msg>Remove static method<commit_after><?php

namespace Trademachines\Riemann\Message;

use DrSlump\Protobuf\AnnotatedMessage;

/**
 * Class Attribute
 */
class Attribute extends AnnotatedMessage
{
    /** @protobuf(tag=1, type=string, required) */
    public $key;

    /** @protobuf(tag=2, type=string, optional) */
    public $value;
}
{'fraction_non_alphanumeric': 0.1406799531066823, 'fraction_numerical': 0.004689331770222743, 'mean_word_length': 3.4712041884816753, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7556985', 'n_tokens_mistral': 268, 'n_tokens_neox': 261, 'n_words': 58}