<commit_before>message(STATUS "Looking for Lua 5.2")
find_package(Lua52 QUIET)
if(NOT DEFINED LUA_INCLUDE_DIR)
  message(STATUS "Looking for Lua 5.1")
  find_package(Lua51 QUIET)
  if(NOT DEFINED LUA_INCLUDE_DIR)
    message(STATUS "Looking for any Lua")
    find_package(Lua QUIET)
    if(NOT DEFINED LUA_INCLUDE_DIR)
      message(FATAL_ERROR "Lua was not found but is required")
    endif()
  endif()
endif()
message(STATUS "Found Lua")

include_directories(${LUA_INCLUDE_DIR})<commit_msg>Check more carefully for Lua #25<commit_after>message(STATUS "Looking for Lua 5.2")
find_package(Lua52 QUIET)
if((NOT ${LUA_FOUND}) OR (NOT DEFINED LUA_INCLUDE_DIR) OR (${LUA_INCLUDE_DIR} MATCHES "LUA_INCLUDE_DIR-NOTFOUND"))
  message(STATUS "Looking for Lua 5.1")
  find_package(Lua51 QUIET)
  if((NOT ${LUA_FOUND}) OR (NOT DEFINED LUA_INCLUDE_DIR) OR (${LUA_INCLUDE_DIR} MATCHES "LUA_INCLUDE_DIR-NOTFOUND"))
    message(STATUS "Looking for any Lua")
    find_package(Lua QUIET)
    if((NOT ${LUA_FOUND}) OR (NOT DEFINED LUA_INCLUDE_DIR) OR (${LUA_INCLUDE_DIR} MATCHES "LUA_INCLUDE_DIR-NOTFOUND"))
      message(FATAL_ERROR "Lua was not found but is required")
    endif()
  endif()
endif()
message(STATUS "Found Lua")

include_directories(${LUA_INCLUDE_DIR})
{'fraction_non_alphanumeric': 0.1134185303514377, 'fraction_numerical': 0.01437699680511182, 'mean_word_length': 5.809782608695652, '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': '7080630', 'n_tokens_mistral': 528, 'n_tokens_neox': 474, 'n_words': 115}