HF RL Explorer

Bitwise dunder method access on built-in types broken in Jinja2 sandbox (regression)

Bitwise dunder method access on built-in types broken in Jinja2 sandbox (regression): a task in LegoFlow-SWE (Harbor dataset). Since a recent change that restricted all underscore‑prefixed attribute access in the Jinja2 sandbox, calling safe double‑underscore (dunder) methods on built-in objects…

The task

Since a recent change that restricted all underscore‑prefixed attribute access in the Jinja2 sandbox, calling safe double‑underscore (dunder) methods on built-in objects like `int` no longer works in Ansible templates. This breaks existing playbooks that rely on bitwise operators (e.g. `__or__`, `__and__`, `__xor__`)…

Part of Lego-X/LegoFlow-SWE.