We implemented an API from code to execute Pymatgen 3 code and obtain the crystal structure, see Table . We formatted the code block in the dataset using markdown style, delimiting every code line with triple backticks. The API parses the code block by considering everything within triple backticks as executable Python code and everything else as a text comment. We separately execute the code with the API and obtain a Pymatgen Structure object.