<commit_before>@echo off
::Removes compilation artifacts and other temporary files.

rem Compiled artifacts
rd /s /q "%~dp0build" > NUL 2>&1

rem Solution-wide
del "%~dp0src\*.userprefs" > NUL 2>&1
attrib -h "%~dp0src\*.suo" > NUL 2>&1
del "%~dp0src\*.suo" > NUL 2>&1
del "%~dp0src\*.user" > NUL 2>&1
del "%~dp0src\*.cache" > NUL 2>&1
rd /s /q "src\.vs" > NUL 2>&1
rd /s /q "src\obj" > NUL 2>&1

rem Per-project
FOR /d %%D IN ("%~dp0src\*") DO (
  rd /s /q "%%D\obj" > NUL 2>&1
  rd /s /q "%%D\test-results" > NUL 2>&1
  del "%%D\*.pidb" > NUL 2>&1
  del "%%D\*.csproj.user" > NUL 2>&1
)

rem NuGet packages
FOR /d %%D IN ("%~dp0src\packages\*") DO rd /s /q "%%D"

rem NUnit logs
del "%~dp0*.VisualState.xml" > NUL 2>&1
del "%~dp0TestResult.xml" > NUL 2>&1

rem ReSharper caches
for /D %%X in ("%~dp0src\_ReSharper*") do rd /s /q "%%X"<commit_msg>Tweaked cleanup script<commit_after>@echo off
::Removes compilation artifacts and other temporary files.

rem Compiled artifacts
rd /s /q "%~dp0build" > NUL 2>&1

rem Solution-wide
del "%~dp0src\*.userprefs" > NUL 2>&1
attrib -h "%~dp0src\*.suo" > NUL 2>&1
del "%~dp0src\*.suo" > NUL 2>&1
del "%~dp0src\*.user" > NUL 2>&1
del "%~dp0src\*.cache" > NUL 2>&1
rd /s /q "src\.vs" > NUL 2>&1
rd /s /q "src\obj" > NUL 2>&1

rem Per-project
FOR /d %%D IN ("%~dp0src\*") DO (
  rd /s /q "%%D\obj" > NUL 2>&1
  rd /s /q "%%D\test-results" > NUL 2>&1
  del "%%D\*.pidb" > NUL 2>&1
  del "%%D\*.csproj.user" > NUL 2>&1
)

rem NuGet packages
FOR /d %%D IN ("%~dp0src\packages\*") DO rd /s /q "%%D"

rem NUnit logs
del "%~dp0*.VisualState.xml" > NUL 2>&1
del "%~dp0TestResult.xml" > NUL 2>&1

rem ReSharper caches
rd /s /q "%~dp0src\_ReSharper.Caches"
{'fraction_non_alphanumeric': 0.22505938242280285, 'fraction_numerical': 0.04631828978622328, 'mean_word_length': 3.3316195372750643, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '7264579', 'n_tokens_mistral': 829, 'n_tokens_neox': 778, 'n_words': 231}