Spaces:
Sleeping
Sleeping
Commit History
-
Clamp all remaining score leak paths: /state, step_rewards, demo SSE
- ep.step_rewards now stores clamped task_score instead of raw RL reward (compute_reward can return exact 1.0 or negative values) - /state endpoint returns clamped step_rewards and total_reward - Removed info.rl_reward from /step response (leaked unclamped reward) - demo.py SSE chat/benchmark endpoints now clamp task_score - Added .dockerignore excluding backend/data/ so persisted bandit state from prior runs can't leak unclamped values into the image Single source of truth: _clamp_score() in sql_env.py → [0.05, 0.95]e99d0aa -
Fix reward.value to always be task_score in (0,1) exclusive
The validator checks reward.value from /step responses. Previously this was the RL reward (compute_reward) which could be exactly 1.0 on first-attempt success or negative on failure. Now reward.value = task_score (clamped to (eps, 1-eps) in grade_response). The RL reward is preserved in info.rl_reward for bandit training. Also corrects reward_range in /env/info to [0.0, 1.0].b86d426 -
fix
92cc088 -
fix
ed79e58 -
Fix IndexError: skip empty-choices chunks from HF Router streaming
8c8093f -
fix: default LLM to HF Router + Qwen2.5-72B, no custom Space variables needed
68ebe84 -
Initial submission: SQL Agent OpenEnv for Meta+HF hackathon
3c665d2