Spaces:
Sleeping
Sleeping
Commit History
-
fix(grpo): fresh reward design — runbook-compliance scoring
Root cause analysis ------------------- env_score was always 0.0 for two independent reasons: 1. create_ticket(label='sec-issue', priority='P1') fails TicketingApp validation for most org configs. The app returns ok=False, no ticket is stored, and the grader returns 0.0 immediately (no new tickets found). 2. Dataset seeds produced triage briefs but PMOpsEnvironment.reset(seed) independently ran rng.choice(_TASK_TYPES) — silently generating release_notes or dep_update tasks for the same seed. The triage grader was never called; the wrong grader always returned 0.0. Fixes ----- dataset.py: generate_triage_dataset now pre-simulates the env's first two RNG calls (difficulty + task_type) and only includes seeds where the env WILL run a triage episode, using the exact same difficulty and org params. rewards.py: replaced all previous reward formulas with compute_rollout_reward, a single function based on RUNBOOK COMPLIANCE: read_runbook +0.10 — process: read runbook fi…1c6aad2
-
writing the GRPO script to train qwen1.7 on A100 GRPO
5bce7ac