<commit_before>/* This file is in public domain. */

#include <BreakpadSender.h>

#include <QCoreApplication>
#include <QTimer>
#include <QString>
#include <QUrl>
#include <QDebug>

int main(int argc, char* argv[])
{
	QCoreApplication app(argc, argv);
	BreakpadQt::Sender sender(QUrl(QLatin1String("http://localhost:8080/breakpad-test/receiver")));
	sender.addParameter(QLatin1String("param1"), QString::fromLatin1("value1"));
	sender.setFile(qApp->applicationFilePath());
	sender.send();

	app.connect(&sender, SIGNAL(done(bool)), SLOT(quit()));
	int res = app.exec();
	sender.wait();
	return res;
}<commit_msg>fixed stupid lock in reporter<commit_after>/* This file is in public domain. */

#include <BreakpadSender.h>

#include <QCoreApplication>
#include <QTimer>
#include <QString>
#include <QUrl>
#include <QDebug>

int main(int argc, char* argv[])
{
	QCoreApplication app(argc, argv);
	BreakpadQt::Sender sender(QUrl(QLatin1String("http://localhost:8080/breakpad-test/receiver")));
	sender.addParameter(QLatin1String("param1"), QString::fromLatin1("value1"));
	sender.setFile(qApp->applicationFilePath());
	app.connect(&sender, SIGNAL(done(bool)), SLOT(quit()));
	sender.send();
	int res = app.exec();
	sender.wait();
	return res;
}
{'fraction_non_alphanumeric': 0.17594834543987087, 'fraction_numerical': 0.014527845036319613, 'mean_word_length': 7.157894736842105, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 17, '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': '3062213', 'n_tokens_mistral': 430, 'n_tokens_neox': 419, 'n_words': 88}