MCPcopy Create free account

hub / github.com/bregman-arie/devops-exercises / functions

Functions50 in github.com/bregman-arie/devops-exercises

↓ 5 callersFunctionget_question_list
(file_content: str)
scripts/question_utils.py:23
↓ 4 callersFunctionget_answered_questions
(file_content: str)
scripts/question_utils.py:32
↓ 3 callersFunctionget_file_content
()
scripts/question_utils.py:18
↓ 3 callersFunctionopen_test_case_file
(n: int)
tests/syntax_checker_unittest.py:12
↓ 3 callersFunctionpretty_json
(arg)
topics/flask_container_ci/app/main.py:49
↓ 2 callersFunctionget_challenges_count
()
scripts/question_utils.py:55
↓ 2 callersFunctionopen_test_case_file
(n: int)
tests/scripts_question_utils_unittest.py:7
↓ 1 callersFunctionbinary_search
A Binary Search Example which has O(log n) time complexity.
coding/python/binary_search.py:7
↓ 1 callersFunctioncheck_details_tag
Check whether the structure: <details> ... </details> Is correctly followed, if not generates an error.
tests/syntax_lint.py:58
↓ 1 callersFunctioncheck_md_file
(file_name)
tests/syntax_lint.py:136
↓ 1 callersFunctioncheck_summary_tag
Check whether the structure: <summary> ... </summary> Is correctly followed, if not generates an error.
tests/syntax_lint.py:95
↓ 1 callersFunctionfind_target_in_list
(target: int, lst: List[int])
coding/python/binary_search.py:26
↓ 1 callersFunctiongenerate_random_list
(size: int = 10, lower: int = 1, upper: int = 50)
coding/python/binary_search.py:22
↓ 1 callersFunctiongenerate_random_list
(size: int = 10, lower: int = 1, upper: int = 100)
coding/python/merge_sort.py:31
↓ 1 callersFunctionmain
Executes the binary search algorithm with a randomly generated list. Time Complexity: O(log n)
coding/python/binary_search.py:30
↓ 1 callersFunctionmain
Executes the merge sort algorithm with a randomly generated list. Time Complexity: O(n log n)
coding/python/merge_sort.py:35
↓ 1 callersFunctionmain
Reads through README.md for question/answer pairs and adds them to a list to randomly select from and quiz yourself. Supports skipping questio
scripts/random_question.py:6
↓ 1 callersFunctionmerge
(left: List[int], right: List[int])
coding/python/merge_sort.py:16
↓ 1 callersFunctionmerge_sort
(arr: List[int])
coding/python/merge_sort.py:7
↓ 1 callersFunctionpretty_json
(arg)
topics/flask_container_ci2/app/main.py:47
Functionall_users
()
topics/flask_container_ci/app/main.py:32
Functioncolumn
(matrix, column_number)
topics/flask_container_ci2/app/main.py:36
Functioncount_details
Counts the total amount of <details> and </details> Used for debugging purpose, not meant to be used in actual tests
tests/syntax_lint.py:22
Functioncount_summary
Counts the total amount of <details> and </details> Used for debugging purpose, not meant to be used in actual tests
tests/syntax_lint.py:40
Functioncreate_test_app
()
topics/flask_container_ci/app/main.py:55
Functionget_answers_count
()
scripts/question_utils.py:48
Functionget_random_question
(question_list: List[str], with_answer: bool = False)
scripts/question_utils.py:59
Functionindex
()
topics/flask_container_ci2/app/main.py:17
Functionindex
()
topics/flask_container_ci/app/main.py:21
Functionlambda_handler
(event, context)
scripts/aws s3 event triggering/s3-lambda/s3-lambda.py:5
Functionmatrix
(matrix)
topics/flask_container_ci2/app/main.py:30
Functionrow
(matrix, row_number)
topics/flask_container_ci2/app/main.py:42
MethodsetUp
(self)
topics/flask_container_ci2/tests.py:11
MethodsetUp
(self)
topics/flask_container_ci2/app/tests.py:14
MethodsetUp
(self)
topics/flask_container_ci/tests.py:11
MethodsetUp
(self)
topics/flask_container_ci/app/tests.py:14
MethodtearDown
(self)
topics/flask_container_ci2/app/tests.py:22
MethodtearDown
(self)
topics/flask_container_ci/app/tests.py:22
Methodtest_case_1
(self)
tests/scripts_question_utils_unittest.py:17
Methodtest_case_2
(self)
tests/scripts_question_utils_unittest.py:25
Methodtest_details_count_case1
(self)
tests/syntax_checker_unittest.py:27
Methodtest_details_count_case2
(self)
tests/syntax_checker_unittest.py:30
Methodtest_details_errors_1
(self)
tests/syntax_checker_unittest.py:33
Methodtest_details_errors_2
(self)
tests/syntax_checker_unittest.py:37
Methodtest_main_page
(self)
topics/flask_container_ci2/tests.py:14
Methodtest_main_page
(self)
topics/flask_container_ci/tests.py:14
Methodtest_matrix
(self)
topics/flask_container_ci2/tests.py:18
Methodtest_users_page
(self)
topics/flask_container_ci/tests.py:18
Functionuser_data
(username)
topics/flask_container_ci/app/main.py:37
Functionuser_something
(username)
topics/flask_container_ci/app/main.py:45