<commit_before>#include "mainwindow.h"
#include <QApplication>
#include <QPushButton>
#include <QGraphicsView>
#include <QGridLayout>
#include <QLabel>
#include <QPixmap>
#include <iostream>
#include <menuwindow.h>
using namespace std;

int main(int argc, char * argv[]) {
    QApplication a(argc, argv);

    MainWindow * window = new MainWindow();
    //MenuWindow * menuWindow = new MenuWindow();
    //menuWindow->show();

    window->show();
    return a.exec();
}<commit_msg>Experiment with 2 loops<commit_after>#include "mainwindow.h"
#include <QApplication>
#include <QPushButton>
#include <QGraphicsView>
#include <QGridLayout>
#include <QLabel>
#include <QPixmap>
#include <iostream>
#include <menuwindow.h>
#include "../recieve-views/serverhandler.h"
using namespace std;

int main(int argc, char * argv[]) {
    QApplication a(argc, argv);

    MainWindow * window = new MainWindow();
    //MenuWindow * menuWindow = new MenuWindow();
    //menuWindow->show();

    window->show();
    ServerHandler k = ServerHandler("bill.local", 5000, window);
    k.connect_socket();
    k.loop();
    return a.exec();
}
{'fraction_non_alphanumeric': 0.15370866845397677, 'fraction_numerical': 0.004468275245755138, 'mean_word_length': 4.5721393034825875, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 23, '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': '7023135', 'n_tokens_mistral': 368, 'n_tokens_neox': 356, 'n_words': 94}