Spaces:
Running
Running
Commit History
-
UI Build Addendum: mount Gradio at /, preserve full FastAPI surface
Per the addendum, the user-facing Gradio terminal UI now lives at the root URL of the HF Space, while every existing FastAPI route remains untouched. Architecture - app.py exports module-level `app = mount_gradio_app(api_app, blocks, "/")` - Dockerfile launches `uvicorn app:app --host 0.0.0.0 --port 7860` - The legacy markdown landing page moved to /info; /simple kept as alias - All 17 required routes return 200 (verified via TestClient): / (Gradio), /info, /simple, /docs, /redoc, /openapi.json, /health, /tasks, /baseline, /grader, /status, /metadata, /schema, /reset, /step, /state, /mcp, /mcp/tools, /mcp/reset Gradio UI (UI Build Addendum §3.1–§3.7) - Header HTML with three external-target links: API Docs, MCP Tools, Legacy Info (target=_blank, rel=noopener) — addendum §2 - Security banner: "Your tokens are held in this browser session only..." - Three-column config: TIER radio | MODEL & API CONFIG | SCENARIO - Basic-only category dropdown (depl…517c2d9 -
24-hour sprint: all 3 tiers runnable + MCP dual-route + terminal-style Gradio UI
Each tier escalates a different dimension: Basic compute, Advanced horizon, Max realism. All three are now runnable on the HF Space. Stage 1 — codebase fixes - inference.py extends hypothesis schema enum from 3 to all 12 root causes - 9 new draft runbooks (1 per missing template), 3 v2 runbooks upgraded to canonical 5-section structure (Symptoms / Decision tree / Action sequence / Success criteria / Rollback notes) - demo/run_demo.sh exercises one scenario per failure category - tests/test_inference_covers_all_root_causes.py + tests/test_skill_runbooks_* Stage 2 — Advanced runner - sre_gym/advanced/runner.py chains Basic episodes with persistent horizon state (unresolved_alerts, pending_deploys, tech_debt, horizon_decay) - python -m sre_gym.advanced run cascading_release_train --seed 1 works - All 3 reference scenarios resolve via scripted-optimal in their phase chains Stage 3 — Max runner - sre_gym/max/runner.py: Python state-machine simulator over the 2…ad2cbc4
-
Prepare OpenEnv Round 1 submission for my-openenv
Ship the validated unified incident benchmark under the final hackathon repo name, add the submission helper files the form expects, and point the environment metadata at the requested Hugging Face Space. Constraint: Submission checks expect root-level README, inference runner, requirements file, and demo helper in addition to OpenEnv spec files Rejected: Publish the existing development repo name as-is | submission form and requested URLs need my-openenv / my-env naming Confidence: high Scope-risk: moderate Reversibility: clean Directive: Keep the published repo aligned with the actual submitted Space and root runner names so automated checks see the same project shape everywhere Tested: uv run --extra dev pytest unified_incident_env/tests -q Tested: python -m py_compile inference.py run_demo.py unified_incident_env/trainer/prompts.py Not-tested: live Hugging Face Space build after this exact GitHub syncaf19401