<commit_before>execute_process(COMMAND "${GIT}" rev-parse --short HEAD RESULT_VARIABLE RET OUTPUT_VARIABLE COMMIT OUTPUT_STRIP_TRAILING_WHITESPACE)

if(RET)
    message(WARNING "Cannot determine current commit. Make sure that you are building either from a Git working tree or from a source archive.")
    set(VERSIONTAG "unknown")
    configure_file("src/version.h.in" "${TO}")
else()
	message(STATUS "You are currently on commit ${COMMIT}")
	execute_process(COMMAND "${GIT}" show-ref --tags -d --abbrev COMMAND awk "END{print $1}" RESULT_VARIABLE RET OUTPUT_VARIABLE TAGGEDCOMMIT OUTPUT_STRIP_TRAILING_WHITESPACE)
	if(RET)
	    message(WARNING "Cannot determine most recent tag. Make sure that you are building either from a Git working tree or from a source archive.")
	    set(VERSIONTAG "${COMMIT}")
	else()
		message(STATUS "The most recent tag was at ${TAGGEDCOMMIT}")
		if(COMMIT MATCHES TAGGEDCOMMIT)
			message(STATUS "You are building a tagged release")
		    set(VERSIONTAG "release")
		else()
			message(STATUS "You are ahead or behind of a tagged release")
		    set(VERSIONTAG "${COMMIT}")
		endif()
	endif()	    

    configure_file("src/version.h.in" "${TO}")
endif()<commit_msg>fixed cmake variable matching<commit_after>execute_process(COMMAND "${GIT}" rev-parse --short HEAD RESULT_VARIABLE RET OUTPUT_VARIABLE COMMIT OUTPUT_STRIP_TRAILING_WHITESPACE)

if(RET)
    message(WARNING "Cannot determine current commit. Make sure that you are building either from a Git working tree or from a source archive.")
    set(VERSIONTAG "unknown")
    configure_file("src/version.h.in" "${TO}")
else()
	message(STATUS "You are currently on commit ${COMMIT}")
	execute_process(COMMAND "${GIT}" show-ref --tags -d --abbrev COMMAND awk "END{print $1}" RESULT_VARIABLE RET OUTPUT_VARIABLE TAGGEDCOMMIT OUTPUT_STRIP_TRAILING_WHITESPACE)
	if(RET)
	    message(WARNING "Cannot determine most recent tag. Make sure that you are building either from a Git working tree or from a source archive.")
	    set(VERSIONTAG "${COMMIT}")
	else()
		message(STATUS "The most recent tag was at ${TAGGEDCOMMIT}")
		if(${COMMIT} MATCHES ${TAGGEDCOMMIT})
			message(STATUS "You are building a tagged release")
		    set(VERSIONTAG "release")
		else()
			message(STATUS "You are ahead or behind of a tagged release")
		    set(VERSIONTAG "${COMMIT}")
		endif()
	endif()	    

    configure_file("src/version.h.in" "${TO}")
endif()
{'fraction_non_alphanumeric': 0.10936205468102735, 'fraction_numerical': 0.0008285004142502071, 'mean_word_length': 4.777511961722488, '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': '5585956', 'n_tokens_mistral': 783, 'n_tokens_neox': 745, 'n_words': 256}