You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Forest reward penalties: decide whether generations after the scored call are token-checked #5472
Under forest_penalty_scope: all_segments, a call after the scored call is token-checked when it is in another row, but not when it is in the scored row. The scored row cuts its spans at the scored call (rollout_reassembler.py:590), a cut added in #4124 for effort shaping, and the full-row check (rollout_reassembler.py:604-616) is an elif of that branch.
Take one chain 0 -> 1 -> 2, with call 1 scored and an unwanted token in call 2:
Rows
Call 2 token-checked
Reward
One row (0->1->2)
no
kept
Two rows (0->1) and (2), after a compaction
yes
zeroed
Which behaviour should reward penalties have for a call after the scored call?
A. Check the scored row in full. Token penalties use the whole row; effort shaping still stops at the scored call. Both cases zero the reward, as the non-Forest path does.
B. Stop at the scored call everywhere. Calls after the scored call are skipped in every row. Both cases keep the reward, but other rows need to know which calls come after the scored call.
C. Keep the current behaviour. No change; the two cases differ.
Activity