"""A side-by-side A/B review page for animations: OLD (left) vs NEW (right), each looping, with a per-row choice control. Your picks are saved in the page (localStorage) and shown in a summary you can read back to me. Round 1 (applied): PID=new, LQR=new, Flow=new, Diffusion=old. Round 2 (this page): GAIL, Decision Transformer, World-Models dream, Q-learning, Policy Gradient, Actor-Critic. Run: .venv_robot_paradigms/bin/python gen_compare.py -> robot_compare.html """ def render(): return TEMPLATE def main(): open("robot_compare.html", "w", encoding="utf-8").write(TEMPLATE) print("wrote robot_compare.html (%d chars)" % len(TEMPLATE)) TEMPLATE = r"""
Left = current/old, Right = my proposed new. Both loop. Pick one per row; choices are saved and listed below. (Round 1 picks — PID/LQR/Flow = new, Diffusion = old — are already applied.)
""" if __name__ == "__main__": main()