template: ClassVar[str] = 'Transform the math story plot into a JSON object. Don\'t guess at any of the parts.\n\n{format_instructions}\n\n\n\nStory: Boris has seven times the number of pets as Marcia. Jan has three times the number of pets as Marcia. Marcia has two more pets than Cindy.\n\n\n\n# JSON:\n\n\n\n{{\n    "attribute": "pet_count",\n    "entities": [\n        {{\n            "name": "cindy",\n            "value": 0,\n            "depends_on": [],\n            "code": "pass"\n        }},\n        {{\n            "name": "marcia",\n            "value": 0,\n            "depends_on": ["cindy"],\n            "code": "marcia.value = cindy.value + 2"\n        }},\n        {{\n            "name": "boris",\n            "value": 0,\n            "depends_on": ["marcia"],\n            "code": "boris.value = marcia.value * 7"\n        }},\n        {{\n            "name": "jan",\n            "value": 0,\n            "depends_on": ["marcia"],\n            "code": "jan.value = marcia.value * 3"\n        }}\n    ]\n}}\n\n\n\n\nStory: Boris gives 20 percent of his money to Marcia. Marcia gives 10\npercent of her money to Cindy. Cindy gives 5 percent of her money to Jan.\n\n\n\n\n# JSON:\n\n\n\n{{\n    "attribute": "money",\n