<commit_before>#!/bin/sh

set -ex

IMAGES=/isodevice/iconograph
mkdir -p "${IMAGES}"

BOOT=/isodevice

FLAGS=$(cat flags)

./fetcher.py --image-dir="${IMAGES}" --ca-cert=../config/ca.cert.pem ${FLAGS}
./update_grub.py --image-dir="${IMAGES}" --boot-dir="${BOOT}" > ${BOOT}/grub/grub.cfg.tmp && mv ${BOOT}/grub/grub.cfg.tmp ${BOOT}/grub/grub.cfg
<commit_msg>Simplify syntax and log<commit_after>#!/bin/sh

set -ex

IMAGES=/isodevice/iconograph
mkdir -p "${IMAGES}"

BOOT=/isodevice

FLAGS=$(<flags)

./fetcher.py --image-dir="${IMAGES}" --ca-cert=../config/ca.cert.pem ${FLAGS}
./update_grub.py --image-dir="${IMAGES}" --boot-dir="${BOOT}" > ${BOOT}/grub/grub.cfg.tmp && mv ${BOOT}/grub/grub.cfg.tmp ${BOOT}/grub/grub.cfg

{'fraction_non_alphanumeric': 0.2565880721220527, 'fraction_numerical': 0.0, 'mean_word_length': 4.048951048951049, 'pattern_counts': {'":': 0, '<': 4, '<?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': '2820020', 'n_tokens_mistral': 318, 'n_tokens_neox': 303, 'n_words': 44}