<commit_before>#include "caesar_generator.hpp"

using namespace std;

const string   caesar::Generator::encode(istringstream &iss, int const offset) const {
    if (offset < 0 || offset > 25)
        return string();
    char c, first, last, symbol;
    ostringstream oss = ostringstream();
    while (iss >> noskipws >> c) {
        last = 0;
        symbol = c + offset;
        if (c >= 'A' && c <= 'Z') {
            first = 'A';<commit_msg>Update.<commit_after>#include "caesar_generator.hpp"

using namespace std;

const string   caesar::Generator::encode(istringstream &iss, int const offset) const {
    char c, first, last, symbol;
    ostringstream oss = ostringstream();

    if (offset < 1 || offset > 25)
        return string();
    while (iss >> noskipws >> c) {
        last = 0;
        symbol = c + offset;
        if (c >= 'A' && c <= 'Z') {
            first = 'A';
{'fraction_non_alphanumeric': 0.14350282485875707, 'fraction_numerical': 0.00903954802259887, 'mean_word_length': 2.5298804780876494, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, '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': '6185337', 'n_tokens_mistral': 288, 'n_tokens_neox': 274, 'n_words': 87}