harbor run -t openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-2898harbor download openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-2898Goal
What you need to implement
init(self, script_path: str = "./gcewing/sudokode/sudokode.py")
encode(self, input_text_file: str, grids_output_file: str, stats_output_file: Optional[str] = None, debug: bool = False) -> None
decode(self, grids_input_file: str, output_text_file: str, stats_output_file: Optional[str] = None, debug: bool = False) -> None
Notes and expectations
init(self, sudokode_script: str = "./gcewing/sudokode/sudokode.py", test_message_file: str = TEST_MESSAGE_FILENAME, grids_file: str = GRIDS_FILENAME, decoded_file: str = DECODED_FILENAME, log_file: str = LOG_FILENAME, diff_report_file: str = DIFF_REPORT_FILENAME, summary_file: str = SUMMARY_FILENAME, results_file: str = RESULTS_JSON_FILENAME) -> None
create_test_message(self, content: str, file_path: Optional[str] = None) -> None
run_round_trip(self) -> None
verify(self) -> bool
generate_summary(self) -> None
write_file(path: str, content: str) -> None
read_file(path: str) -> str
diff_files(path_a: str, path_b: str) -> str
Files to modify
Assumptions and guidance
How tests will exercise the code (high-level)
What you should deliver
Notes
Important: place your implementation at /app/app.py so the tests can import app.