<commit_before>SET( CMAKE_AUTOMOC ON )

FIND_PACKAGE( Qt5 COMPONENTS Core Charts Widgets )

IF( Qt5_FOUND )
  ADD_EXECUTABLE( Perdita
    DataSetItem.cc
    DataSetModel.cc
    ExpandSimplicialComplexDialog.cc
    LoadDataSetHelpers.cc
    MainWindow.cc
    Perdita.cc
    PersistenceDiagramHelpers.cc
    PersistenceDiagramView.cc
    PersistenceDiagramNormDialog.cc
    SimplicialComplexHelpers.cc
    UnsignedValidator.cc
  )
  TARGET_LINK_LIBRARIES( Perdita Qt5::Charts Qt5::Widgets )
ENDIF()<commit_msg>Workaround for CMake issue with `clang`<commit_after># Workaround for CMake incompatability with a recent Clang compiler when
# it comes to the 'automoc' feature.
IF(   ( CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "5.0.0" )
   OR ( CMAKE_CXX_COMPILER_ID MATCHES "GNU" ) )

  SET( CMAKE_AUTOMOC ON )

  FIND_PACKAGE( Qt5 COMPONENTS Core Charts Widgets )

  IF( Qt5_FOUND )
    ADD_EXECUTABLE( Perdita
      DataSetItem.cc
      DataSetModel.cc
      ExpandSimplicialComplexDialog.cc
      LoadDataSetHelpers.cc
      MainWindow.cc
      Perdita.cc
      PersistenceDiagramHelpers.cc
      PersistenceDiagramView.cc
      PersistenceDiagramNormDialog.cc
      SimplicialComplexHelpers.cc
      UnsignedValidator.cc
    )
    TARGET_LINK_LIBRARIES( Perdita Qt5::Charts Qt5::Widgets )
  ENDIF()

ENDIF()
{'fraction_non_alphanumeric': 0.061664190193164936, 'fraction_numerical': 0.008172362555720654, 'mean_word_length': 3.8107142857142855, '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': '3182401', 'n_tokens_mistral': 496, 'n_tokens_neox': 475, 'n_words': 92}