<commit_before>@echo off


set CURRENT_PATH=%cd%
set BITDUST_FULL_HOME=%HOMEDRIVE%%HOMEPATH%\.bitdust
echo Destination folder is %BITDUST_FULL_HOME%


if exist "%BITDUST_FULL_HOME%\python\python.exe" goto StartInstall
python --version 2>NUL
if errorlevel 1 goto StartInstall
echo Python already installed on your machine.
echo Please install BitDust software manually by following this howto: 
echo     http://bitdust.io/install.html
pause
exit 


:StartInstall
echo Start installation
SET CURRENT_PATH=%cd%


if not exist "%BITDUST_FULL_HOME%" echo Prepare destination folder %BITDUST_FULL_HOME%
if not exist "%BITDUST_FULL_HOME%" mkdir "%BITDUST_FULL_HOME%"


set SHORT_PATH_SCRIPT=%BITDUST_FULL_HOME%\shortpath.bat
set SHORT_PATH_OUT=%BITDUST_FULL_HOME%\shortpath.txt
echo @echo OFF > "%SHORT_PATH_SCRIPT%"
echo echo %%~s1 >> "%SHORT_PATH_SCRIPT%"
call "%SHORT_PATH_SCRIPT%" "%BITDUST_FULL_HOME%" > "%SHORT_PATH_OUT%"
set /P BITDUST_HOME_0=<"%SHORT_PATH_OUT%"
call :StripHome %BITDUST_HOME_0%<commit_msg>a small fix in the deploy script<commit_after>@echo off


set CURRENT_PATH=%cd%
set BITDUST_FULL_HOME=%HOMEDRIVE%%HOMEPATH%\.bitdust
echo Destination folder is %BITDUST_FULL_HOME%


if exist "%BITDUST_FULL_HOME%\python\python.exe" goto StartInstall


python --version 1>NUL 2>NUL
if errorlevel 1 goto StartInstall
reg query "hkcu\software\Python"
if errorlevel 1 goto StartInstall
reg query "hklm\software\Python"
if errorlevel 1 goto StartInstall


echo Python already installed on your machine.
echo Please install BitDust software manually by following this howto: 
echo     http://bitdust.io/install.html
pause
exit 


:StartInstall
echo Start installation
SET CURRENT_PATH=%cd%


if not exist "%BITDUST_FULL_HOME%" echo Prepare destination folder %BITDUST_FULL_HOME%
if not exist "%BITDUST_FULL_HOME%" mkdir "%BITDUST_FULL_HOME%"


set SHORT_PATH_SCRIPT=%BITDUST_FULL_HOME%\shortpath.bat
set SHORT_PATH_OUT=%BITDUST_FULL_HOME%\shortpath.txt
echo @echo OFF > "%SHORT_PATH_SCRIPT%"
echo echo %%~s1 >> "%SHORT_PATH_SCRIPT%"
call "%SHORT_PATH_SCRIPT%" "%BITDUST_FULL_HOME%" > "%SHORT_PATH_OUT%"
set /P BITDUST_HOME_0=<"%SHORT_PATH_OUT%"
call :StripHome %BITDUST_HOME_0%
{'fraction_non_alphanumeric': 0.09600367478180984, 'fraction_numerical': 0.0059715204409738175, 'mean_word_length': 6.7785714285714285, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 14, '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': '3005598', 'n_tokens_mistral': 814, 'n_tokens_neox': 745, 'n_words': 198}