<commit_before>#!/bin/bash
set -e

BASE_DIR=$(cd $(dirname $0); pwd)
NEW_IMAGES=${BASE_DIR}/new-images.txt

for i in `cat ${NEW_IMAGES} | sort | uniq`; do
    NAME=`echo $i | cut -d: -f1`
    IMAGES=`docker images |grep ${NAME} |awk '{printf "%s:%s ",$1,$2}'`<commit_msg>pull-new-images の中に起動中コンテナの削除処理を追加<commit_after>#!/bin/bash
set -e

BASE_DIR=$(cd $(dirname $0); pwd)
NEW_IMAGES=${BASE_DIR}/new-images.txt


${BASE_DIR}/pocci/src.tmp/test/clean-containers.sh

for i in `cat ${NEW_IMAGES} | sort | uniq`; do
    NAME=`echo $i | cut -d: -f1`
    IMAGES=`docker images |grep ${NAME} |awk '{printf "%s:%s ",$1,$2}'`
{'fraction_non_alphanumeric': 0.21753246753246752, 'fraction_numerical': 0.012987012987012988, 'mean_word_length': 4.508928571428571, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '475608', 'n_tokens_mistral': 284, 'n_tokens_neox': 273, 'n_words': 59}