<commit_before>@echo off

where /Q docker
if errorlevel 0 goto PRE_STEP1
echo Docker is required to run this setup.
exit /b 1
:PRE_STEP1

setlocal
set CONTAINER=jekyll
set IMAGE=danmaq/jekyll-git-redcarpet
docker run -d -p 4000:4000 -v %~dp0:/v:ro --name %CONTAINER% %IMAGE% sh -c "mkdir /root/.ssh;while true; do sleep 1; done"
echo "Please open via browser: http://localhost:4000"

docker exec -it %CONTAINER% /v/test.incontainer
rem docker exec -it %CONTAINER% ash
docker rm -f %CONTAINER%
endlocal
exit /b 0<commit_msg>バッチの漏れ修正<commit_after>@echo off

where /Q docker
if errorlevel 0 goto PRE_STEP1
echo Docker is required to run this setup.
exit /b 1
:PRE_STEP1

setlocal
set CONTAINER=jekyll
set IMAGE=danmaq/jekyll-git-redcarpet
docker build -t %IMAGE% _test
docker run -d -p 4000:4000 -v %~dp0:/v/:ro --name %CONTAINER% %IMAGE% sh -c "mkdir /root/.ssh;while true; do sleep 1; done"
echo "Please open via browser: http://localhost:4000"

docker exec -it %CONTAINER% /v/test.incontainer
docker exec -it %CONTAINER% ash
docker rm -f %CONTAINER%
endlocal
exit /b 0
{'fraction_non_alphanumeric': 0.1104868913857678, 'fraction_numerical': 0.035580524344569285, 'mean_word_length': 4.266009852216749, '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': '1900908', 'n_tokens_mistral': 458, 'n_tokens_neox': 399, 'n_words': 145}