MCPcopy
hub / github.com/bregman-arie/devops-exercises / get_answers_count

Function get_answers_count

scripts/question_utils.py:48–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47
48def get_answers_count() -> List[int]:
49 file_content = get_file_content()
50 answered = get_answered_questions(file_content)
51 all_questions = get_question_list(file_content)
52 return [len(answered), len(all_questions)]
53
54
55def get_challenges_count() -> int:

Callers

nothing calls this directly

Calls 3

get_file_contentFunction · 0.85
get_answered_questionsFunction · 0.85
get_question_listFunction · 0.85

Tested by

no test coverage detected