Loading .gitignore +1 −1 Changes for .gitignore: 1 added line, 1 removed line. Original line number Diff line number Diff line ### https://raw.github.com/github/gitignore/9d7ff09c7d38dce9ef03e7ea4dc908a622546757/Python.gitignore # Project-specific files /conf.json /conf*.json /problems/* !/problems/.gitkeep /solutions/* Loading roles/host.py +1 −0 Changes for roles/host.py: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -84,6 +84,7 @@ class Host(object): if problem_key in self.problems: self.problems[problem_key].put_solution(solution) print(solution['solution']) return {'status': 'registered'} else: return {'status': 'error'} Loading hsgw @ 0098cc9c Compare b306364d to 0098cc9c Changes for solvers/hsgw: 1 added line, 1 removed line. Original line number Diff line number Diff line Subproject commit b306364dc696270165a9c67921720e4c6acf6866 Subproject commit 0098cc9c1932bd192f6a5fe066d9aea7960e5400 utils/data.py +4 −0 Changes for utils/data.py: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ class Problem(object): self.name = '' self.size = (0, 0) self.block_num = 0 self.problem = '' self.status = 'Ready' self.solutions = dict() Loading @@ -23,6 +24,7 @@ class Problem(object): def _load_problem(self, path): with open(path, 'r') as fp: q_text = fp.read() q_lines = fp.readlines() board_size = [0, 0] Loading @@ -40,6 +42,7 @@ class Problem(object): self.size = board_size self.block_num = block_num self.name = name self.problem = q_text self.status = 'Ready' def get_dict(self): Loading @@ -48,6 +51,7 @@ class Problem(object): 'size': self.size, 'size_str': self.size_str, 'block_num': self.block_num, 'problem': self.problem, 'status': self.status } Loading Loading
.gitignore +1 −1 Changes for .gitignore: 1 added line, 1 removed line. Original line number Diff line number Diff line ### https://raw.github.com/github/gitignore/9d7ff09c7d38dce9ef03e7ea4dc908a622546757/Python.gitignore # Project-specific files /conf.json /conf*.json /problems/* !/problems/.gitkeep /solutions/* Loading
roles/host.py +1 −0 Changes for roles/host.py: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -84,6 +84,7 @@ class Host(object): if problem_key in self.problems: self.problems[problem_key].put_solution(solution) print(solution['solution']) return {'status': 'registered'} else: return {'status': 'error'} Loading
hsgw @ 0098cc9c Compare b306364d to 0098cc9c Changes for solvers/hsgw: 1 added line, 1 removed line. Original line number Diff line number Diff line Subproject commit b306364dc696270165a9c67921720e4c6acf6866 Subproject commit 0098cc9c1932bd192f6a5fe066d9aea7960e5400
utils/data.py +4 −0 Changes for utils/data.py: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ class Problem(object): self.name = '' self.size = (0, 0) self.block_num = 0 self.problem = '' self.status = 'Ready' self.solutions = dict() Loading @@ -23,6 +24,7 @@ class Problem(object): def _load_problem(self, path): with open(path, 'r') as fp: q_text = fp.read() q_lines = fp.readlines() board_size = [0, 0] Loading @@ -40,6 +42,7 @@ class Problem(object): self.size = board_size self.block_num = block_num self.name = name self.problem = q_text self.status = 'Ready' def get_dict(self): Loading @@ -48,6 +51,7 @@ class Problem(object): 'size': self.size, 'size_str': self.size_str, 'block_num': self.block_num, 'problem': self.problem, 'status': self.status } Loading