NanduKondreddy commited on
Commit
eac318a
·
1 Parent(s): bfaedde

Debug: log what validator is actually submitting to step endpoint

Browse files
Files changed (1) hide show
  1. server/config_debug_environment.py +8 -0
server/config_debug_environment.py CHANGED
@@ -56,6 +56,14 @@ class ConfigDebugEnvironment(Environment):
56
  task_id = self._current_task_id()
57
  task = get_task(task_id)
58
 
 
 
 
 
 
 
 
 
59
  # Run the grader (returns float for validator compatibility)
60
  grader_result = task.grader(action.fixed_config)
61
 
 
56
  task_id = self._current_task_id()
57
  task = get_task(task_id)
58
 
59
+ # DEBUG: Log WHAT THE VALIDATOR IS SENDING
60
+ print(
61
+ f"[VALIDATOR SUBMITTED] task={task_id} "
62
+ f"fixed_config length={len(action.fixed_config)} chars",
63
+ flush=True
64
+ )
65
+ print(f"[SUBMITTED CONFIG FIRST 200 CHARS]: {repr(action.fixed_config[:200])}", flush=True)
66
+
67
  # Run the grader (returns float for validator compatibility)
68
  grader_result = task.grader(action.fixed_config)
69