<commit_before>#ifndef AREAWIDGET_H
#define AREAWIDGET_H

#include <QGraphicsRectItem>
#include "core/area.h"

class AreaRect : public QGraphicsItem
{

public:
    explicit AreaRect(const Area *area, QGraphicsScene *scene = 0, QGraphicsItem *parent = 0);
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
    QRectF boundingRect() const;

private:
    QRectF bounding_rect;
    qreal pen_width;
};

#endif // AREAWIDGET_H<commit_msg>Adding an Area object to the AreaRect class<commit_after>#ifndef AREAWIDGET_H
#define AREAWIDGET_H

#include <QGraphicsRectItem>
#include "core/area.h"

class AreaRect : public QGraphicsItem
{

public:
    explicit AreaRect(const Area *area, QGraphicsScene *scene = 0, QGraphicsItem *parent = 0);
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
    QRectF boundingRect() const;

private:
    QRectF bounding_rect;
    qreal pen_width;
    Area *_area;
};

#endif // AREAWIDGET_H
{'fraction_non_alphanumeric': 0.09353233830845771, 'fraction_numerical': 0.005970149253731343, 'mean_word_length': 4.988095238095238, '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': '2982432', 'n_tokens_mistral': 351, 'n_tokens_neox': 336, 'n_words': 92}