<commit_before>
# Creates a FROM->TO symlink during installation
function(INSTALL_SYMLINK FROM TO COMPONENT)
  if (MSVC)
    install(CODE
      "get_filename_component(FROM_ABSOLUTE ${CMAKE_INSTALL_PREFIX}/${FROM}
         ABSOLUTE)
       file(TO_NATIVE_PATH \${FROM_ABSOLUTE} FROM_ABSOLUTE)
       file(TO_NATIVE_PATH \${CMAKE_INSTALL_PREFIX}/${TO} TO)
       message(\"mklink /j \${TO} \${FROM_ABSOLUTE}\")
       execute_process(COMMAND mklink /j \${TO} \${FROM_ABSOLUTE})"
      COMPONENT "${COMPONENT}")
  else()
    install(CODE
      "execute_process(COMMAND rm -f ${CMAKE_INSTALL_PREFIX}/${TO})
       get_filename_component(FROM_ABSOLUTE ${CMAKE_INSTALL_PREFIX}/${FROM}
         ABSOLUTE)
       execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink  
         \${FROM_ABSOLUTE} ${CMAKE_INSTALL_PREFIX}/${TO})"
      COMPONENT "${COMPONENT}")
  endif()
endfunction()<commit_msg>Install symlinks relative, not absolute<commit_after>
# Creates a FROM->TO symlink during installation
function(INSTALL_SYMLINK)
  cmake_parse_arguments(THIS "" "" "FROM;TO;WORKING_DIRECTORY;COMPONENT" ${ARGN})
  if(MSVC)
    install(CODE
      "message(\"mklink /j \${THIS_TO} \${THIS_FROM}\")
       execute_process(COMMAND mklink /j \${THIS_TO} \${THIS_FROM}
                       WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${THIS_WORKING_DIRECTORY})"
      COMPONENT "${THIS_COMPONENT}")
  else()
    install(CODE
      "execute_process(COMMAND rm -f ${THIS_TO}
                       WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${THIS_WORKING_DIRECTORY})
       execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${THIS_FROM} ${THIS_TO}
                       WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${THIS_WORKING_DIRECTORY})"
      COMPONENT "${THIS_COMPONENT}")
  endif()
endfunction()
{'fraction_non_alphanumeric': 0.13099219620958752, 'fraction_numerical': 0.0, 'mean_word_length': 3.838274932614555, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3906976', 'n_tokens_mistral': 637, 'n_tokens_neox': 599, 'n_words': 102}