<commit_before>// raspistill - o shot - $SHOTTIME.jpg--nopreview--exposure sports--timeout 1

var starttime = Date.now();
var endtime;
var cameraParams = [];
var filePath = "bingo.jpg"
cameraParams.push('-vf');
cameraParams.push('-hf');
cameraParams.push('-o', filePath);
cameraParams.push('-t', 1)

starttime = Date.now();
var spawn = require('child_process').spawn('raspistill', cameraParams);
spawn.on('exit', function(code) {
    endtime = Date.now();
    console.info("> saved [" + filePath + "]" + " exit code, " + code + " time: ", (endtime - starttime) / 1000);

});

spawn.on('error', function() {
    if (self.config.verboseLogging) {
        console.error("> there was an error capturing image [" + filePath + "]");
    }
    reject();
});
<commit_msg>testing imagecapture<commit_after>// raspistill - o shot - $SHOTTIME.jpg--nopreview--exposure sports--timeout 1

var starttime = Date.now();
var endtime;
var cameraParams = [];
var filePath = "bingo.jpg"
cameraParams.push('-vf');
cameraParams.push('-hf');
cameraParams.push('-np');
cameraParams.push('-ex', "sports")
cameraParams.push('-o', filePath);
cameraParams.push('-t', 1)

starttime = Date.now();
var spawn = require('child_process').spawn('raspistill', cameraParams);
spawn.on('exit', function(code) {
    endtime = Date.now();
    console.info("> saved [" + filePath + "]" + " exit code, " + code + " time: ", (endtime - starttime) / 1000);

});

spawn.on('error', function() {
    if (self.config.verboseLogging) {
        console.error("> there was an error capturing image [" + filePath + "]");
    }
    reject();
});

{'fraction_non_alphanumeric': 0.19949811794228356, 'fraction_numerical': 0.0075282308657465494, 'mean_word_length': 4.095846645367412, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6777771', 'n_tokens_mistral': 555, 'n_tokens_neox': 532, 'n_words': 116}