Demo2Code: From Summarizing Demonstrations to Synthesizing Code via Extended Chain-of-Thought | Read Paper on Bytez