<commit_before># ------------------- Add all Concrete Models ----------------------------
FILE(GLOB all_valid_subdirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*/CMakeLists.txt")

FOREACH(dir ${all_valid_subdirs})
  IF(${dir} MATCHES "^([^/]*)//CMakeLists.txt")
    STRING(REGEX REPLACE "^([^/]*)//CMakeLists.txt" "\\1" dir_trimmed ${dir})
    ADD_SUBDIRECTORY(${dir_trimmed})
  ENDIF()
ENDFOREACH(dir)

SET( TestSource ${ModelTestSource} PARENT_SCOPE)

# --------------------- Configure the cyclus.rng file -------------------
CONFIGURE_FILE(${CYCLUS_CORE_SHARE_DIR}/cyclus.rng.in 
  ${PROJECT_BINARY_DIR}/share/cyclus.rng @ONLY)
<commit_msg>Configured extension directives for adding more modules from other installations.<commit_after># ------------------- Add all Concrete Models ----------------------------
FILE(GLOB all_valid_subdirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*/CMakeLists.txt")

FOREACH(dir ${all_valid_subdirs})
  IF(${dir} MATCHES "^([^/]*)//CMakeLists.txt")
    STRING(REGEX REPLACE "^([^/]*)//CMakeLists.txt" "\\1" dir_trimmed ${dir})
    ADD_SUBDIRECTORY(${dir_trimmed})
  ENDIF()
ENDFOREACH(dir)

SET( TestSource ${ModelTestSource} PARENT_SCOPE)

# --------------------- Configure the cyclus.rng file -------------------
CONFIGURE_FILE(${CYCLUS_CORE_SHARE_DIR}/cyclus.rng.in 
  ${PROJECT_BINARY_DIR}/share/cyclus.rng @ONLY)
SET(EXTEND "@EXTEND@")
SET(Conv_EXTEND "@Conv_EXTEND@")
SET(Facility_EXTEND "@Facility_EXTEND@")
SET(Inst_EXTEND "@Inst_EXTEND@")
SET(Market_EXTEND "@Market_EXTEND@")
SET(Region_EXTEND "@Region_EXTEND@")
CONFIGURE_FILE(${CYCLUS_CORE_SHARE_DIR}/cyclus.rng.in 
  ${PROJECT_BINARY_DIR}/share/cyclus.rng.in @ONLY)


{'fraction_non_alphanumeric': 0.2456246228123114, 'fraction_numerical': 0.0012070006035003018, 'mean_word_length': 3.5424657534246577, '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': '7428963', 'n_tokens_mistral': 625, 'n_tokens_neox': 585, 'n_words': 94}