MCPcopy Create free account
hub / github.com/asimihsan/challenges / load_existing_problems

Function load_existing_problems

topcoder/ProblemFolder.py:178–213  ·  view source on GitHub ↗

Given a directory, finds all problem folders. Returns two lists: - the first is a list of all valid problem files in the directory, as a tuple (dir_path, num, problem_name) - the second is a list of all problem folders that contain an invalid JSON file e.g. [('./47_WordFilter/pro

(directory)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

__init__Method · 0.85
cleanMethod · 0.85

Calls 3

appendMethod · 0.80
loadMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected