Skip to content

rlf-codex-rl 5.8:样本级 reward/success 上事件磁带,gate 从磁带收集 outcome - #234

Closed
michaellchung wants to merge 2 commits into
rlf-pr4-training-flagsfrom
rlf-pr5-tape-outcomes
Closed

michaellchung wants to merge 2 commits into
rlf-pr4-training-flagsfrom
rlf-pr5-tape-outcomes

Conversation

@michaellchung

Copy link
Copy Markdown
Contributor

范围

5.8 gate 证据链的样本级闭环:

  • ports 引擎侧(yeto/rl/adapters/miles/legacy/engine.py):_emit_sample_outcomes——每个样本的 reward/success 写入事件磁带。ports 桥接只能持久化空的 completed-group 队列,样本级证据必须搭磁带(镜像到 Modal volume,岛回收后仍在)。fail-closed:无数值 reward 的样本跳过,磁带有空洞 gate 拒绝
  • gate 侧(yeto/rl/eval/rlf_rl_gate.py):judge 从磁带收集样本 outcome,纳入判定证据
  • 附 5.8 gate attempt-3 根因证据(unfused OOM、sandbox idle 回收,后者已由 rlf-codex-rl:launcher 透传 YETO_RLF_* + rlf_modal_provider + 沙箱 idle_timeout 跟随 ttl_s #232 修复)

对应 openspec change:rlf-codex-rl(任务 5.8)。

测试证据

tests/test_rlf_rl_gate.py: 22 passed in 1.67s

新增磁带 outcome 收集、空洞拒绝、引擎发射路径的用例(本 PR 为 gate 测试 +8)。

依赖关系

Made with Cursor

chowhsu and others added 2 commits October 11, 2026 12:49
Run rlf-gate-20261011-7 SUCCEEDED (2 rounds trained, reward 0.125) but the
gate could not judge: on the ports engine the island checkpoint only ever
holds an empty completed-group queue, so per-sample reward/success died
with the island. queue_completed_groups now also emits one compact
rl_sample_outcome event per sample (fail-closed: skips non-numeric reward,
success=None is rejected by the judge), and the gate collects samples from
--tape-events when --completed-groups is absent. 3 new tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants