Spaces:
Paused
Paused
Download scripts/smoke_env.py from Adity00/sqlsage-env: direct link, hf CLI and curl.
- Browser
- Download file 578 Bytes
-
https://huggingface.co/spaces/Adity00/sqlsage-env/resolve/main/scripts/smoke_env.py
- Command line
-
hf download hf://spaces/Adity00/sqlsage-env/scripts/smoke_env.py
-
curl -L -o smoke_env.py https://huggingface.co/spaces/Adity00/sqlsage-env/resolve/main/scripts/smoke_env.py
578 Bytes
| """Local smoke checks for SQLSage environment.""" | |
| from __future__ import annotations | |
| import json | |
| from sqlsage.tasks import LEVEL1_TASKS, LEVEL2_TASKS, LEVEL3_TASKS | |
| from sqlsage.training.config import default_grpo_config | |
| def main() -> None: | |
| summary = { | |
| "level1_tasks": len(LEVEL1_TASKS), | |
| "level2_tasks": len(LEVEL2_TASKS), | |
| "level3_tasks": len(LEVEL3_TASKS), | |
| "grpo_config": default_grpo_config(), | |
| } | |
| print(json.dumps(summary, indent=2)) | |
| print("Smoke checks passed (static checks only).") | |
| if __name__ == "__main__": | |
| main() | |