<commit_before>
package vtrc_example;
option cc_generic_services = true;

message empty { }

message ping_req {
    optional bytes payload = 1;
}

message ping_res {
    optional bytes payload = 1;
}

service stress_service {
    rpc init (empty) returns (empty);
    rpc ping (ping_req) returns (ping_res);
}
<commit_msg>examples<commit_after>
package vtrc_example;
option cc_generic_services = true;

message empty { }

message ping_req {
    optional bytes payload = 1;
}

message ping_res {
    optional bytes payload = 1;
}

message generate_events_req {
    optional uint32 count = 1;
}

message generate_events_res {
    optional uint32 count = 1;
}

service stress_service {
    rpc init (empty) returns (empty);
    rpc ping (ping_req) returns (ping_res);
    rpc generate_event (generate_events_req) returns (generate_events_res);
}

/// ============== events or callbacks ================== ///

message event_req {
    optional uint32 id = 1;
}

message event_res { }

service stress_events {
    rpc event ( event_req ) returns ( event_res );
}

{'fraction_non_alphanumeric': 0.11342155009451796, 'fraction_numerical': 0.012287334593572778, 'mean_word_length': 3.925581395348837, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7541702', 'n_tokens_mistral': 353, 'n_tokens_neox': 327, 'n_words': 99}