HF RL Explorer

Template locals extraction returns incorrect values when variables are missing

Template locals extraction returns incorrect values when variables are missing: a task in harbor-swesmith-rl-artifacts: Harbor SWE-Smith 强化学习数据产物 (Harbor dataset). When extracting template locals using get template locals , variables that should be removed (marked as missing ) are incorrectly…

The task

When extracting template locals using `get_template_locals`, variables that should be removed (marked as `missing`) are incorrectly being set instead of being removed from the context.

Part of keryszhan/harbor-swesmith-rl-artifacts.