NameError in diff parser validation after removing position calculation logic
NameError in diff parser validation after removing position calculation logic: a task in harbor-swesmith-rl-artifacts: Harbor SWE-Smith 强化学习数据产物 (Harbor dataset). After recent changes to the diff parser validation code, many operations are failing with NameError: name 'actual' is not defined . The…
The task
After recent changes to the diff parser validation code, many operations are failing with `NameError: name 'actual' is not defined`. The issue appears to be related to the `_assert_valid_graph` function where position calculation logic was removed but the assertion still references the `actual` variable.