<commit_before>#ifndef WORLD_H
#define WORLD_H

#include <QObject>
#include <QVector>
#include "room.h"
#include "item.h"

class World : public QObject
{
    Q_OBJECT

public:
    World(const QString &name, const QSize &size, QObject *parent = 0);

    void addRoom(QString const& name);
    int countRooms() const;
    Room *getRoom(int index) const;
    QVector<Room*> *getRooms() const;

private:
    QVector<Room*> *rooms;
    QString name;
    QSize size;
};

#endif // WORLD_H
<commit_msg>adding a getter for size in World header<commit_after>#ifndef WORLD_H
#define WORLD_H

#include <QObject>
#include <QVector>
#include "room.h"
#include "item.h"

class World : public QObject
{
    Q_OBJECT

public:
    World(const QString &name, const QSize &size, QObject *parent = 0);

    void addRoom(QString const& name);
    int countRooms() const;
    Room *getRoom(int index) const;
    QVector<Room*> *getRooms() const;
    QSize getSize() const;

private:
    QVector<Room*> *rooms;
    QString name;
    QSize size;
};

#endif // WORLD_H

{'fraction_non_alphanumeric': 0.12164750957854406, 'fraction_numerical': 0.0019157088122605363, 'mean_word_length': 3.815668202764977, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '1979257', 'n_tokens_mistral': 382, 'n_tokens_neox': 373, 'n_words': 110}