Spaces:
Sleeping
Sleeping
Commit History
-
ADD: Session state diagnostics
DeepikaAdded comprehensive logging to diagnose session persistence issue: ConfigDebugEnvironment: - [SESSION_DEBUG] logs environment object_id in reset() and step() - Shows if same env instance is reused or new one created - Tracks _episode_id for session correlation StepPayloadWrapperMiddleware: - [SESSION_MIDDLEWARE] logs x-session-id from headers/cookies - Confirms session ID is preserved across requests - Tracks /step request lifecycle Expected correct output: [SESSION_DEBUG] step() called on env object_id=XXXXX (same ID repeated) Bug indicator: [SESSION_DEBUG] step() called on env object_id=AAAAA [SESSION_DEBUG] step() called on env object_id=BBBBB (different!) This will show if new environment created per request.bac0ba4 -
ADD: Debug logging to progression logic
DeepikaAdded comprehensive debug logs to understand why task progression fails: - BEFORE_STEP: Log current state when step() is called - PROGRESSION_CHECK: Log reward and step counters - TASK_DONE: Log decision logic (reward >= 0.99 or step >= 5) - ADVANCING: Log when transitioning to next task - NEW_TASK: Log new current_task_index and task_id - EPISODE_COMPLETE: Log when all tasks finished This will help identify if: 1. Step counter is incrementing correctly 2. Task completion check ever triggers 3. current_task_index is being incremented 4. New task is being set properlya65927e
-
CRITICAL RUNTIME FIX: Remove tuple unpacking from environment handlers - graders now return FLOAT only, not tuples
Nanda Kumar Kondreddyb8c69e2 -
Phase 2: Benchmark Quality Upgrades - Progressive graders, realistic multi-bug tasks, ground_truth exposure
Nanda Kumar Kondreddyb43aff5