{# Interactive run control (Step / Play / Pause / End run), shared by the live job page and the run page's Watch tab so the controls survive the live -> watch handoff. ``script`` wires the buttons to an already-declared EventSource variable (named by ``events_var``); ``initial_episode`` seeds the episode counters from persisted artifacts when the page attaches mid-run. #} {% macro bar() -%}
{%- endmacro %} {% macro script(job_id, events_var, initial_episode=-1) -%} {%- endmacro %}