<commit_before># This needs to set a the following variables which are using in various
# bundling codes to determine tomviz version.
#   tomviz_version_major
#   tomviz_version_minor
#   tomviz_version_patch
#   tomviz_version_suffix
#   tomviz_version
#   tomviz_version_long

set(hardcoded_tomviz_version "0.6.0")

function(_set_version_vars versiontext)
  string(REGEX MATCH "([0-9]+)\\.([0-9]+)\\.([0-9]+)[-]*(.*)" version_matches "${versiontext}")
  if(CMAKE_MATCH_0)
    set(full ${CMAKE_MATCH_0})
    set(major ${CMAKE_MATCH_1})
    set(minor ${CMAKE_MATCH_2})
    set(patch ${CMAKE_MATCH_3})
    set(patch_extra ${CMAKE_MATCH_4})
<commit_msg>Bumped the hardcoded version fallback<commit_after># This needs to set a the following variables which are using in various
# bundling codes to determine tomviz version.
#   tomviz_version_major
#   tomviz_version_minor
#   tomviz_version_patch
#   tomviz_version_suffix
#   tomviz_version
#   tomviz_version_long

set(hardcoded_tomviz_version "0.6.1")

function(_set_version_vars versiontext)
  string(REGEX MATCH "([0-9]+)\\.([0-9]+)\\.([0-9]+)[-]*(.*)" version_matches "${versiontext}")
  if(CMAKE_MATCH_0)
    set(full ${CMAKE_MATCH_0})
    set(major ${CMAKE_MATCH_1})
    set(minor ${CMAKE_MATCH_2})
    set(patch ${CMAKE_MATCH_3})
    set(patch_extra ${CMAKE_MATCH_4})

{'fraction_non_alphanumeric': 0.13273001508295626, 'fraction_numerical': 0.02262443438914027, 'mean_word_length': 5.1720930232558135, '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': '2212121', 'n_tokens_mistral': 529, 'n_tokens_neox': 497, 'n_words': 96}