Spaces:
Sleeping
Sleeping
Commit History
-
fix: clamp all scores to strictly open interval (0.0, 1.0)
Akshaya KumarPhase 2 failed: 'One or more task scores are out of range'. Hackathon requires reward strictly between 0 and 1 (not 0.0, not 1.0). Changes: - grader.py: clamp final score to (0.01, 0.99) instead of [0.0, 1.0] - environment.py: reset() now returns reward=0.01 (not 0.0) Verified: all 4 query types across all 3 tasks now produce scores strictly in the open interval (0, 1). Max possible = 0.99.2ef23a4 -
fix: rewrite inference.py to use self-contained WS client with proper SSL
Akshaya KumarPhase 2 deep validation failed because inference.py crashed with an unhandled exception. Root causes: 1. The OpenEnv EnvClient's WebSocket connection failed against HF Spaces due to SSL certificate verification issues (no certifi) 2. The sql_debug_env package import would fail if not installed in the validator's environment Fix: Replace the EnvClient dependency with a self-contained SimpleWSEnv client that uses raw websockets + certifi for proper SSL. No more dependency on the sql_debug_env package from inference.py. Also: - Add root requirements.txt for inference.py dependencies - Add websockets and certifi to pyproject.toml inference extras - Always exit 0 (never sys.exit(1) on partial scores) - Wrap everything in try/except for robustness - On LLM failure, still submit broken query to env for real rewards Tested: inference.py runs cleanly against live HF Space with exit code 07a539e6 -
fix: correct env var name in README (HF_TOKEN not OPENAI_API_KEY) and add baseline scores
Akshaya Kumar28179dd
-
Update baseline scores to NVIDIA NIM LLaMA models
Akshaya Kumarb8de4cc -
Initial commit — sql-debug-env
Akshaya Kumar8100965 -
Add NVIDIA NIM Llama-3.3-70b to model evaluation table
Akshaya KumarUnverified signature9804c89 -
Add real project files
Akshaya Kumar50bf486 -
initial commit
Verified signaturef1cc981