Spaces:
Running
Running
Commit History
-
finalization: blog + README + execution rewrite, drop 3B + openclaw shim
- Add BLOG.md at repo root with 6 blog assets in docs/blog/. Trimmed to ~1.5k words, opens with "why this matters", embeds an agent transcript, drops the dashed-pending rectangle for the real eval table, ends on a claim instead of "watch this space". - Rewrite README around env -> reward -> coliseum -> training (honest weak point) arc, with the new tier names (Triage/Strategy/Operations) and the Madhav-GPT/sre-env GitHub URL. Adds the world-modelling framing to the reward section. - Rewrite execution.md as a leaner operator runbook. Reflects the actual current state (training executed, results landed) instead of the old "to be executed externally" framing. Drops openclaw_integration mentions. - Delete openclaw_integration/ shim entirely (rename to coliseum/ already shipped). Drop the legacy 3B Qwen2.5 notebook (01_triage_train_grpo.ipynb + .py) and the old basic/advanced/max-named variants (01_basic_train_grpo_unsloth, 02_basic_eval_comparison, 03_advanced_bluep…0058c94
-
hackathon sprint: grader collapse + coliseum rename + training pipeline
- 5-component grader (outcome 0.45 + valid 0.20 + format 0.10 + anti 0.15 + eff 0.10) - openclaw_integration renamed to coliseum (ArenaClient/ArenaPool, COLISEUM_* env) - sre_gym tier renames: basic→triage, advanced→strategy, max→operations - README rewrite with Triage/Strategy/Operations vocabulary - training pipeline: build_corpus.py + run_expert_collection.py + 01_triage_train_grpo notebook - 30 expert trajectories for the 6 missing templates (sonnet_missing6.jsonl) - 120-episode SFT corpus at 60/20/20 expert/mediocre/failure split - notebook bootstrap clones from Madhav-GPT/sre-env Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>c9baa73 -
UI rewrite: visual-spec terminal + held-out eval streamer
Adapts the static HTML visual spec into the live Gradio app: - HEADER: brand mark "SRE-GYM //" with phosphor-green glow, status dot, three nav links (api docs / mcp tools / legacy) - BUILD STRIP: version, openenv-core, held-out count, ceiling band, theme, per-session id (regenerated on every page load) - BANNER: amber-bordered key-icon (⚿) security note about token handling - CONFIG: two-column grid (no scenario picker any more — eval runs the full held-out set every time): A. TIER radio styled as cards (Basic / Advanced / Max with descriptions) B. MODEL & KEYS — HF token (required), provider dropdown, model textbox (auto-fills with the tier's Qwen default), provider api key - TERMINAL: gr.HTML pane with full terminal chrome (3 dots, RUNNING / COMPLETE / BLOCKED status, elapsed timer); body uses color-coded spans (.ts / .ax / .ok / .er / .rw / .obs / .em / .prompt / .dim) matching the static spec exactly - CONTROLS: ▶ RUN EVAL / ■ STOP / ↻ RESET buttons + ag…48a148f -
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 -
Tier-escalating sre-gym v3.0 — compute → horizon → realism
Three-tier reframe of the env around the dimensional-escalation insight: each tier escalates a different bottleneck, not just scenario count. Basic (runnable): - 12 templates × 5 procgen variants = 72 deterministic scenarios - 6 v2 templates retained verbatim - 6 round-2 templates added (dep_degradation, memory_leak_oom, auth_token_expiry, network_partition, rate_limit_retry_storm, migration_lock) — each grounded in a 2025–26 production postmortem - Hardened scripted-optimal ceiling kept ≤ 0.80 across all 12 - 26 new template tests + 12 wrapper tests = 38 added (74 total green) Advanced (design): - 3 reference scenarios shipped as YAML (cascading_release_train / observability_pipeline_outage / supabase_rls_silent_leak) with topology, multi-phase incident chain, expanded action set, reward dimensions, reference traces, and synthetic on-call peer behaviour Max (design): - One fully-specced family (ecommerce_vibecoded_saas) with 22-service docker-compose stack, 1…2733f3f