{"task": {"agent_timeout": 3600, "task": "toxicology__196", "verifier_timeout": 1800, "instruction": "You are given a natural language question and a SQLite database. Your task is to write a SQL query that answers the question.\n\nDatabase file: `/app/db.sqlite`\nYou may use `sqlite3` or Python to inspect the schema and data. Do not modify the database.\n\nQuestion:\nFor non-carcinogenic molecules containing chlorine, what are the statistics including the count of such molecules, average and maximum number of chlorine atoms, average number of bonds, count of molecules with more single bonds than double bonds, and average number of bonds involving chlorine?\n\nEvidence:\nnon-carcinogenic molecules refers to label = '-'; chlorine atoms refers to element = 'cl'; single bonds refers to bond_type = '-'; double bonds refers to bond_type = '='\n\nSchema:\nCREATE TABLE `atom` (\n  `atom_id` TEXT NOT NULL,\n  `molecule_id` TEXT DEFAULT NULL,\n  `element` TEXT DEFAULT NULL,\n  PRIMARY KEY (`atom_id`),\n  FOREIGN KEY (`molecule_id`) REFERENCES `molecule` (`molecule_id`)\n)\nCREATE TABLE `bond` (\n  `bond_id` TEXT NOT NULL,\n  `molecule_id` TEXT DEFAULT NULL,\n  `bond_type` TEXT DEFAULT NULL,\n  PRIMARY KEY (`bond_id`),\n  FOREIGN KEY (`molecule_id`) REFERENCES `molecule` (`molecule_id`)\n)\nCREATE TABLE `connected` (\n  `atom_id` TEXT NOT NULL,\n  `atom_id2` TEXT NOT NULL,\n  `bond_id` TEXT DEFAULT NULL,\n  PRIMARY KEY (`atom_id`,`atom_id2`),\n  FOREIGN KEY (`atom_id`) REFERENCES `atom` (`atom_id`) ON DELETE CASCADE ON UPDATE CASCADE,\n  FOREIGN KEY (`atom_id2`) REFERENCES `atom` (`atom_id`) ON DELETE CASCADE ON UPDATE CASCADE,\n  FOREIGN KEY (`bond_id`) REFERENCES `bond` (`bond_id`) ON DELETE CASCADE ON UPDATE CASCADE\n)\nCREATE TABLE `molecule` (\n  `molecule_id` TEXT NOT NULL,\n  `label` TEXT DEFAULT NULL,\n  PRIMARY KEY (`molecule_id`)\n)\n\nOutput:\nWrite ONLY the SQL query to `/app/answer.sql`. Do not include code fences, comments, or explanations.\n", "memory": "4096m", "runnable": false, "difficulty": "hard", "language": "", "cpus": 1, "instruction_truncated": false, "category": "database", "compose": false, "has_solution": true, "oracle": null, "docker_image": "", "taskset": "bird-bench", "tags": []}, "runs": []}