




'''simple docstring'''







import os


# All paths are set with the intent you should run this script from the root of the repo with the command
# python utils/check_doctest_list.py
A     ='.'


if __name__ == "__main__":
   A     =os.path.join(REPO_PATH, 'utils/documentation_tests.txt')
   A     =[]
   A     =[]
   with open(doctest_file_path) as fp:
      for line in fp:
         A     =line.strip()
         A     =os.path.join(REPO_PATH, line)
         if not (os.path.isfile(path) or os.path.isdir(path)):
            non_existent_paths.append(line)
         all_paths.append(path)
   if len(non_existent_paths) > 0:
      A     ='\n'.join(non_existent_paths)
      raise ValueError(f"""`utils/documentation_tests.txt` contains non-existent paths:\n{non_existent_paths}""")
   if all_paths != sorted(all_paths):
      raise ValueError('Files in `utils/documentation_tests.txt` are not in alphabetical order.')










'''simple docstring'''







import os





def 						snake_case_							():
    UpperCAmelCase			       =		os.path.join(os.path.dirname(_a     )    ,   '''num.txt'''     )
    with open(_a     ) as file_hand:
        return str(sum(int(_a     ) for line in file_hand     )     )[:1_0]


if __name__ == "__main__":
   print(solution())




