<commit_before>#include <string>

#include "depthai/depthai.hpp"

int main(int argc, char** argv) {
    bool res = false;
    dai::DeviceInfo info;
    std::tie(res, info) = dai::DeviceBootloader::getFirstAvailableDevice();
    std::string path;
    if(argc = 2) {
        path = std::string(argv[1]);
    } else {
        throw std::runtime_error("No path specified for boot config file");
    }

    dai::DeviceBootloader bl(info, path);
    auto progress = [](float p) { std::cout << "Flashing Progress..." << p * 100 << "%" << std::endl; };

    bl.flashBootloader(progress);
    return 0;
}<commit_msg>Example bug fix<commit_after>#include <string>

#include "depthai/depthai.hpp"

int main(int argc, char** argv) {
    bool res = false;
    dai::DeviceInfo info;
    std::tie(res, info) = dai::DeviceBootloader::getFirstAvailableDevice();
    std::string path;
    if(argc == 2) {
        path = std::string(argv[1]);
    } else {
        throw std::runtime_error("No path specified for boot config file");
    }

    dai::DeviceBootloader bl(info, path);
    auto progress = [](float p) { std::cout << "Flashing Progress..." << p * 100 << "%" << std::endl; };

    bl.flashBootloader(progress);
    return 0;
}
{'fraction_non_alphanumeric': 0.1684470008216927, 'fraction_numerical': 0.009860312243221035, 'mean_word_length': 3.429090909090909, 'pattern_counts': {'":': 0, '<': 21, '<?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': '4873686', 'n_tokens_mistral': 403, 'n_tokens_neox': 393, 'n_words': 98}