MCPcopy Create free account
hub / github.com/deepseek-ai/DeepSpec / find_resume_offset

Function find_resume_offset

scripts/data/generate_train_data.py:152–158  ·  view source on GitHub ↗
(output_path, error_path)

Source from the content-addressed store, hash-verified

150
151
152def find_resume_offset(output_path, error_path):
153 if not os.path.exists(output_path):
154 return 0, 0, 0
155
156 success_count = count_lines(output_path)
157 error_count = count_lines(error_path) if os.path.exists(error_path) else 0
158 return success_count + error_count, success_count, error_count
159
160
161def validate_server(args, server_address, probe):

Callers 1

mainFunction · 0.85

Calls 1

count_linesFunction · 0.85

Tested by

no test coverage detected