From aa7c0e4b1c51b91396bfee7a8c19cf7a8f91c9e5 Mon Sep 17 00:00:00 2001 From: Johnny Wan <2695191695@qq.com> Date: Fri, 30 Jan 2026 18:25:59 +0000 Subject: [PATCH] refactor: comment out file-based communication logic in main function for clarity and future implementation --- evaluation_function/main.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/evaluation_function/main.py b/evaluation_function/main.py index ae972f4..2e170cb 100644 --- a/evaluation_function/main.py +++ b/evaluation_function/main.py @@ -105,16 +105,16 @@ def main(): - If 2+ args provided: File-based communication (last 2 args are input/output paths) - Otherwise: RPC/IPC server mode using lf_toolkit """ - # Check for file-based communication - # shimmy passes input and output file paths as the last two arguments - if len(sys.argv) >= 3: - input_path = sys.argv[-2] - output_path = sys.argv[-1] + # # Check for file-based communication + # # shimmy passes input and output file paths as the last two arguments + # if len(sys.argv) >= 3: + # input_path = sys.argv[-2] + # output_path = sys.argv[-1] - # Verify they look like file paths (basic check) - if not input_path.startswith('-') and not output_path.startswith('-'): - handle_file_based_communication(input_path, output_path) - return + # # Verify they look like file paths (basic check) + # if not input_path.startswith('-') and not output_path.startswith('-'): + # handle_file_based_communication(input_path, output_path) + # return # Fall back to RPC/IPC server mode server = create_server()