<commit_before>cmake_minimum_required(VERSION 3.10)
# Project Name
project(SudokuSolver)

# Version number
set(SudokuSolver_VERSION_MAJOR 2)
set(SudokuSolver_VERSION_MINOR 0)
set(SudokuSolver_VERSION_PATCH 0)

# Set default build type
if(NOT CMAKE_BUILD_TYPE)
  set(CMAKE_BUILD_TYPE Release)
endif()

# Enable c++11 standard
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_DEBUG} -std=c++11 -Wall")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_RELEASE} -std=c++11 -Wall")

# Copy files from source directory to destination directory, substituting any
# variables.  Create destination directory if it does not exist.
<commit_msg>set different compile warning level for different platform<commit_after>cmake_minimum_required(VERSION 3.10)
# Project Name
project(SudokuSolver)

# Version number
set(SudokuSolver_VERSION_MAJOR 2)
set(SudokuSolver_VERSION_MINOR 0)
set(SudokuSolver_VERSION_PATCH 0)

# Set default build type
if(NOT CMAKE_BUILD_TYPE)
  set(CMAKE_BUILD_TYPE Release)
endif()

# Enable c++11 standard
set(CMAKE_CXX_STANDARD 11)

# Set different warning level for different platform
if(MSVC)
  # Force to always compile with W4
  if(CMAKE_CXX_FLAGS MATCHES "/W[0-4]")
    string(REGEX REPLACE "/W[0-4]" "/W4" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
  else()
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4")
  endif()
elseif(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
  # Update if necessary
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-long-long -pedantic")
endif()

# Copy files from source directory to destination directory, substituting any
# variables.  Create destination directory if it does not exist.

{'fraction_non_alphanumeric': 0.09005297233666863, 'fraction_numerical': 0.018246027074749854, 'mean_word_length': 6.6923076923076925, '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': '6148855', 'n_tokens_mistral': 665, 'n_tokens_neox': 587, 'n_words': 149}