<commit_before>#!/bin/bash

P=$1
T=$2
F=$3
echo 'Taking picture'
echo "P=${P}"
echo "T=${T}"
echo "F=${F}"

gphoto2 --port $P --reset
gphoto2 --camera="Canon EOS 100D" --port $P --set-config eosremoterelease=Immediate &> /dev/null
sleep ${T}
gphoto2 --port $P --set-config eosremoterelease=4 &> /dev/null
gphoto2 --port $P --wait-event-and-download=1s --filename "${F}_%H%M%S.cr2" &> /dev/null

echo "Done with pic"
<commit_msg>Pass full filename<commit_after>#!/bin/bash

P=$1
T=$2
F=$3
echo 'Taking picture'
echo "P=${P}"
echo "T=${T}"
echo "F=${F}"

gphoto2 --port $P --reset
gphoto2 --camera="Canon EOS 100D" --port $P --set-config eosremoterelease=Immediate &> /dev/null
sleep ${T}
gphoto2 --port $P --set-config eosremoterelease=4 &> /dev/null
gphoto2 --port $P --wait-event-and-download=1s --filename "${F}" &> /dev/null

echo "Done with pic"

{'fraction_non_alphanumeric': 0.2164705882352941, 'fraction_numerical': 0.029411764705882353, 'mean_word_length': 3.947674418604651, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1261979', 'n_tokens_mistral': 367, 'n_tokens_neox': 344, 'n_words': 92}