






def 	lowerCamelCase__      (  lowercase					):

  """simple docstring"""






  if not all(char in "01" for char in bin_string					):
    raise ValueError("Non-binary value was passed to the function"					)
  if not bin_string:
    raise ValueError("Empty string was passed to the function"					)
  SCREAMING_SNAKE_CASE							:   Any						    =     ""
  while len(lowercase					) % 3 != 0:
    SCREAMING_SNAKE_CASE							:   Optional[int]						    =     "0" + bin_string
  SCREAMING_SNAKE_CASE							:   Union[str, Any]						    =     [
      bin_string[index : index + 3]
      for index in range(len(lowercase					)					)
      if index % 3 == 0
  ]
  for bin_group in bin_string_in_3_list:
    SCREAMING_SNAKE_CASE							:   Tuple						    =     0
    for index, val in enumerate(lowercase					):
      oct_val += int(2 ** (2 - index) * int(lowercase					)					)
    oct_string += str(lowercase					)
  return oct_string


if __name__ == "__main__":
   from doctest import testmod

   testmod()












'''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
lowercase      :   List[str]      =       """."""


if __name__ == "__main__":
      lowercase      :   List[str]      =       os.path.join(REPO_PATH, """utils/documentation_tests.txt""")
      lowercase      :   Union[str, Any]      =       []
      lowercase      :   List[str]      =       []
      with open(doctest_file_path) as fp:
            for line in fp:
                  lowercase      :   List[str]      =       line.strip()
                  lowercase      :   Optional[Any]      =       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:
            lowercase      :   int      =       """\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.""")



