@interaction
def apply_goal_tactic(goal, tactic):
    code = '''{}(goal({!r}))'''.format(tactic, goal.id)
    yield ExecuteNewCell(code)
Create a new cell in the notebook that applies the tactic
dataset/ETHPy150Open Microsoft/ivy/ivy/ui_extensions_api.py/apply_goal_tactic