From c0b5ff54b3edce5b02d405e042eda9a34832e03f Mon Sep 17 00:00:00 2001 From: seyeong Date: Fri, 27 Nov 2026 08:59:00 +0900 Subject: [PATCH 1/2] Pin optional cited card-frame domain documentation separately from baseline --- .../bird-schema-with-frame-document.json | 13 ++++++++ .../card-frame-document/db-linkage-audit.json | 33 +++++++++++++++++++ .../accuracy/card-frame-document/sources.json | 30 +++++++++++++++++ bench/accuracy/evaluate.py | 4 ++- tests/test_accuracy_benchmark.py | 18 ++++++++++ 5 files changed, 97 insertions(+), 1 deletion(-) create mode 100644 bench/accuracy/bird-schema-with-frame-document.json create mode 100644 bench/accuracy/card-frame-document/db-linkage-audit.json create mode 100644 bench/accuracy/card-frame-document/sources.json diff --git a/bench/accuracy/bird-schema-with-frame-document.json b/bench/accuracy/bird-schema-with-frame-document.json new file mode 100644 index 00000000..32b0c110 --- /dev/null +++ b/bench/accuracy/bird-schema-with-frame-document.json @@ -0,0 +1,13 @@ +{ + "debit_card_specializing": "CREATE TABLE `customers` (\n `CustomerID` INTEGER, -- identification of the customer; example: [3, 5]\n `Segment` TEXT, -- client segment; example: ['SME', 'LAM']\n `Currency` TEXT, -- Currency; example: ['EUR']\n PRIMARY KEY (`CustomerID`)\n);\n\nCREATE TABLE `gasstations` (\n `GasStationID` INTEGER, -- Gas Station ID; example: [44, 45]\n `ChainID` INTEGER, -- Chain ID; example: [13, 6]\n `Country` TEXT, -- example: ['CZE']\n `Segment` TEXT, -- chain segment; example: ['Value for money', 'Premium']\n PRIMARY KEY (`GasStationID`)\n);\n\nCREATE TABLE `products` (\n `ProductID` INTEGER, -- Product ID; example: [1, 2]\n `Description` TEXT, -- Description; example: ['Rucní zadání', 'Nafta']\n PRIMARY KEY (`ProductID`)\n);\n\nCREATE TABLE `transactions_1k` (\n `TransactionID` INTEGER, -- Transaction ID; example: [1, 2]\n `Date` DATE, -- Date; example: ['2012-08-24']\n `Time` TEXT, -- Time; example: ['09:41:00', '10:03:00']\n `CustomerID` INTEGER, -- Customer ID; example: [31543, 46707]\n `CardID` INTEGER, -- Card ID; example: [486621, 550134]\n `GasStationID` INTEGER, -- Gas Station ID; example: [3704, 656]\n `ProductID` INTEGER, -- Product ID; example: [2, 23]\n `Amount` INTEGER, -- Amount; example: [28, 18]\n `Price` REAL, -- Price; example: [672.64, 430.72]\n PRIMARY KEY (`TransactionID`)\n);\n\nCREATE TABLE `yearmonth` (\n `CustomerID` INTEGER, -- Customer ID; example: [5, 6]\n `Date` TEXT, -- Date; example: ['201207', '201302']\n `Consumption` REAL, -- consumption; example: [528.3, 1598.28]\n PRIMARY KEY (`CustomerID`, `Date`),\n FOREIGN KEY (`CustomerID`) REFERENCES `customers` (`CustomerID`)\n);\n\n\nOfficial column/value descriptions (2024 Dev release):\n{\n \"customers\": [\n {\n \"original_column_name\": \"CustomerID\",\n \"column_name\": \"\",\n \"column_description\": \"identification of the customer\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Segment\",\n \"column_name\": \"client segment\",\n \"column_description\": \"client segment\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Currency\",\n \"column_name\": \"\",\n \"column_description\": \"Currency\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"gasstations\": [\n {\n \"original_column_name\": \"GasStationID\",\n \"column_name\": \"Gas Station ID\",\n \"column_description\": \"Gas Station ID\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"ChainID\",\n \"column_name\": \"Chain ID\",\n \"column_description\": \"Chain ID\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Country\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Segment\",\n \"column_name\": \"chain segment\",\n \"column_description\": \"chain segment\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"products\": [\n {\n \"original_column_name\": \"ProductID\",\n \"column_name\": \"Product ID\",\n \"column_description\": \"Product ID\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Description\",\n \"column_name\": \"\",\n \"column_description\": \"Description\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"transactions_1k\": [\n {\n \"original_column_name\": \"TransactionID\",\n \"column_name\": \"Transaction ID\",\n \"column_description\": \"Transaction ID\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Date\",\n \"column_name\": \"\",\n \"column_description\": \"Date\",\n \"data_format\": \"date\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Time\",\n \"column_name\": \"\",\n \"column_description\": \"Time\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"CustomerID\",\n \"column_name\": \"Customer ID\",\n \"column_description\": \"Customer ID\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"CardID\",\n \"column_name\": \"Card ID\",\n \"column_description\": \"Card ID\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"GasStationID\",\n \"column_name\": \"Gas Station ID\",\n \"column_description\": \"Gas Station ID\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"ProductID\",\n \"column_name\": \"Product ID\",\n \"column_description\": \"Product ID\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Amount\",\n \"column_name\": \"\",\n \"column_description\": \"Amount\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Price\",\n \"column_name\": \"\",\n \"column_description\": \"Price\",\n \"data_format\": \"real\",\n \"value_description\": \"commonsense evidence:\\n\\ntotal price = Amount x Price\"\n }\n ],\n \"yearmonth\": [\n {\n \"original_column_name\": \"CustomerID\",\n \"column_name\": \"Customer ID\",\n \"column_description\": \"Customer ID\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Date\",\n \"column_name\": \"\",\n \"column_description\": \"Date\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Consumption\",\n \"column_name\": \"\",\n \"column_description\": \"consumption\",\n \"data_format\": \"real\",\n \"value_description\": \"\"\n }\n ]\n}", + "student_club": "CREATE TABLE `event` (\n `event_id` TEXT, -- A unique identifier for the event; example: ['rec0Si5cQ4rJRVzd6', 'rec0akZnLLpGUloLH']\n `event_name` TEXT, -- event name; example: ['March Meeting', 'Officers meeting - January']\n `event_date` TEXT, -- The date the event took place or is scheduled to take place; example: ['2020-03-10T12:00:00', '2020-01-14T09:30:00']\n `type` TEXT, -- The kind of event, such as game, social, election; example: ['Meeting', 'Election']\n `notes` TEXT, -- A free text field for any notes about the event; example: ['All active members can vote for new officers between 4pm-8pm.', \"Attend Women's soccer game as a group.\"]\n `location` TEXT, -- Address where the event was held or is to be held or the name of such a location; example: ['MU 215', 'Campus Soccer/Lacrosse stadium']\n `status` TEXT, -- One of three values indicating if the event is in planning, is opened, or is closed; example: ['Open', 'Planning']\n PRIMARY KEY (`event_id`)\n);\n\nCREATE TABLE `major` (\n `major_id` TEXT, -- A unique identifier for each major; example: ['rec06DF6vZ1CyPKpc', 'rec09LedkREyskCNv']\n `major_name` TEXT, -- major name; example: ['Outdoor Product Design and Development', 'Agricultural Communication']\n `department` TEXT, -- The name of the department that offers the major; example: ['School of Applied Sciences, Technology and Education', 'Watershed Sciences Department']\n `college` TEXT, -- The name college that houses the department that offers the major; example: ['College of Agriculture and Applied Sciences', 'College of Natural Resources']\n PRIMARY KEY (`major_id`)\n);\n\nCREATE TABLE `zip_code` (\n `zip_code` INTEGER, -- The ZIP code itself. A five-digit number identifying a US post office.; example: [501, 544]\n `type` TEXT, -- The kind of ZIP code; example: ['Unique', 'Standard']\n `city` TEXT, -- The city to which the ZIP pertains; example: ['Holtsville', 'Adjuntas']\n `county` TEXT, -- The county to which the ZIP pertains; example: ['Suffolk County', 'Adjuntas Municipio']\n `state` TEXT, -- The name of the state to which the ZIP pertains; example: ['New York', 'Puerto Rico']\n `short_state` TEXT, -- The abbreviation of the state to which the ZIP pertains; example: ['NY', 'PR']\n PRIMARY KEY (`zip_code`)\n);\n\nCREATE TABLE `attendance` (\n `link_to_event` TEXT, -- The unique identifier of the event which was attended; example: ['rec2N69DMcrqN9PJC']\n `link_to_member` TEXT, -- The unique identifier of the member who attended the event; example: ['recD078PnS3x2doBe', 'recP6DJPyi5donvXL']\n PRIMARY KEY (`link_to_event`, `link_to_member`),\n FOREIGN KEY (`link_to_member`) REFERENCES `member` (`member_id`),\n FOREIGN KEY (`link_to_event`) REFERENCES `event` (`event_id`)\n);\n\nCREATE TABLE `budget` (\n `budget_id` TEXT, -- A unique identifier for the budget entry; example: ['rec0QmEc3cSQFQ6V2', 'rec1bG6HSft7XIvTP']\n `category` TEXT, -- The area for which the amount is budgeted, such as, advertisement, food, parking; example: ['Advertisement', 'Food']\n `spent` REAL, -- The total amount spent in the budgeted category for an event.; example: [67.81, 121.14]\n `remaining` REAL, -- A value calculated as the amount budgeted minus the amount spent; example: [7.19, 28.86]\n `amount` INTEGER, -- The amount budgeted for the specified category and event; example: [75, 150]\n `event_status` TEXT, -- the status of the event; example: ['Closed', 'Open']\n `link_to_event` TEXT, -- The unique identifier of the event to which the budget line applies.; example: ['recI43CzsZ0Q625ma', 'recggMW2eyCYceNcy']\n PRIMARY KEY (`budget_id`),\n FOREIGN KEY (`link_to_event`) REFERENCES `event` (`event_id`)\n);\n\nCREATE TABLE `expense` (\n `expense_id` TEXT, -- unique id of income; example: ['rec017x6R3hQqkLAo', 'rec1nIjoZKTYayqZ6']\n `expense_description` TEXT, -- A textual description of what the money was spend for; example: ['Post Cards, Posters', 'Water, Cookies']\n `expense_date` TEXT, -- The date the expense was incurred; example: ['2019-08-20', '2019-10-08']\n `cost` REAL, -- The dollar amount of the expense; example: [122.06, 20.2]\n `approved` TEXT, -- A true or false value indicating if the expense was approved; example: ['true']\n `link_to_member` TEXT, -- The member who incurred the expense; example: ['rec4BLdZHS2Blfp4v', 'recro8T1MPMwRadVH']\n `link_to_budget` TEXT, -- The unique identifier of the record in the Budget table that indicates the expected total expenditure for a given catego; example: ['recvKTAWAFKkVNnXQ', 'recy8KY5bUdzF81vv']\n PRIMARY KEY (`expense_id`),\n FOREIGN KEY (`link_to_member`) REFERENCES `member` (`member_id`),\n FOREIGN KEY (`link_to_budget`) REFERENCES `budget` (`budget_id`)\n);\n\nCREATE TABLE `income` (\n `income_id` TEXT, -- A unique identifier for each record of income; example: ['rec0s9ZrO15zhzUeE', 'rec7f5XMQZexgtQJo']\n `date_received` TEXT, -- the date that the fund received; example: ['2019-10-17', '2019-09-04']\n `amount` INTEGER, -- amount of funds; example: [50]\n `source` TEXT, -- A value indicating where the funds come from such as dues, or the annual university allocation; example: ['Dues']\n `notes` TEXT, -- A free-text value giving any needed details about the receipt of funds; example: []\n `link_to_member` TEXT, -- link to member; example: ['reccW7q1KkhSKZsea', 'recTjHY5xXhvkCdVT']\n PRIMARY KEY (`income_id`),\n FOREIGN KEY (`link_to_member`) REFERENCES `member` (`member_id`)\n);\n\nCREATE TABLE `member` (\n `member_id` TEXT, -- unique id of member; example: ['rec1x5zBFIqoOuPW8', 'rec280Sk7o31iG0Tx']\n `first_name` TEXT, -- member's first name; example: ['Angela', 'Grant']\n `last_name` TEXT, -- member's last name; example: ['Sanders', 'Gilmour']\n `email` TEXT, -- member's email; example: ['angela.sanders@lpu.edu', 'grant.gilmour@lpu.edu']\n `position` TEXT, -- The position the member holds in the club; example: ['Member', 'Inactive']\n `t_shirt_size` TEXT, -- The size of tee shirt that member wants when shirts are ordered; example: ['Medium', 'X-Large']\n `phone` TEXT, -- The best telephone at which to contact the member; example: ['(651) 928-4507', '403-555-1310']\n `zip` INTEGER, -- the zip code of the member's hometown; example: [55108, 29440]\n `link_to_major` TEXT, -- The unique identifier of the major of the member. References the Major table; example: ['recxK3MHQFbR9J5uO', 'rec7BxKpjJ7bNph3O']\n PRIMARY KEY (`member_id`),\n FOREIGN KEY (`zip`) REFERENCES `zip_code` (`zip_code`),\n FOREIGN KEY (`link_to_major`) REFERENCES `major` (`major_id`)\n);\n\n\nOfficial column/value descriptions (2024 Dev release):\n{\n \"attendance\": [\n {\n \"original_column_name\": \"link_to_event\",\n \"column_name\": \"link to event\",\n \"column_description\": \"The unique identifier of the event which was attended\",\n \"data_format\": \"text\",\n \"value_description\": \"References the Event table\"\n },\n {\n \"original_column_name\": \"link_to_member\",\n \"column_name\": \"link to member\",\n \"column_description\": \"The unique identifier of the member who attended the event\",\n \"data_format\": \"text\",\n \"value_description\": \"References the Member table\"\n }\n ],\n \"budget\": [\n {\n \"original_column_name\": \"budget_id\",\n \"column_name\": \"budget id\",\n \"column_description\": \"A unique identifier for the budget entry\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"category\",\n \"column_name\": \"\",\n \"column_description\": \"The area for which the amount is budgeted, such as, advertisement, food, parking\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"spent\",\n \"column_name\": \"\",\n \"column_description\": \"The total amount spent in the budgeted category for an event.\",\n \"data_format\": \"real\",\n \"value_description\": \"the unit is dollar. This is summarized from the Expense table\"\n },\n {\n \"original_column_name\": \"remaining\",\n \"column_name\": \"\",\n \"column_description\": \"A value calculated as the amount budgeted minus the amount spent\",\n \"data_format\": \"real\",\n \"value_description\": \"the unit is dollar \\ncommonsense evidence: If the remaining < 0, it means that the cost has exceeded the budget.\"\n },\n {\n \"original_column_name\": \"amount\",\n \"column_name\": \"\",\n \"column_description\": \"The amount budgeted for the specified category and event\",\n \"data_format\": \"integer\",\n \"value_description\": \"the unit is dollar \\ncommonsense evidence:\\nsome computation like: amount = spent + remaining \"\n },\n {\n \"original_column_name\": \"event_status\",\n \"column_name\": \"event status\",\n \"column_description\": \"the status of the event\",\n \"data_format\": \"text\",\n \"value_description\": \"Closed / Open/ Planning \\ncommonsense evidence: \\n• Closed: It means that the event is closed. The spent and the remaining won't change anymore.\\n• Open: It means that the event is already opened. The spent and the remaining will change with new expenses.\\n• Planning: The event is not started yet but is planning. The spent and the remaining won't change at this stage. \"\n },\n {\n \"original_column_name\": \"link_to_event\",\n \"column_name\": \"link to event\",\n \"column_description\": \"The unique identifier of the event to which the budget line applies.\",\n \"data_format\": \"text\",\n \"value_description\": \"References the Event table\"\n }\n ],\n \"event\": [\n {\n \"original_column_name\": \"event_id\",\n \"column_name\": \"event id\",\n \"column_description\": \"A unique identifier for the event\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"event_name\",\n \"column_name\": \"event name\",\n \"column_description\": \"event name\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"event_date\",\n \"column_name\": \"event date\",\n \"column_description\": \"The date the event took place or is scheduled to take place\",\n \"data_format\": \"text\",\n \"value_description\": \"e.g. 2020-03-10T12:00:00\"\n },\n {\n \"original_column_name\": \"type\",\n \"column_name\": \"\",\n \"column_description\": \"The kind of event, such as game, social, election\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"notes\",\n \"column_name\": \"\",\n \"column_description\": \"A free text field for any notes about the event\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"location\",\n \"column_name\": \"\",\n \"column_description\": \"Address where the event was held or is to be held or the name of such a location\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"status\",\n \"column_name\": \"\",\n \"column_description\": \"One of three values indicating if the event is in planning, is opened, or is closed\",\n \"data_format\": \"text\",\n \"value_description\": \"Open/ Closed/ Planning\"\n }\n ],\n \"expense\": [\n {\n \"original_column_name\": \"expense_id\",\n \"column_name\": \"expense id\",\n \"column_description\": \"unique id of income\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"expense_description\",\n \"column_name\": \"expense description\",\n \"column_description\": \"A textual description of what the money was spend for\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"expense_date\",\n \"column_name\": \"expense date\",\n \"column_description\": \"The date the expense was incurred\",\n \"data_format\": \"text\",\n \"value_description\": \"e.g. YYYY-MM-DD\"\n },\n {\n \"original_column_name\": \"cost\",\n \"column_name\": \"\",\n \"column_description\": \"The dollar amount of the expense\",\n \"data_format\": \"real\",\n \"value_description\": \"the unit is dollar\"\n },\n {\n \"original_column_name\": \"approved\",\n \"column_name\": \"\",\n \"column_description\": \"A true or false value indicating if the expense was approved\",\n \"data_format\": \"text\",\n \"value_description\": \"true/ false\"\n },\n {\n \"original_column_name\": \"link_to_member\",\n \"column_name\": \"link to member\",\n \"column_description\": \"The member who incurred the expense\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"link_to_budget\",\n \"column_name\": \"link to budget\",\n \"column_description\": \"The unique identifier of the record in the Budget table that indicates the expected total expenditure for a given category and event. \",\n \"data_format\": \"text\",\n \"value_description\": \"References the Budget table\"\n }\n ],\n \"income\": [\n {\n \"original_column_name\": \"income_id\",\n \"column_name\": \"income id\",\n \"column_description\": \"A unique identifier for each record of income\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"date_received\",\n \"column_name\": \"date received\",\n \"column_description\": \"the date that the fund received\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"amount\",\n \"column_name\": \"\",\n \"column_description\": \"amount of funds\",\n \"data_format\": \"integer\",\n \"value_description\": \"the unit is dollar\"\n },\n {\n \"original_column_name\": \"source\",\n \"column_name\": \"\",\n \"column_description\": \"A value indicating where the funds come from such as dues, or the annual university allocation\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"notes\",\n \"column_name\": \"\",\n \"column_description\": \"A free-text value giving any needed details about the receipt of funds\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"link_to_member\",\n \"column_name\": \"link to member\",\n \"column_description\": \"link to member\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"major\": [\n {\n \"original_column_name\": \"major_id\",\n \"column_name\": \"major id\",\n \"column_description\": \"A unique identifier for each major\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"major_name\",\n \"column_name\": \"major name\",\n \"column_description\": \"major name\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"department\",\n \"column_name\": \"\",\n \"column_description\": \"The name of the department that offers the major\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"college\",\n \"column_name\": \"\",\n \"column_description\": \"The name college that houses the department that offers the major\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"member\": [\n {\n \"original_column_name\": \"member_id\",\n \"column_name\": \"member id\",\n \"column_description\": \"unique id of member\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"first_name\",\n \"column_name\": \"first name\",\n \"column_description\": \"member's first name\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"last_name\",\n \"column_name\": \"last name\",\n \"column_description\": \"member's last name\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense evidence: \\nfull name is first_name + last_name. e.g. A member's first name is Angela and last name is Sanders. Thus, his/her full name is Angela Sanders.\"\n },\n {\n \"original_column_name\": \"email\",\n \"column_name\": \"\",\n \"column_description\": \"member's email\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"position\",\n \"column_name\": \"\",\n \"column_description\": \"The position the member holds in the club\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"t_shirt_size\",\n \"column_name\": \"\",\n \"column_description\": \"The size of tee shirt that member wants when shirts are ordered\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense evidence: usually the student ordered t-shirt with lager size has bigger body shape \"\n },\n {\n \"original_column_name\": \"phone\",\n \"column_name\": \"\",\n \"column_description\": \"The best telephone at which to contact the member\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"zip\",\n \"column_name\": \"\",\n \"column_description\": \"the zip code of the member's hometown\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"link_to_major\",\n \"column_name\": \"link to major\",\n \"column_description\": \"The unique identifier of the major of the member. References the Major table\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"zip_code\": [\n {\n \"original_column_name\": \"zip_code\",\n \"column_name\": \"zip code\",\n \"column_description\": \"The ZIP code itself. A five-digit number identifying a US post office.\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"type\",\n \"column_name\": \"\",\n \"column_description\": \"The kind of ZIP code\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense evidence: \\r\\n� Standard: the normal codes with which most people are familiar \\r\\n� PO Box: zip codes have post office boxes \\r\\n� Unique: zip codes that are assigned to individual organizations.\"\n },\n {\n \"original_column_name\": \"city\",\n \"column_name\": \"\",\n \"column_description\": \"The city to which the ZIP pertains\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"county\",\n \"column_name\": \"\",\n \"column_description\": \"The county to which the ZIP pertains\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"state\",\n \"column_name\": \"\",\n \"column_description\": \"The name of the state to which the ZIP pertains\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"short_state\",\n \"column_name\": \"short state\",\n \"column_description\": \"The abbreviation of the state to which the ZIP pertains\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ]\n}", + "thrombosis_prediction": "CREATE TABLE `Examination` (\n `ID` INTEGER, -- identification of the patient; example: [14872, 48473]\n `Examination Date` DATE, -- Examination Date; example: ['1997-05-27', '1992-12-21']\n `aCL IgG` REAL, -- anti-Cardiolipin antibody (IgG) concentration; example: [1.3, 4.3]\n `aCL IgM` REAL, -- anti-Cardiolipin antibody (IgM) concentration; example: [1.6, 4.6]\n `ANA` INTEGER, -- anti-nucleus antibody concentration; example: [256, 0]\n `ANA Pattern` TEXT, -- pattern observed in the sheet of ANA examination; example: ['P', 'P,S']\n `aCL IgA` INTEGER, -- anti-Cardiolipin antibody (IgA) concentration; example: [0, 3]\n `Diagnosis` TEXT, -- disease names; example: ['MCTD, AMI', 'SLE']\n `KCT` TEXT, -- measure of degree of coagulation; example: ['-']\n `RVVT` TEXT, -- measure of degree of coagulation; example: ['-']\n `LAC` TEXT, -- measure of degree of coagulation; example: ['-']\n `Symptoms` TEXT, -- other symptoms observed; example: ['AMI']\n `Thrombosis` INTEGER, -- degree of thrombosis; example: [1, 0]\n FOREIGN KEY (`ID`) REFERENCES `Patient` (`ID`)\n);\n\nCREATE TABLE `Patient` (\n `ID` INTEGER, -- identification of the patient; example: [2110, 11408]\n `SEX` TEXT, -- Sex; example: ['F']\n `Birthday` DATE, -- Birthday; example: ['1934-02-13', '1937-05-02']\n `Description` DATE, -- the first date when a patient data was recorded; example: ['1994-02-14', '1996-12-01']\n `First Date` DATE, -- the date when a patient came to the hospital; example: ['1993-02-10', '1973-01-01']\n `Admission` TEXT, -- patient was admitted to the hospital (+) or followed at the outpatient clinic (-); example: ['+']\n `Diagnosis` TEXT, -- disease names; example: ['RA susp.', 'PSS']\n PRIMARY KEY (`ID`)\n);\n\nCREATE TABLE `Laboratory` (\n `ID` INTEGER, -- identification of the patient; example: [27654]\n `Date` DATE, -- Date of the laboratory tests (YYMMDD); example: ['1991-09-11', '1991-09-17']\n `GOT` INTEGER, -- AST glutamic oxaloacetic transaminase; example: [34, 29]\n `GPT` INTEGER, -- ALT glutamic pyruvic transaminase; example: [36, 31]\n `LDH` INTEGER, -- lactate dehydrogenase; example: [567, 579]\n `ALP` INTEGER, -- alkaliphophatase; example: [166, 154]\n `TP` REAL, -- total protein; example: [4.5, 5.1]\n `ALB` REAL, -- albumin; example: [3.3, 3.4]\n `UA` REAL, -- uric acid; example: [3.8, 4.2]\n `UN` INTEGER, -- urea nitrogen; example: [29, 36]\n `CRE` REAL, -- creatinine; example: [0.8, 0.9]\n `T-BIL` REAL, -- total bilirubin; example: [0.3, 0.2]\n `T-CHO` INTEGER, -- total cholesterol; example: [165, 134]\n `TG` INTEGER, -- triglyceride; example: []\n `CPK` INTEGER, -- creatinine phosphokinase; example: [9, 10]\n `GLU` INTEGER, -- blood glucose; example: [88]\n `WBC` REAL, -- White blood cell; example: [5.0, 10.4]\n `RBC` REAL, -- Red blood cell; example: [2.6, 2.9]\n `HGB` REAL, -- Hemoglobin; example: [6.4, 6.7]\n `HCT` REAL, -- Hematoclit; example: [20.3, 21.6]\n `PLT` INTEGER, -- platelet; example: [227, 242]\n `PT` REAL, -- prothrombin time; example: []\n `APTT` INTEGER, -- activated partial prothrombin time; example: []\n `FG` REAL, -- fibrinogen; example: []\n `PIC` INTEGER, -- example: []\n `TAT` INTEGER, -- example: []\n `TAT2` INTEGER, -- example: []\n `U-PRO` TEXT, -- proteinuria; example: []\n `IGG` INTEGER, -- Ig G; example: [339, 771]\n `IGA` INTEGER, -- Ig A; example: [145, 188]\n `IGM` INTEGER, -- Ig M; example: [46, 132]\n `CRP` TEXT, -- C-reactive protein; example: ['0.6', '2.7']\n `RA` TEXT, -- Rhuematoid Factor; example: []\n `RF` TEXT, -- RAHA; example: []\n `C3` INTEGER, -- complement 3; example: []\n `C4` INTEGER, -- complement 4; example: []\n `RNP` TEXT, -- anti-ribonuclear protein; example: []\n `SM` TEXT, -- anti-SM; example: []\n `SC170` TEXT, -- anti-scl70; example: []\n `SSA` TEXT, -- anti-SSA; example: []\n `SSB` TEXT, -- anti-SSB; example: []\n `CENTROMEA` TEXT, -- anti-centromere; example: []\n `DNA` TEXT, -- anti-DNA; example: []\n `DNA-II` INTEGER, -- anti-DNA; example: []\n PRIMARY KEY (`ID`, `Date`),\n FOREIGN KEY (`ID`) REFERENCES `Patient` (`ID`)\n);\n\n\nOfficial column/value descriptions (2024 Dev release):\n{\n \"Examination\": [\n {\n \"original_column_name\": \"ID\",\n \"column_name\": \"\",\n \"column_description\": \"identification of the patient\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Examination Date\",\n \"column_name\": \"\",\n \"column_description\": \"Examination Date\",\n \"data_format\": \"date \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"aCL IgG\",\n \"column_name\": \"anti-Cardiolipin antibody (IgG) \",\n \"column_description\": \"anti-Cardiolipin antibody (IgG) concentration\",\n \"data_format\": \"real\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"aCL IgM\",\n \"column_name\": \"anti-Cardiolipin antibody (IgM) \",\n \"column_description\": \"anti-Cardiolipin antibody (IgM) concentration\",\n \"data_format\": \"real\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"ANA\",\n \"column_name\": \"anti-nucleus antibody \",\n \"column_description\": \"anti-nucleus antibody concentration\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"ANA Pattern\",\n \"column_name\": \"pattern observed in the sheet of ANA examination\",\n \"column_description\": \"pattern observed in the sheet of ANA examination\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"aCL IgA\",\n \"column_name\": \"anti-Cardiolipin antibody (IgA) concentration\",\n \"column_description\": \"anti-Cardiolipin antibody (IgA) concentration\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Diagnosis\",\n \"column_name\": \"\",\n \"column_description\": \"disease names\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"KCT\",\n \"column_name\": \"measure of degree of coagulation\",\n \"column_description\": \"measure of degree of coagulation\",\n \"data_format\": \"text\",\n \"value_description\": \"+: positive\\n\\n-: negative\"\n },\n {\n \"original_column_name\": \"RVVT\",\n \"column_name\": \"measure of degree of coagulation\",\n \"column_description\": \"measure of degree of coagulation\",\n \"data_format\": \"text\",\n \"value_description\": \"+: positive\\n\\n-: negative\"\n },\n {\n \"original_column_name\": \"LAC\",\n \"column_name\": \"measure of degree of coagulation\",\n \"column_description\": \"measure of degree of coagulation\",\n \"data_format\": \"text\",\n \"value_description\": \"+: positive\\n\\n-: negative\"\n },\n {\n \"original_column_name\": \"Symptoms\",\n \"column_name\": \"\",\n \"column_description\": \"other symptoms observed\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Thrombosis\",\n \"column_name\": \"\",\n \"column_description\": \"degree of thrombosis\",\n \"data_format\": \"integer\",\n \"value_description\": \"0: negative (no thrombosis)\\n1: positive (the most serious)\\n2: positive (severe)3: positive (mild)\"\n }\n ],\n \"Laboratory\": [\n {\n \"original_column_name\": \"ID\",\n \"column_name\": \"\",\n \"column_description\": \"identification of the patient\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Date\",\n \"column_name\": \"\",\n \"column_description\": \"Date of the laboratory tests (YYMMDD)\",\n \"data_format\": \"date\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"GOT\",\n \"column_name\": \"AST glutamic oxaloacetic transaminase\",\n \"column_description\": \"AST glutamic oxaloacetic transaminase\",\n \"data_format\": \"integer\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N < 60\"\n },\n {\n \"original_column_name\": \"GPT\",\n \"column_name\": \"ALT glutamic pyruvic transaminase\",\n \"column_description\": \"ALT glutamic pyruvic transaminase\",\n \"data_format\": \"integer\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N < 60\"\n },\n {\n \"original_column_name\": \"LDH\",\n \"column_name\": \"lactate dehydrogenase\",\n \"column_description\": \"lactate dehydrogenase\",\n \"data_format\": \"integer\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N < 500\"\n },\n {\n \"original_column_name\": \"ALP\",\n \"column_name\": \"alkaliphophatase\",\n \"column_description\": \"alkaliphophatase\",\n \"data_format\": \"integer\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N < 300\"\n },\n {\n \"original_column_name\": \"TP\",\n \"column_name\": \"total protein\",\n \"column_description\": \"total protein\",\n \"data_format\": \"real\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: 6.0 < N < 8.5\"\n },\n {\n \"original_column_name\": \"ALB\",\n \"column_name\": \"albumin\",\n \"column_description\": \"albumin\",\n \"data_format\": \"real\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: 3.5 < N < 5.5\"\n },\n {\n \"original_column_name\": \"UA\",\n \"column_name\": \"uric acid\",\n \"column_description\": \"uric acid\",\n \"data_format\": \"real\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N > 8.0 (Male)N > 6.5 (Female)\"\n },\n {\n \"original_column_name\": \"UN\",\n \"column_name\": \"urea nitrogen\",\n \"column_description\": \"urea nitrogen\",\n \"data_format\": \"integer\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N < 30\"\n },\n {\n \"original_column_name\": \"CRE\",\n \"column_name\": \"creatinine\",\n \"column_description\": \"creatinine\",\n \"data_format\": \"real\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N < 1.5\"\n },\n {\n \"original_column_name\": \"T-BIL\",\n \"column_name\": \"total bilirubin\",\n \"column_description\": \"total bilirubin\",\n \"data_format\": \"real\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N < 2.0\"\n },\n {\n \"original_column_name\": \"T-CHO\",\n \"column_name\": \"total cholesterol\",\n \"column_description\": \"total cholesterol\",\n \"data_format\": \"integer\",\n \"value_description\": \"Commonsense evidence:\\nNormal range: N < 250\"\n },\n {\n \"original_column_name\": \"TG\",\n \"column_name\": \"triglyceride\",\n \"column_description\": \"triglyceride\",\n \"data_format\": \"integer\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N < 200\"\n },\n {\n \"original_column_name\": \"CPK\",\n \"column_name\": \"creatinine phosphokinase\",\n \"column_description\": \"creatinine phosphokinase\",\n \"data_format\": \"integer\",\n \"value_description\": \"Commonsense evidence:\\nNormal range: N < 250\"\n },\n {\n \"original_column_name\": \"GLU\",\n \"column_name\": \"blood glucose\",\n \"column_description\": \"blood glucose\",\n \"data_format\": \"integer\",\n \"value_description\": \"Commonsense evidence:\\nNormal range: N < 180\"\n },\n {\n \"original_column_name\": \"WBC\",\n \"column_name\": \"White blood cell\",\n \"column_description\": \"White blood cell\",\n \"data_format\": \"real\",\n \"value_description\": \"Commonsense evidence:\\nNormal range: 3.5 < N < 9.0\"\n },\n {\n \"original_column_name\": \"RBC\",\n \"column_name\": \"Red blood cell\",\n \"column_description\": \"Red blood cell\",\n \"data_format\": \"real\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: 3.5 < N < 6.0\"\n },\n {\n \"original_column_name\": \"HGB\",\n \"column_name\": \"Hemoglobin\",\n \"column_description\": \"Hemoglobin\",\n \"data_format\": \"real\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: 10 < N < 17\"\n },\n {\n \"original_column_name\": \"HCT\",\n \"column_name\": \"Hematoclit\",\n \"column_description\": \"Hematoclit\",\n \"data_format\": \"real\",\n \"value_description\": \"Commonsense evidence:\\nNormal range: 29 < N < 52\"\n },\n {\n \"original_column_name\": \"PLT\",\n \"column_name\": \"platelet\",\n \"column_description\": \"platelet\",\n \"data_format\": \"integer\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: 100 < N < 400\"\n },\n {\n \"original_column_name\": \"PT\",\n \"column_name\": \"prothrombin time\",\n \"column_description\": \"prothrombin time\",\n \"data_format\": \"real\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N < 14\"\n },\n {\n \"original_column_name\": \"APTT\",\n \"column_name\": \"activated partial prothrombin time\",\n \"column_description\": \"activated partial prothrombin time\",\n \"data_format\": \"integer\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N < 45\"\n },\n {\n \"original_column_name\": \"FG\",\n \"column_name\": \"fibrinogen\",\n \"column_description\": \"fibrinogen\",\n \"data_format\": \"real\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: 150 < N < 450\"\n },\n {\n \"original_column_name\": \"PIC\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"TAT\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"TAT2\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"U-PRO\",\n \"column_name\": \"proteinuria\",\n \"column_description\": \"proteinuria\",\n \"data_format\": \"text\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: 0 < N < 30\"\n },\n {\n \"original_column_name\": \"IGG\",\n \"column_name\": \"Ig G\",\n \"column_description\": \"Ig G\",\n \"data_format\": \"integer\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: 900 < N < 2000\"\n },\n {\n \"original_column_name\": \"IGA\",\n \"column_name\": \"Ig A\",\n \"column_description\": \"Ig A\",\n \"data_format\": \"integer\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: 80 < N < 500\"\n },\n {\n \"original_column_name\": \"IGM\",\n \"column_name\": \"Ig M\",\n \"column_description\": \"Ig M\",\n \"data_format\": \"integer\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: 40 < N < 400\"\n },\n {\n \"original_column_name\": \"CRP\",\n \"column_name\": \"C-reactive protein\",\n \"column_description\": \"C-reactive protein\",\n \"data_format\": \"text\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N= -, +-, or N < 1.0\"\n },\n {\n \"original_column_name\": \"RA\",\n \"column_name\": \"Rhuematoid Factor\",\n \"column_description\": \"Rhuematoid Factor\",\n \"data_format\": \"text\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N= -, +-\"\n },\n {\n \"original_column_name\": \"RF\",\n \"column_name\": \"RAHA\",\n \"column_description\": \"RAHA\",\n \"data_format\": \"text\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N < 20\"\n },\n {\n \"original_column_name\": \"C3\",\n \"column_name\": \"complement 3\",\n \"column_description\": \"complement 3\",\n \"data_format\": \"integer\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N > 35\"\n },\n {\n \"original_column_name\": \"C4\",\n \"column_name\": \"complement 4\",\n \"column_description\": \"complement 4\",\n \"data_format\": \"integer\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N > 10\"\n },\n {\n \"original_column_name\": \"RNP\",\n \"column_name\": \"anti-ribonuclear protein\",\n \"column_description\": \"anti-ribonuclear protein\",\n \"data_format\": \"text\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N= -, +-\"\n },\n {\n \"original_column_name\": \"SM\",\n \"column_name\": \"anti-SM\",\n \"column_description\": \"anti-SM\",\n \"data_format\": \"text\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N= -, +-\"\n },\n {\n \"original_column_name\": \"SC170\",\n \"column_name\": \"anti-scl70\",\n \"column_description\": \"anti-scl70\",\n \"data_format\": \"text\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N= -, +-\"\n },\n {\n \"original_column_name\": \"SSA\",\n \"column_name\": \"anti-SSA\",\n \"column_description\": \"anti-SSA\",\n \"data_format\": \"text\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N= -, +-\"\n },\n {\n \"original_column_name\": \"SSB\",\n \"column_name\": \"anti-SSB\",\n \"column_description\": \"anti-SSB\",\n \"data_format\": \"text\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N= -, +-\"\n },\n {\n \"original_column_name\": \"CENTROMEA\",\n \"column_name\": \"anti-centromere\",\n \"column_description\": \"anti-centromere\",\n \"data_format\": \"text\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N= -, +-\"\n },\n {\n \"original_column_name\": \"DNA\",\n \"column_name\": \"anti-DNA\",\n \"column_description\": \"anti-DNA\",\n \"data_format\": \"text\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N < 8\"\n },\n {\n \"original_column_name\": \"DNA-II\",\n \"column_name\": \"anti-DNA\",\n \"column_description\": \"anti-DNA\",\n \"data_format\": \"integer\",\n \"value_description\": \"Commonsense evidence:\\n\\nNormal range: N < 8\"\n }\n ],\n \"Patient\": [\n {\n \"original_column_name\": \"ID\",\n \"column_name\": \"\",\n \"column_description\": \"identification of the patient\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"SEX\",\n \"column_name\": \"\",\n \"column_description\": \"Sex\",\n \"data_format\": \"text\",\n \"value_description\": \"F: female; M: male\"\n },\n {\n \"original_column_name\": \"Birthday\",\n \"column_name\": \"\",\n \"column_description\": \"Birthday\",\n \"data_format\": \"date\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Description\",\n \"column_name\": \"\",\n \"column_description\": \"the first date when a patient data was recorded\",\n \"data_format\": \"date\",\n \"value_description\": \"null or empty: not recorded\"\n },\n {\n \"original_column_name\": \"First Date\",\n \"column_name\": \"\",\n \"column_description\": \"the date when a patient came to the hospital\",\n \"data_format\": \"date\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Admission\",\n \"column_name\": \"\",\n \"column_description\": \"patient was admitted to the hospital (+) or followed at the outpatient clinic (-)\",\n \"data_format\": \"text\",\n \"value_description\": \"patient was admitted to the hospital (+) or followed at the outpatient clinic (-)\"\n },\n {\n \"original_column_name\": \"Diagnosis\",\n \"column_name\": \"\",\n \"column_description\": \"disease names\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ]\n}", + "european_football_2": "CREATE TABLE `Player_Attributes` (\n `id` INTEGER, -- the unique id for players; example: [1, 2]\n `player_fifa_api_id` INTEGER, -- the id of the player fifa api; example: [218353]\n `player_api_id` INTEGER, -- the id of the player api; example: [505942]\n `date` TEXT, -- date; example: ['2016-02-18 00:00:00', '2015-11-19 00:00:00']\n `overall_rating` INTEGER, -- the overall rating of the player; example: [67, 62]\n `potential` INTEGER, -- potential of the player; example: [71, 66]\n `preferred_foot` TEXT, -- the player's preferred foot when attacking; example: ['right']\n `attacking_work_rate` TEXT, -- the player's attacking work rate; example: ['medium']\n `defensive_work_rate` TEXT, -- the player's defensive work rate; example: ['medium']\n `crossing` INTEGER, -- the player's crossing score; example: [49, 48]\n `finishing` INTEGER, -- the player's finishing rate; example: [44, 43]\n `heading_accuracy` INTEGER, -- the player's heading accuracy; example: [71, 70]\n `short_passing` INTEGER, -- the player's short passing score; example: [61, 60]\n `volleys` INTEGER, -- the player's volley score; example: [44, 43]\n `dribbling` INTEGER, -- the player's dribbling score; example: [51, 50]\n `curve` INTEGER, -- the player's curve score; example: [45, 44]\n `free_kick_accuracy` INTEGER, -- the player's free kick accuracy; example: [39, 38]\n `long_passing` INTEGER, -- the player's long passing score; example: [64, 63]\n `ball_control` INTEGER, -- the player's ball control score; example: [49, 48]\n `acceleration` INTEGER, -- the player's acceleration score; example: [60]\n `sprint_speed` INTEGER, -- the player's sprint speed; example: [64]\n `agility` INTEGER, -- the player's agility; example: [59]\n `reactions` INTEGER, -- the player's reactions score; example: [47, 46]\n `balance` INTEGER, -- the player's balance score; example: [65]\n `shot_power` INTEGER, -- the player's shot power; example: [55, 54]\n `jumping` INTEGER, -- the player's jumping score; example: [58]\n `stamina` INTEGER, -- the player's stamina score; example: [54]\n `strength` INTEGER, -- the player's strength score; example: [76]\n `long_shots` INTEGER, -- the player's long shots score; example: [35, 34]\n `aggression` INTEGER, -- the player's aggression score; example: [71, 63]\n `interceptions` INTEGER, -- the player's interceptions score; example: [70, 41]\n `positioning` INTEGER, -- the player's positioning score; example: [45, 44]\n `vision` INTEGER, -- the player's vision score; example: [54, 53]\n `penalties` INTEGER, -- the player's penalties score; example: [48, 47]\n `marking` INTEGER, -- the player's markingscore; example: [65, 62]\n `standing_tackle` INTEGER, -- the player's standing tackle score; example: [69, 66]\n `sliding_tackle` INTEGER, -- the player's sliding tackle score; example: [69, 66]\n `gk_diving` INTEGER, -- the player's goalkeep diving score; example: [6, 5]\n `gk_handling` INTEGER, -- the player's goalkeep diving score; example: [11, 10]\n `gk_kicking` INTEGER, -- the player's goalkeep kicking score; example: [10, 9]\n `gk_positioning` INTEGER, -- the player's goalkeep positioning score; example: [8, 7]\n `gk_reflexes` INTEGER, -- the player's goalkeep reflexes score; example: [8, 7]\n PRIMARY KEY (`id`),\n FOREIGN KEY (`player_api_id`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`player_fifa_api_id`) REFERENCES `Player` (`player_fifa_api_id`)\n);\n\nCREATE TABLE `Player` (\n `id` INTEGER, -- the unique id for players; example: [1, 2]\n `player_api_id` INTEGER, -- the id of the player api; example: [505942, 155782]\n `player_name` TEXT, -- player name; example: ['Aaron Appindangoye', 'Aaron Cresswell']\n `player_fifa_api_id` INTEGER, -- the id of the player fifa api; example: [218353, 189615]\n `birthday` TEXT, -- the player's birthday; example: ['1992-02-29 00:00:00', '1989-12-15 00:00:00']\n `height` INTEGER, -- the player's height; example: [182, 170]\n `weight` INTEGER, -- the player's weight; example: [187, 146]\n PRIMARY KEY (`id`)\n);\n\nCREATE TABLE `League` (\n `id` INTEGER, -- the unique id for leagues; example: [1, 1729]\n `country_id` INTEGER, -- the unique id for countries; example: [1, 1729]\n `name` TEXT, -- league name; example: ['Belgium Jupiler League', 'England Premier League']\n PRIMARY KEY (`id`),\n FOREIGN KEY (`country_id`) REFERENCES `Country` (`id`)\n);\n\nCREATE TABLE `Country` (\n `id` INTEGER, -- the unique id for countries; example: [1, 1729]\n `name` TEXT, -- country name; example: ['Belgium', 'England']\n PRIMARY KEY (`id`)\n);\n\nCREATE TABLE `Team` (\n `id` INTEGER, -- the unique id for teams; example: [1, 2]\n `team_api_id` INTEGER, -- the id of the team api; example: [9987, 9993]\n `team_fifa_api_id` INTEGER, -- the id of the team fifa api; example: [673, 675]\n `team_long_name` TEXT, -- the team's long name; example: ['KRC Genk', 'Beerschot AC']\n `team_short_name` TEXT, -- the team's short name; example: ['GEN', 'BAC']\n PRIMARY KEY (`id`)\n);\n\nCREATE TABLE `Team_Attributes` (\n `id` INTEGER, -- the unique id for teams; example: [1, 2]\n `team_fifa_api_id` INTEGER, -- the id of the team fifa api; example: [434, 77]\n `team_api_id` INTEGER, -- the id of the team api; example: [9930, 8485]\n `date` TEXT, -- Date; example: ['2010-02-22 00:00:00', '2014-09-19 00:00:00']\n `buildUpPlaySpeed` INTEGER, -- the speed in which attacks are put together; example: [60, 52]\n `buildUpPlaySpeedClass` TEXT, -- the speed class; example: ['Balanced', 'Fast']\n `buildUpPlayDribbling` INTEGER, -- the tendency/ frequency of dribbling; example: [48, 41]\n `buildUpPlayDribblingClass` TEXT, -- the dribbling class; example: ['Little', 'Normal']\n `buildUpPlayPassing` INTEGER, -- affects passing distance and support from teammates; example: [50, 56]\n `buildUpPlayPassingClass` TEXT, -- the passing class; example: ['Mixed', 'Long']\n `buildUpPlayPositioningClass` TEXT, -- A team's freedom of movement in the 1st two thirds of the pitch; example: ['Organised']\n `chanceCreationPassing` INTEGER, -- Amount of risk in pass decision and run support; example: [60, 54]\n `chanceCreationPassingClass` TEXT, -- the chance creation passing class; example: ['Normal', 'Risky']\n `chanceCreationCrossing` INTEGER, -- The tendency / frequency of crosses into the box; example: [65, 63]\n `chanceCreationCrossingClass` TEXT, -- the chance creation crossing class; example: ['Normal', 'Lots']\n `chanceCreationShooting` INTEGER, -- The tendency / frequency of shots taken; example: [55, 64]\n `chanceCreationShootingClass` TEXT, -- the chance creation shooting class; example: ['Normal', 'Lots']\n `chanceCreationPositioningClass` TEXT, -- A team�s freedom of movement in the final third of the pitch; example: ['Organised']\n `defencePressure` INTEGER, -- Affects how high up the pitch the team will start pressuring; example: [50, 47]\n `defencePressureClass` TEXT, -- the defence pressure class; example: ['Medium']\n `defenceAggression` INTEGER, -- Affect the team�s approach to tackling the ball possessor; example: [55, 44]\n `defenceAggressionClass` TEXT, -- the defence aggression class; example: ['Press', 'Double']\n `defenceTeamWidth` INTEGER, -- Affects how much the team will shift to the ball side; example: [45, 54]\n `defenceTeamWidthClass` TEXT, -- the defence team width class; example: ['Normal', 'Wide']\n `defenceDefenderLineClass` TEXT, -- Affects the shape and strategy of the defence; example: ['Cover']\n PRIMARY KEY (`id`),\n FOREIGN KEY (`team_api_id`) REFERENCES `Team` (`team_api_id`),\n FOREIGN KEY (`team_fifa_api_id`) REFERENCES `Team` (`team_fifa_api_id`)\n);\n\nCREATE TABLE `Match` (\n `id` INTEGER, -- the unique id for matches; example: [1, 2]\n `country_id` INTEGER, -- country id; example: [1]\n `league_id` INTEGER, -- league id; example: [1]\n `season` TEXT, -- the season of the match; example: ['2008/2009']\n `stage` INTEGER, -- the stage of the match; example: [1]\n `date` TEXT, -- the date of the match; example: ['2008-08-17 00:00:00', '2008-08-16 00:00:00']\n `match_api_id` INTEGER, -- the id of the match api; example: [492473, 492474]\n `home_team_api_id` INTEGER, -- the id of the home team api; example: [9987, 10000]\n `away_team_api_id` INTEGER, -- the id of the away team api; example: [9993, 9994]\n `home_team_goal` INTEGER, -- the goal of the home team; example: [1, 0]\n `away_team_goal` INTEGER, -- the goal of the away team; example: [1, 0]\n `home_player_X1` INTEGER, -- example: []\n `home_player_X2` INTEGER, -- example: []\n `home_player_X3` INTEGER, -- example: []\n `home_player_X4` INTEGER, -- example: []\n `home_player_X5` INTEGER, -- example: []\n `home_player_X6` INTEGER, -- example: []\n `home_player_X7` INTEGER, -- example: []\n `home_player_X8` INTEGER, -- example: []\n `home_player_X9` INTEGER, -- example: []\n `home_player_X10` INTEGER, -- example: []\n `home_player_X11` INTEGER, -- example: []\n `away_player_X1` INTEGER, -- example: []\n `away_player_X2` INTEGER, -- example: []\n `away_player_X3` INTEGER, -- example: []\n `away_player_X4` INTEGER, -- example: []\n `away_player_X5` INTEGER, -- example: []\n `away_player_X6` INTEGER, -- example: []\n `away_player_X7` INTEGER, -- example: []\n `away_player_X8` INTEGER, -- example: []\n `away_player_X9` INTEGER, -- example: []\n `away_player_X10` INTEGER, -- example: []\n `away_player_X11` INTEGER, -- example: []\n `home_player_Y1` INTEGER, -- example: []\n `home_player_Y2` INTEGER, -- example: []\n `home_player_Y3` INTEGER, -- example: []\n `home_player_Y4` INTEGER, -- example: []\n `home_player_Y5` INTEGER, -- example: []\n `home_player_Y6` INTEGER, -- example: []\n `home_player_Y7` INTEGER, -- example: []\n `home_player_Y8` INTEGER, -- example: []\n `home_player_Y9` INTEGER, -- example: []\n `home_player_Y10` INTEGER, -- example: []\n `home_player_Y11` INTEGER, -- example: []\n `away_player_Y1` INTEGER, -- example: []\n `away_player_Y2` INTEGER, -- example: []\n `away_player_Y3` INTEGER, -- example: []\n `away_player_Y4` INTEGER, -- example: []\n `away_player_Y5` INTEGER, -- example: []\n `away_player_Y6` INTEGER, -- example: []\n `away_player_Y7` INTEGER, -- example: []\n `away_player_Y8` INTEGER, -- example: []\n `away_player_Y9` INTEGER, -- example: []\n `away_player_Y10` INTEGER, -- example: []\n `away_player_Y11` INTEGER, -- example: []\n `home_player_1` INTEGER, -- example: []\n `home_player_2` INTEGER, -- example: []\n `home_player_3` INTEGER, -- example: []\n `home_player_4` INTEGER, -- example: []\n `home_player_5` INTEGER, -- example: []\n `home_player_6` INTEGER, -- example: []\n `home_player_7` INTEGER, -- example: []\n `home_player_8` INTEGER, -- example: []\n `home_player_9` INTEGER, -- example: []\n `home_player_10` INTEGER, -- example: []\n `home_player_11` INTEGER, -- example: []\n `away_player_1` INTEGER, -- example: []\n `away_player_2` INTEGER, -- example: []\n `away_player_3` INTEGER, -- example: []\n `away_player_4` INTEGER, -- example: []\n `away_player_5` INTEGER, -- example: []\n `away_player_6` INTEGER, -- example: []\n `away_player_7` INTEGER, -- example: []\n `away_player_8` INTEGER, -- example: []\n `away_player_9` INTEGER, -- example: []\n `away_player_10` INTEGER, -- example: []\n `away_player_11` INTEGER, -- example: []\n `goal` TEXT, -- the goal of the match; example: []\n `shoton` TEXT, -- the shot on goal of the match; example: []\n `shotoff` TEXT, -- the shot off goal of the match, which is the opposite of shot on; example: []\n `foulcommit` TEXT, -- the fouls occurred in the match; example: []\n `card` TEXT, -- the cards given in the match; example: []\n `cross` TEXT, -- Balls sent into the opposition team's area from a wide position in the match; example: []\n `corner` TEXT, -- Ball goes out of play for a corner kick in the match; example: []\n `possession` TEXT, -- The duration from a player taking over the ball in the match; example: []\n `B365H` REAL, -- example: [1.73, 1.95]\n `B365D` REAL, -- example: [3.4, 3.2]\n `B365A` REAL, -- example: [5.0, 3.6]\n `BWH` REAL, -- example: [1.75, 1.8]\n `BWD` REAL, -- example: [3.35, 3.3]\n `BWA` REAL, -- example: [4.2, 3.95]\n `IWH` REAL, -- example: [1.85, 1.9]\n `IWD` REAL, -- example: [3.2, 3.1]\n `IWA` REAL, -- example: [3.5, 2.3]\n `LBH` REAL, -- example: [1.8, 1.9]\n `LBD` REAL, -- example: [3.3, 3.2]\n `LBA` REAL, -- example: [3.75, 3.5]\n `PSH` REAL, -- example: []\n `PSD` REAL, -- example: []\n `PSA` REAL, -- example: []\n `WHH` REAL, -- example: [1.7, 1.83]\n `WHD` REAL, -- example: [3.3, 3.25]\n `WHA` REAL, -- example: [4.33, 3.6]\n `SJH` REAL, -- example: [1.9, 1.95]\n `SJD` REAL, -- example: [3.3, 4.0]\n `SJA` REAL, -- example: [4.0, 3.8]\n `VCH` REAL, -- example: [1.65, 2.0]\n `VCD` REAL, -- example: [3.4, 3.25]\n `VCA` REAL, -- example: [4.5, 3.25]\n `GBH` REAL, -- example: [1.78, 1.85]\n `GBD` REAL, -- example: [3.25, 3.2]\n `GBA` REAL, -- example: [4.0, 3.75]\n `BSH` REAL, -- example: [1.73, 1.91]\n `BSD` REAL, -- example: [3.4, 3.25]\n `BSA` REAL, -- example: [4.2, 3.6]\n PRIMARY KEY (`id`),\n FOREIGN KEY (`away_player_11`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`away_player_10`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`away_player_9`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`away_player_8`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`away_player_7`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`away_player_6`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`away_player_5`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`away_player_4`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`away_player_3`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`away_player_2`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`away_player_1`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`home_player_11`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`home_player_10`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`home_player_9`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`home_player_8`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`home_player_7`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`home_player_6`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`home_player_5`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`home_player_4`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`home_player_3`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`home_player_2`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`home_player_1`) REFERENCES `Player` (`player_api_id`),\n FOREIGN KEY (`away_team_api_id`) REFERENCES `Team` (`team_api_id`),\n FOREIGN KEY (`home_team_api_id`) REFERENCES `Team` (`team_api_id`),\n FOREIGN KEY (`country_id`) REFERENCES `Country` (`id`),\n FOREIGN KEY (`league_id`) REFERENCES `League` (`id`)\n);\n\n\nOfficial column/value descriptions (2024 Dev release):\n{\n \"Country\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"the unique id for countries\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"name\",\n \"column_name\": \"\",\n \"column_description\": \"country name\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"League\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"the unique id for leagues\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"country_id\",\n \"column_name\": \"country id\",\n \"column_description\": \"the unique id for countries\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"name\",\n \"column_name\": \"\",\n \"column_description\": \"league name\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"Match\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"the unique id for matches\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"country_id\",\n \"column_name\": \"country id\",\n \"column_description\": \"country id\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"league_id\",\n \"column_name\": \"league id\",\n \"column_description\": \"league id\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"season\",\n \"column_name\": \"\",\n \"column_description\": \"the season of the match\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"stage\",\n \"column_name\": \"\",\n \"column_description\": \"the stage of the match\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"date\",\n \"column_name\": \"\",\n \"column_description\": \"the date of the match\",\n \"data_format\": \"text\",\n \"value_description\": \"e.g. 2008-08-17 00:00:00\"\n },\n {\n \"original_column_name\": \"match_api_id\",\n \"column_name\": \"match api id\",\n \"column_description\": \"the id of the match api\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_team_api_id\",\n \"column_name\": \"home team api id\",\n \"column_description\": \"the id of the home team api\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_team_api_id\",\n \"column_name\": \"away team api id\",\n \"column_description\": \"the id of the away team api\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_team_goal\",\n \"column_name\": \"home team goal\",\n \"column_description\": \"the goal of the home team\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_team_goal\",\n \"column_name\": \"away team goal\",\n \"column_description\": \"the goal of the away team\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_X1\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_X2\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_X3\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_X4\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_X5\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_X6\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_X7\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_X8\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_X9\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_X10\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_X11\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_X1\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_X2\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_X3\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_X4\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_X5\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_X6\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_X7\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_X8\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_X9\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_X10\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_X11\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_Y1\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_Y2\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_Y3\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_Y4\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_Y5\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_Y6\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_Y7\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_Y8\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_Y9\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_Y10\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_Y11\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_Y1\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_Y2\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_Y3\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_Y4\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_Y5\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_Y6\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_Y7\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_Y8\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_Y9\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_Y10\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_Y11\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_1\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_2\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_3\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_4\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_5\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_6\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_7\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_8\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_9\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_10\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"home_player_11\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_1\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_2\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_3\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_4\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_5\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_6\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_7\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_8\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_9\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_10\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"away_player_11\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"goal\",\n \"column_name\": \"\",\n \"column_description\": \"the goal of the match\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"shoton\",\n \"column_name\": \"shot on\",\n \"column_description\": \"the shot on goal of the match\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense reasoning: \\nA shot on goal is a shot that enters the goal or would have entered the goal if it had not been blocked by the goalkeeper or another defensive player.\\n\"\n },\n {\n \"original_column_name\": \"shotoff\",\n \"column_name\": \"shot off\",\n \"column_description\": \"the shot off goal of the match, which is the opposite of shot on\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"foulcommit\",\n \"column_name\": \"foul commit\",\n \"column_description\": \"the fouls occurred in the match\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"card\",\n \"column_name\": \"\",\n \"column_description\": \"the cards given in the match\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"cross\",\n \"column_name\": \"\",\n \"column_description\": \"Balls sent into the opposition team's area from a wide position in the match\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"corner\",\n \"column_name\": \"\",\n \"column_description\": \"Ball goes out of play for a corner kick in the match\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"possession\",\n \"column_name\": \"\",\n \"column_description\": \"The duration from a player taking over the ball in the match\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"B365H\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"B365D\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"B365A\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"BWH\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"BWD\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"BWA\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"IWH\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"IWD\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"IWA\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"LBH\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"LBD\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"LBA\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"PSH\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"PSD\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"PSA\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"WHH\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"WHD\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"WHA\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"SJH\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"SJD\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"SJA\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"VCH\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"VCD\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"VCA\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"GBH\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"GBD\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"GBA\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"BSH\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"BSD\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"BSA\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n }\n ],\n \"Player\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"the unique id for players\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"player_api_id\",\n \"column_name\": \"player api id\",\n \"column_description\": \"the id of the player api\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"player_name\",\n \"column_name\": \"player name\",\n \"column_description\": \"player name\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"player_fifa_api_id\",\n \"column_name\": \"player federation international football association api id\",\n \"column_description\": \"the id of the player fifa api\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"birthday\",\n \"column_name\": \"\",\n \"column_description\": \"the player's birthday\",\n \"data_format\": \"text\",\n \"value_description\": \"e.g. 1992-02-29 00:00:00 \\ncommonsense reasoning: \\nPlayer A is older than player B means that A's birthday is earlier than B's\"\n },\n {\n \"original_column_name\": \"height\",\n \"column_name\": \"\",\n \"column_description\": \"the player's height\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"weight\",\n \"column_name\": \"\",\n \"column_description\": \"the player's weight\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n }\n ],\n \"Player_Attributes\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"the unique id for players\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"player_fifa_api_id\",\n \"column_name\": \"player federation international football association api id\",\n \"column_description\": \"the id of the player fifa api\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"player_api_id\",\n \"column_name\": \"player api id\",\n \"column_description\": \"the id of the player api\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"date\",\n \"column_name\": \"\",\n \"column_description\": \"date\",\n \"data_format\": \"text\",\n \"value_description\": \"e.g. 2016-02-18 00:00:00\"\n },\n {\n \"original_column_name\": \"overall_rating\",\n \"column_name\": \"\",\n \"column_description\": \"the overall rating of the player\",\n \"data_format\": \"integer\",\n \"value_description\": \"commonsense reasoning: \\nThe rating is between 0-100 which is calculated by FIFA.\\n Higher overall rating means the player has a stronger overall strength.\"\n },\n {\n \"original_column_name\": \"potential\",\n \"column_name\": \"\",\n \"column_description\": \"potential of the player\",\n \"data_format\": \"integer\",\n \"value_description\": \"commonsense reasoning: \\nThe potential score is between 0-100 which is calculated by FIFA.\\n Higher potential score means that the player has more potential\"\n },\n {\n \"original_column_name\": \"preferred_foot\",\n \"column_name\": \"preferred foot\",\n \"column_description\": \"the player's preferred foot when attacking\",\n \"data_format\": \"text\",\n \"value_description\": \"right/ left\"\n },\n {\n \"original_column_name\": \"attacking_work_rate\",\n \"column_name\": \"attacking work rate\",\n \"column_description\": \"the player's attacking work rate\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense reasoning: \\n• high: implies that the player is going to be in all of your attack moves\\n• medium: implies that the player will select the attack actions he will join in\\n• low: remain in his position while the team attacks \"\n },\n {\n \"original_column_name\": \"defensive_work_rate\",\n \"column_name\": \"\",\n \"column_description\": \"the player's defensive work rate\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense reasoning: \\n• high: remain in his position and defense while the team attacks \\n• medium: implies that the player will select the defensive actions he will join in\\n• low: implies that the player is going to be in all of your attack moves instead of defensing\"\n },\n {\n \"original_column_name\": \"crossing\",\n \"column_name\": \"\",\n \"column_description\": \"the player's crossing score \",\n \"data_format\": \"integer\",\n \"value_description\": \"commonsense reasoning: \\nCross is a long pass into the opponent's goal towards the header of sixth-yard teammate.\\n The crossing score is between 0-100 which measures the tendency/frequency of crosses in the box.\\n Higher potential score means that the player performs better in crossing actions. \"\n },\n {\n \"original_column_name\": \"finishing\",\n \"column_name\": \"\",\n \"column_description\": \"the player's finishing rate\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"heading_accuracy\",\n \"column_name\": \"heading accuracy\",\n \"column_description\": \"the player's heading accuracy\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"short_passing\",\n \"column_name\": \"short passing\",\n \"column_description\": \"the player's short passing score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"volleys\",\n \"column_name\": \"\",\n \"column_description\": \"the player's volley score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"dribbling\",\n \"column_name\": \"\",\n \"column_description\": \"the player's dribbling score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"curve\",\n \"column_name\": \"\",\n \"column_description\": \"the player's curve score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"free_kick_accuracy\",\n \"column_name\": \"free kick accuracy\",\n \"column_description\": \"the player's free kick accuracy\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"long_passing\",\n \"column_name\": \"long passing\",\n \"column_description\": \"the player's long passing score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"ball_control\",\n \"column_name\": \"ball control\",\n \"column_description\": \"the player's ball control score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"acceleration\",\n \"column_name\": \"\",\n \"column_description\": \"the player's acceleration score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"sprint_speed\",\n \"column_name\": \"sprint speed\",\n \"column_description\": \"the player's sprint speed\\n\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"agility\",\n \"column_name\": \"\",\n \"column_description\": \"the player's agility\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"reactions\",\n \"column_name\": \"\",\n \"column_description\": \"the player's reactions score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"balance\",\n \"column_name\": \"\",\n \"column_description\": \"the player's balance score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"shot_power\",\n \"column_name\": \"shot power\",\n \"column_description\": \"the player's shot power\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"jumping\",\n \"column_name\": \"\",\n \"column_description\": \"the player's jumping score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"stamina\",\n \"column_name\": \"\",\n \"column_description\": \"the player's stamina score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"strength\",\n \"column_name\": \"\",\n \"column_description\": \"the player's strength score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"long_shots\",\n \"column_name\": \"long shots\",\n \"column_description\": \"the player's long shots score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"aggression\",\n \"column_name\": \"\",\n \"column_description\": \"the player's aggression score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"interceptions\",\n \"column_name\": \"\",\n \"column_description\": \"the player's interceptions score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"positioning\",\n \"column_name\": \"\",\n \"column_description\": \"the player's \\npositioning score\\n\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"vision\",\n \"column_name\": \"\",\n \"column_description\": \"the player's vision score\\n\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"penalties\",\n \"column_name\": \"\",\n \"column_description\": \"the player's penalties score\\n\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"marking\",\n \"column_name\": \"\",\n \"column_description\": \"the player's markingscore\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"standing_tackle\",\n \"column_name\": \"standing tackle\",\n \"column_description\": \"the player's standing tackle score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"sliding_tackle\",\n \"column_name\": \"sliding tackle\",\n \"column_description\": \"the player's sliding tackle score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"gk_diving\",\n \"column_name\": \"goalkeep diving\",\n \"column_description\": \"the player's goalkeep diving score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"gk_handling\",\n \"column_name\": \"goalkeep handling\",\n \"column_description\": \"the player's goalkeep diving score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"gk_kicking\",\n \"column_name\": \"goalkeep kicking\",\n \"column_description\": \"the player's goalkeep kicking score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"gk_positioning\",\n \"column_name\": \"goalkeep positioning\",\n \"column_description\": \"the player's goalkeep positioning score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n },\n {\n \"original_column_name\": \"gk_reflexes\",\n \"column_name\": \"goalkeep reflexes\",\n \"column_description\": \"the player's goalkeep reflexes score\",\n \"data_format\": \"integer\",\n \"value_description\": \"0-100 which is calculated by FIFA\"\n }\n ],\n \"Team\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"the unique id for teams\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"team_api_id\",\n \"column_name\": \"team api id\",\n \"column_description\": \"the id of the team api\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"team_fifa_api_id\",\n \"column_name\": \"team federation international football association api id\",\n \"column_description\": \"the id of the team fifa api\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"team_long_name\",\n \"column_name\": \"team long name\",\n \"column_description\": \"the team's long name\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"team_short_name\",\n \"column_name\": \"team short name\",\n \"column_description\": \"the team's short name\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"Team_Attributes\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"the unique id for teams\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"team_fifa_api_id\",\n \"column_name\": \"team federation international football association api id\",\n \"column_description\": \"the id of the team fifa api\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"team_api_id\",\n \"column_name\": \"team api id\",\n \"column_description\": \"the id of the team api\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"date\",\n \"column_name\": \"\",\n \"column_description\": \"Date\",\n \"data_format\": \"text\",\n \"value_description\": \"e.g. 2010-02-22 00:00:00\"\n },\n {\n \"original_column_name\": \"buildUpPlaySpeed\",\n \"column_name\": \"build Up Play Speed\",\n \"column_description\": \"the speed in which attacks are put together \",\n \"data_format\": \"integer\",\n \"value_description\": \"the score which is between 1-00 to measure the team's attack speed\"\n },\n {\n \"original_column_name\": \"buildUpPlaySpeedClass\",\n \"column_name\": \"build Up Play Speed Class\",\n \"column_description\": \"the speed class\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense reasoning: \\n• Slow: 1-33\\n• Balanced: 34-66\\n• Fast: 66-100\"\n },\n {\n \"original_column_name\": \"buildUpPlayDribbling\",\n \"column_name\": \"build Up Play Dribbling\",\n \"column_description\": \"the tendency/ frequency of dribbling\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"buildUpPlayDribblingClass\",\n \"column_name\": \"build Up Play Dribbling Class\",\n \"column_description\": \"the dribbling class\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense reasoning: \\n• Little: 1-33\\n• Normal: 34-66\\n• Lots: 66-100\"\n },\n {\n \"original_column_name\": \"buildUpPlayPassing\",\n \"column_name\": \"build Up Play Passing\",\n \"column_description\": \"affects passing distance and support from teammates\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"buildUpPlayPassingClass\",\n \"column_name\": \"build Up Play Passing Class\",\n \"column_description\": \"the passing class\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense reasoning: \\n• Short: 1-33\\n• Mixed: 34-66\\n• Long: 66-100\"\n },\n {\n \"original_column_name\": \"buildUpPlayPositioningClass\",\n \"column_name\": \"build Up Play Positioning Class\",\n \"column_description\": \"A team's freedom of movement in the 1st two thirds of the pitch\",\n \"data_format\": \"text\",\n \"value_description\": \"Organised / Free Form\"\n },\n {\n \"original_column_name\": \"chanceCreationPassing\",\n \"column_name\": \"chance Creation Passing\",\n \"column_description\": \"Amount of risk in pass decision and run support\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"chanceCreationPassingClass\",\n \"column_name\": \"chance Creation Passing Class\",\n \"column_description\": \"the chance creation passing class\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense reasoning: \\n• Safe: 1-33\\n• Normal: 34-66\\n• Risky: 66-100\"\n },\n {\n \"original_column_name\": \"chanceCreationCrossing\",\n \"column_name\": \"chance Creation Crossing\",\n \"column_description\": \"The tendency / frequency of crosses into the box\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"chanceCreationCrossingClass\",\n \"column_name\": \"chance Creation Crossing Class\",\n \"column_description\": \"the chance creation crossing class\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense reasoning: \\n• Little: 1-33\\n• Normal: 34-66\\n• Lots: 66-100\"\n },\n {\n \"original_column_name\": \"chanceCreationShooting\",\n \"column_name\": \"chance Creation Shooting\",\n \"column_description\": \"The tendency / frequency of shots taken\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"chanceCreationShootingClass\",\n \"column_name\": \"chance Creation Shooting Class\",\n \"column_description\": \"the chance creation shooting class\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense reasoning: \\n• Little: 1-33\\n• Normal: 34-66\\n• Lots: 66-100\"\n },\n {\n \"original_column_name\": \"chanceCreationPositioningClass\",\n \"column_name\": \"chance Creation Positioning Class\",\n \"column_description\": \"A team’s freedom of movement in the final third of the pitch\",\n \"data_format\": \"text\",\n \"value_description\": \"Organised / Free Form\"\n },\n {\n \"original_column_name\": \"defencePressure\",\n \"column_name\": \"defence Pressure\",\n \"column_description\": \"Affects how high up the pitch the team will start pressuring\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"defencePressureClass\",\n \"column_name\": \"defence Pressure Class\",\n \"column_description\": \"the defence pressure class\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense reasoning: \\n• Deep: 1-33\\n• Medium: 34-66\\n• High: 66-100\"\n },\n {\n \"original_column_name\": \"defenceAggression\",\n \"column_name\": \"defence Aggression\",\n \"column_description\": \"Affect the team’s approach to tackling the ball possessor\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"defenceAggressionClass\",\n \"column_name\": \"defence Aggression Class\",\n \"column_description\": \"the defence aggression class\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense reasoning: \\n• Contain: 1-33\\n• Press: 34-66\\n• Double: 66-100\"\n },\n {\n \"original_column_name\": \"defenceTeamWidth\",\n \"column_name\": \"defence Team Width\",\n \"column_description\": \"Affects how much the team will shift to the ball side\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"defenceTeamWidthClass\",\n \"column_name\": \"defence Team Width Class\",\n \"column_description\": \"the defence team width class\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense reasoning: \\n• Narrow: 1-33\\n• Normal: 34-66\\n• Wide: 66-100\"\n },\n {\n \"original_column_name\": \"defenceDefenderLineClass\",\n \"column_name\": \"defence Defender Line Class\",\n \"column_description\": \"Affects the shape and strategy of the defence\",\n \"data_format\": \"text\",\n \"value_description\": \"Cover/ Offside Trap\"\n }\n ]\n}", + "formula_1": "CREATE TABLE `circuits` (\n `circuitId` INTEGER, -- unique identification number of the circuit; example: [2, 3]\n `circuitRef` TEXT, -- circuit reference name; example: ['sepang', 'bahrain']\n `name` TEXT, -- full name of circuit; example: ['Sepang International Circuit', 'Bahrain International Circuit']\n `location` TEXT, -- location of circuit; example: ['Kuala Lumpur', 'Sakhir']\n `country` TEXT, -- country of circuit; example: ['Malaysia', 'Bahrain']\n `lat` REAL, -- latitude of location of circuit; example: [2.76083, 26.0325]\n `lng` REAL, -- longitude of location of circuit; example: [101.738, 50.5106]\n `alt` INTEGER, -- example: []\n `url` TEXT, -- url; example: ['http://en.wikipedia.org/wiki/Sepang_International_Circuit', 'http://en.wikipedia.org/wiki/Bahrain_International_Circuit']\n PRIMARY KEY (`circuitId`)\n);\n\nCREATE TABLE `constructors` (\n `constructorId` INTEGER, -- the unique identification number identifying constructors; example: [1, 2]\n `constructorRef` TEXT, -- Constructor Reference name; example: ['mclaren', 'bmw_sauber']\n `name` TEXT, -- full name of the constructor; example: ['McLaren', 'BMW Sauber']\n `nationality` TEXT, -- nationality of the constructor; example: ['British', 'German']\n `url` TEXT, -- the introduction website of the constructor; example: ['http://en.wikipedia.org/wiki/McLaren', 'http://en.wikipedia.org/wiki/BMW_Sauber']\n PRIMARY KEY (`constructorId`)\n);\n\nCREATE TABLE `drivers` (\n `driverId` INTEGER, -- the unique identification number identifying each driver; example: [1, 2]\n `driverRef` TEXT, -- driver reference name; example: ['hamilton', 'heidfeld']\n `number` INTEGER, -- number; example: [44, 6]\n `code` TEXT, -- abbreviated code for drivers; example: ['HAM', 'HEI']\n `forename` TEXT, -- forename; example: ['Lewis', 'Nick']\n `surname` TEXT, -- surname; example: ['Hamilton', 'Heidfeld']\n `dob` DATE, -- date of birth; example: ['1985-01-07', '1977-05-10']\n `nationality` TEXT, -- nationality of drivers; example: ['British', 'German']\n `url` TEXT, -- the introduction website of the drivers; example: ['http://en.wikipedia.org/wiki/Lewis_Hamilton', 'http://en.wikipedia.org/wiki/Nick_Heidfeld']\n PRIMARY KEY (`driverId`)\n);\n\nCREATE TABLE `seasons` (\n `year` INTEGER, -- the unique identification number identifying the race; example: [1950, 1951]\n `url` TEXT, -- website link of season race introduction; example: ['http://en.wikipedia.org/wiki/1950_Formula_One_season', 'http://en.wikipedia.org/wiki/1951_Formula_One_season']\n PRIMARY KEY (`year`)\n);\n\nCREATE TABLE `races` (\n `raceId` INTEGER, -- the unique identification number identifying the race; example: [2, 3]\n `year` INTEGER, -- year; example: [2009]\n `round` INTEGER, -- round; example: [2, 3]\n `circuitId` INTEGER, -- circuit Id; example: [2, 17]\n `name` TEXT, -- name of the race; example: ['Malaysian Grand Prix', 'Chinese Grand Prix']\n `date` DATE, -- duration time; example: ['2009-04-05', '2009-04-19']\n `time` TEXT, -- time of the location; example: ['09:00:00', '07:00:00']\n `url` TEXT, -- introduction of races; example: ['http://en.wikipedia.org/wiki/2009_Malaysian_Grand_Prix', 'http://en.wikipedia.org/wiki/2009_Chinese_Grand_Prix']\n PRIMARY KEY (`raceId`),\n FOREIGN KEY (`circuitId`) REFERENCES `circuits` (`circuitId`),\n FOREIGN KEY (`year`) REFERENCES `seasons` (`year`)\n);\n\nCREATE TABLE `constructorResults` (\n `constructorResultsId` INTEGER, -- constructor Results Id; example: [1, 2]\n `raceId` INTEGER, -- race id; example: [18]\n `constructorId` INTEGER, -- constructor id; example: [1, 2]\n `points` REAL, -- points; example: [14.0, 8.0]\n `status` TEXT, -- status; example: []\n PRIMARY KEY (`constructorResultsId`),\n FOREIGN KEY (`constructorId`) REFERENCES `constructors` (`constructorId`),\n FOREIGN KEY (`raceId`) REFERENCES `races` (`raceId`)\n);\n\nCREATE TABLE `constructorStandings` (\n `constructorStandingsId` INTEGER, -- unique identification of the constructor standing records; example: [1, 2]\n `raceId` INTEGER, -- id number identifying which races; example: [18]\n `constructorId` INTEGER, -- id number identifying which id; example: [1, 2]\n `points` REAL, -- how many points acquired in each race; example: [14.0, 8.0]\n `position` INTEGER, -- position or track of circuits; example: [1, 3]\n `positionText` TEXT, -- position text; example: ['1', '3']\n `wins` INTEGER, -- wins; example: [1, 0]\n PRIMARY KEY (`constructorStandingsId`),\n FOREIGN KEY (`constructorId`) REFERENCES `constructors` (`constructorId`),\n FOREIGN KEY (`raceId`) REFERENCES `races` (`raceId`)\n);\n\nCREATE TABLE `driverStandings` (\n `driverStandingsId` INTEGER, -- the unique identification number identifying driver standing records; example: [1, 2]\n `raceId` INTEGER, -- id number identifying which races; example: [18]\n `driverId` INTEGER, -- id number identifying which drivers; example: [1, 2]\n `points` REAL, -- how many points acquired in each race; example: [10.0, 8.0]\n `position` INTEGER, -- position or track of circuits; example: [1, 2]\n `positionText` TEXT, -- position text; example: ['1', '2']\n `wins` INTEGER, -- wins; example: [1, 0]\n PRIMARY KEY (`driverStandingsId`),\n FOREIGN KEY (`driverId`) REFERENCES `drivers` (`driverId`),\n FOREIGN KEY (`raceId`) REFERENCES `races` (`raceId`)\n);\n\nCREATE TABLE `lapTimes` (\n `raceId` INTEGER, -- the identification number identifying race; example: [2]\n `driverId` INTEGER, -- the identification number identifying each driver; example: [1]\n `lap` INTEGER, -- lap number; example: [1, 2]\n `position` INTEGER, -- position or track of circuits; example: [10, 11]\n `time` TEXT, -- lap time; example: ['1:52.965', '1:41.865']\n `milliseconds` INTEGER, -- milliseconds; example: [112965, 101865]\n PRIMARY KEY (`raceId`, `driverId`, `lap`),\n FOREIGN KEY (`driverId`) REFERENCES `drivers` (`driverId`),\n FOREIGN KEY (`raceId`) REFERENCES `races` (`raceId`)\n);\n\nCREATE TABLE `pitStops` (\n `raceId` INTEGER, -- the identification number identifying race; example: [842]\n `driverId` INTEGER, -- the identification number identifying each driver; example: [1, 2]\n `stop` INTEGER, -- stop number; example: [1, 2]\n `lap` INTEGER, -- lap number; example: [12, 24]\n `time` TEXT, -- time; example: ['16:24:40', '16:45:48']\n `duration` TEXT, -- duration time; example: ['22.552', '22.611']\n `milliseconds` INTEGER, -- milliseconds; example: [22552, 22611]\n PRIMARY KEY (`raceId`, `driverId`, `stop`),\n FOREIGN KEY (`driverId`) REFERENCES `drivers` (`driverId`),\n FOREIGN KEY (`raceId`) REFERENCES `races` (`raceId`)\n);\n\nCREATE TABLE `qualifying` (\n `qualifyId` INTEGER, -- the unique identification number identifying qualifying; example: [23, 24]\n `raceId` INTEGER, -- the identification number identifying each race; example: [19]\n `driverId` INTEGER, -- the identification number identifying each driver; example: [13, 8]\n `constructorId` INTEGER, -- constructor Id; example: [6, 1]\n `number` INTEGER, -- number; example: [2, 1]\n `position` INTEGER, -- position or track of circuit; example: [1, 2]\n `q1` TEXT, -- time in qualifying 1; example: ['1:35.347', '1:35.645']\n `q2` TEXT, -- time in qualifying 2; example: ['1:34.412', '1:34.188']\n `q3` TEXT, -- time in qualifying 3; example: ['1:35.748', '1:36.230']\n PRIMARY KEY (`qualifyId`),\n FOREIGN KEY (`constructorId`) REFERENCES `constructors` (`constructorId`),\n FOREIGN KEY (`driverId`) REFERENCES `drivers` (`driverId`),\n FOREIGN KEY (`raceId`) REFERENCES `races` (`raceId`)\n);\n\nCREATE TABLE `status` (\n `statusId` INTEGER, -- the unique identification number identifying status; example: [1, 2]\n `status` TEXT, -- full name of status; example: ['Finished', 'Disqualified']\n PRIMARY KEY (`statusId`)\n);\n\nCREATE TABLE `results` (\n `resultId` INTEGER, -- the unique identification number identifying race result; example: [23, 24]\n `raceId` INTEGER, -- the identification number identifying the race; example: [19]\n `driverId` INTEGER, -- the identification number identifying the driver; example: [8, 9]\n `constructorId` INTEGER, -- the identification number identifying which constructors; example: [6, 2]\n `number` INTEGER, -- number; example: [1, 4]\n `grid` INTEGER, -- the number identifying the area where cars are set into a grid formation in order to start the race.; example: [2, 4]\n `position` INTEGER, -- The finishing position or track of circuits; example: [1, 2]\n `positionText` TEXT, -- position text; example: ['1', '2']\n `positionOrder` INTEGER, -- the finishing order of positions; example: [1, 2]\n `points` REAL, -- points; example: [10.0, 8.0]\n `laps` INTEGER, -- lap number; example: [56]\n `time` TEXT, -- finish time; example: ['1:31:18.555', '+19.570']\n `milliseconds` INTEGER, -- the actual finishing time of drivers in milliseconds; example: [5478555, 5498125]\n `fastestLap` INTEGER, -- fastest lap number; example: [37, 39]\n `rank` INTEGER, -- starting rank positioned by fastest lap speed; example: [2, 6]\n `fastestLapTime` TEXT, -- fastest Lap Time; example: ['1:35.405', '1:35.921']\n `fastestLapSpeed` TEXT, -- fastest Lap Speed; example: ['209.158', '208.033']\n `statusId` INTEGER, -- status ID; example: [1]\n PRIMARY KEY (`resultId`),\n FOREIGN KEY (`statusId`) REFERENCES `status` (`statusId`),\n FOREIGN KEY (`constructorId`) REFERENCES `constructors` (`constructorId`),\n FOREIGN KEY (`driverId`) REFERENCES `drivers` (`driverId`),\n FOREIGN KEY (`raceId`) REFERENCES `races` (`raceId`)\n);\n\n\nOfficial column/value descriptions (2024 Dev release):\n{\n \"circuits\": [\n {\n \"original_column_name\": \"circuitId\",\n \"column_name\": \"circuit Id \",\n \"column_description\": \"unique identification number of the circuit \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"circuitRef\",\n \"column_name\": \"circuit reference name \",\n \"column_description\": \"circuit reference name \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"name \",\n \"column_name\": \"\",\n \"column_description\": \"full name of circuit \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"location \",\n \"column_name\": \"\",\n \"column_description\": \"location of circuit \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"country \",\n \"column_name\": \"\",\n \"column_description\": \"country of circuit \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"lat \",\n \"column_name\": \"latitude \",\n \"column_description\": \"latitude of location of circuit \",\n \"data_format\": \"real\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"lng \",\n \"column_name\": \"longitude \",\n \"column_description\": \"longitude of location of circuit \",\n \"data_format\": \"real\",\n \"value_description\": \"commonsense evidence: \\nLocation coordinates: (lat, lng)\"\n },\n {\n \"original_column_name\": \"alt \",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"integer \",\n \"value_description\": \"not useful \"\n },\n {\n \"original_column_name\": \"url \",\n \"column_name\": \"\",\n \"column_description\": \"url \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"constructorResults\": [\n {\n \"original_column_name\": \"constructorResultsId\",\n \"column_name\": \"constructor Results Id\",\n \"column_description\": \"constructor Results Id\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"raceId\",\n \"column_name\": \"race Id\",\n \"column_description\": \"race id\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"constructorId\",\n \"column_name\": \"constructor Id\",\n \"column_description\": \"constructor id\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"points\",\n \"column_name\": \"\",\n \"column_description\": \"points\",\n \"data_format\": \"real\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"status\",\n \"column_name\": \"\",\n \"column_description\": \"status\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"constructorStandings\": [\n {\n \"original_column_name\": \"constructorStandingsId \",\n \"column_name\": \"constructor Standings Id \",\n \"column_description\": \"unique identification of the constructor standing records \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"raceId \",\n \"column_name\": \"race id \",\n \"column_description\": \"id number identifying which races \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"constructorId \",\n \"column_name\": \"constructor id \",\n \"column_description\": \"id number identifying which id \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"points\",\n \"column_name\": \"\",\n \"column_description\": \"how many points acquired in each race \",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"position \",\n \"column_name\": \"\",\n \"column_description\": \"position or track of circuits \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"positionText \",\n \"column_name\": \"position text \",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"same with position, not quite useful \"\n },\n {\n \"original_column_name\": \"wins \",\n \"column_name\": \"\",\n \"column_description\": \"wins \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n }\n ],\n \"constructors\": [\n {\n \"original_column_name\": \"constructorId \",\n \"column_name\": \"constructor Id \",\n \"column_description\": \"the unique identification number identifying constructors \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"constructorRef \",\n \"column_name\": \"Constructor Reference name \",\n \"column_description\": \"Constructor Reference name \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"name \",\n \"column_name\": \"\",\n \"column_description\": \"full name of the constructor \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"nationality \",\n \"column_name\": \"\",\n \"column_description\": \"nationality of the constructor \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"url \",\n \"column_name\": \"\",\n \"column_description\": \"the introduction website of the constructor \",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense evidence: How to find out the detailed introduction of the constructor: through its url\"\n }\n ],\n \"driverStandings\": [\n {\n \"original_column_name\": \"driverStandingsId \",\n \"column_name\": \"driver Standings Id \",\n \"column_description\": \"the unique identification number identifying driver standing records \",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"raceId \",\n \"column_name\": \"constructor Reference name \",\n \"column_description\": \"id number identifying which races \",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"driverId \",\n \"column_name\": \"\",\n \"column_description\": \"id number identifying which drivers \",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"points \",\n \"column_name\": \"\",\n \"column_description\": \"how many points acquired in each race \",\n \"data_format\": \"real\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"position \",\n \"column_name\": \"\",\n \"column_description\": \"position or track of circuits \",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"wins\",\n \"column_name\": \"\",\n \"column_description\": \"wins \",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"positionText \",\n \"column_name\": \"position text \",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"same with position, not quite useful \"\n }\n ],\n \"drivers\": [\n {\n \"original_column_name\": \"driverId \",\n \"column_name\": \"driver ID \",\n \"column_description\": \"the unique identification number identifying each driver\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"driverRef \",\n \"column_name\": \"driver reference name \",\n \"column_description\": \"driver reference name \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"number \",\n \"column_name\": \"\",\n \"column_description\": \"number \",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"code \",\n \"column_name\": \"\",\n \"column_description\": \"abbreviated code for drivers \",\n \"data_format\": \"text\",\n \"value_description\": \"if \\\"null\\\" or empty, it means it doesn't have code \"\n },\n {\n \"original_column_name\": \"forename \",\n \"column_name\": \"\",\n \"column_description\": \"forename \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"surname \",\n \"column_name\": \"\",\n \"column_description\": \"surname \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"dob \",\n \"column_name\": \"date of birth \",\n \"column_description\": \"date of birth \",\n \"data_format\": \"date\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"nationality \",\n \"column_name\": \"\",\n \"column_description\": \"nationality of drivers \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"url \",\n \"column_name\": \"\",\n \"column_description\": \"the introduction website of the drivers \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"lapTimes\": [\n {\n \"original_column_name\": \"raceId \",\n \"column_name\": \"race ID \",\n \"column_description\": \"the identification number identifying race\",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"driverId \",\n \"column_name\": \"driver ID \",\n \"column_description\": \"the identification number identifying each driver \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"lap \",\n \"column_name\": \"\",\n \"column_description\": \"lap number \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"position \",\n \"column_name\": \"\",\n \"column_description\": \"position or track of circuits \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"time \",\n \"column_name\": \"\",\n \"column_description\": \"lap time \",\n \"data_format\": \"text\",\n \"value_description\": \"in minutes / seconds / ... \"\n },\n {\n \"original_column_name\": \"milliseconds \",\n \"column_name\": \"\",\n \"column_description\": \"milliseconds \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n }\n ],\n \"pitStops\": [\n {\n \"original_column_name\": \"raceId \",\n \"column_name\": \"race ID \",\n \"column_description\": \"the identification number identifying race \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"driverId \",\n \"column_name\": \"driver ID \",\n \"column_description\": \"the identification number identifying each driver \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"stop \",\n \"column_name\": \"\",\n \"column_description\": \"stop number \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"lap \",\n \"column_name\": \"\",\n \"column_description\": \"lap number \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"time \",\n \"column_name\": \"\",\n \"column_description\": \"time \",\n \"data_format\": \"text\",\n \"value_description\": \"exact time \"\n },\n {\n \"original_column_name\": \"duration \",\n \"column_name\": \"\",\n \"column_description\": \"duration time \",\n \"data_format\": \"text\",\n \"value_description\": \"seconds/ \"\n },\n {\n \"original_column_name\": \"milliseconds \",\n \"column_name\": \"\",\n \"column_description\": \"milliseconds \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n }\n ],\n \"qualifying\": [\n {\n \"original_column_name\": \"qualifyId \",\n \"column_name\": \"qualify Id \",\n \"column_description\": \"the unique identification number identifying qualifying \",\n \"data_format\": \"integer \",\n \"value_description\": \"How does F1 Sprint qualifying work? Sprint qualifying is essentially a short-form Grand Prix – a race that is one-third the number of laps of the main event on Sunday. However, the drivers are battling for positions on the grid for the start of Sunday's race. \"\n },\n {\n \"original_column_name\": \"raceId \",\n \"column_name\": \"race Id \",\n \"column_description\": \"the identification number identifying each race \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"driverId \",\n \"column_name\": \"driver Id\",\n \"column_description\": \"the identification number identifying each driver \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"constructorId \",\n \"column_name\": \"constructor id \",\n \"column_description\": \"constructor Id \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"number \",\n \"column_name\": \"\",\n \"column_description\": \"number \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"position \",\n \"column_name\": \"\",\n \"column_description\": \"position or track of circuit \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"q1 \",\n \"column_name\": \"qualifying 1 \",\n \"column_description\": \"time in qualifying 1 \",\n \"data_format\": \"text\",\n \"value_description\": \"in minutes / seconds / ... \\ncommonsense evidence: \\nQ1 lap times determine pole position and the order of the front 10 positions on the grid. The slowest driver in Q1 starts 10th, the next starts ninth and so on. \\nAll 20 F1 drivers participate in the first period, called Q1, with each trying to set the fastest time possible. Those in the top 15 move on to the next period of qualifying, called Q2. The five slowest drivers are eliminated and will start the race in the last five positions on the grid. \"\n },\n {\n \"original_column_name\": \"q2 \",\n \"column_name\": \"qualifying 2 \",\n \"column_description\": \"time in qualifying 2 \",\n \"data_format\": \"text\",\n \"value_description\": \"in minutes / seconds / ... \\ncommonsense evidence: \\nonly top 15 in the q1 has the record of q2 \\nQ2 is slightly shorter but follows the same format. Drivers try to put down their best times to move on to Q1 as one of the 10 fastest cars. The five outside of the top 10 are eliminated and start the race from 11th to 15th based on their best lap time. \"\n },\n {\n \"original_column_name\": \"q3 \",\n \"column_name\": \"qualifying 3 \",\n \"column_description\": \"time in qualifying 3 \",\n \"data_format\": \"text\",\n \"value_description\": \"in minutes / seconds / ... \\ncommonsense evidence: \\nonly top 10 in the q2 has the record of q3 \"\n }\n ],\n \"races\": [\n {\n \"original_column_name\": \"raceId \",\n \"column_name\": \"race ID \",\n \"column_description\": \"the unique identification number identifying the race \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"year \",\n \"column_name\": \"\",\n \"column_description\": \"year \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"round \",\n \"column_name\": \"\",\n \"column_description\": \"round \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"circuitId \",\n \"column_name\": \"Circuit Id \",\n \"column_description\": \"circuit Id \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"name \",\n \"column_name\": \"\",\n \"column_description\": \"name of the race \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"date \",\n \"column_name\": \"\",\n \"column_description\": \"duration time \",\n \"data_format\": \"date\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"time \",\n \"column_name\": \"\",\n \"column_description\": \"time of the location \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"url \",\n \"column_name\": \"\",\n \"column_description\": \"introduction of races \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"results\": [\n {\n \"original_column_name\": \"resultId\",\n \"column_name\": \"Result ID \",\n \"column_description\": \"the unique identification number identifying race result \",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"raceId\",\n \"column_name\": \"race ID \",\n \"column_description\": \"the identification number identifying the race \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"driverId \",\n \"column_name\": \"driver ID\",\n \"column_description\": \"the identification number identifying the driver \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"constructorId \",\n \"column_name\": \"constructor Id \",\n \"column_description\": \"the identification number identifying which constructors \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"number \",\n \"column_name\": \"\",\n \"column_description\": \"number \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"grid \",\n \"column_name\": \"\",\n \"column_description\": \"the number identifying the area where cars are set into a grid formation in order to start the race. \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"position \",\n \"column_name\": \"\",\n \"column_description\": \"The finishing position or track of circuits \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"positionText \",\n \"column_name\": \"position text \",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"not quite useful \"\n },\n {\n \"original_column_name\": \"positionOrder \",\n \"column_name\": \"position order \",\n \"column_description\": \"the finishing order of positions \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"points \",\n \"column_name\": \"\",\n \"column_description\": \"points \",\n \"data_format\": \"real\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"laps \",\n \"column_name\": \"\",\n \"column_description\": \"lap number \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"time \",\n \"column_name\": \"\",\n \"column_description\": \"finish time \",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense evidence: \\n1. if the value exists, it means the driver finished the race. \\n2. Only the time of the champion shows in the format of \\\"minutes: seconds.millionsecond\\\", the time of the other drivers shows as \\\"seconds.millionsecond\\\" , which means their actual time is the time of the champion adding the value in this cell.\"\n },\n {\n \"original_column_name\": \"milliseconds \",\n \"column_name\": \"\",\n \"column_description\": \"the actual finishing time of drivers in milliseconds \",\n \"data_format\": \"integer \",\n \"value_description\": \"the actual finishing time of drivers \"\n },\n {\n \"original_column_name\": \"fastestLap \",\n \"column_name\": \"fastest lap \",\n \"column_description\": \"fastest lap number \",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"rank \",\n \"column_name\": \"\",\n \"column_description\": \"starting rank positioned by fastest lap speed\",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"fastestLapTime \",\n \"column_name\": \"fastest Lap Time\",\n \"column_description\": \"fastest Lap Time\",\n \"data_format\": \"text\",\n \"value_description\": \"faster (smaller in the value) \\\"fastestLapTime\\\" leads to higher rank (smaller is higher rank) \"\n },\n {\n \"original_column_name\": \"fastestLapSpeed \",\n \"column_name\": \"fastest Lap Speed \",\n \"column_description\": \"fastest Lap Speed \",\n \"data_format\": \"text\",\n \"value_description\": \" (km / h) \"\n },\n {\n \"original_column_name\": \"statusId \",\n \"column_name\": \"status Id \",\n \"column_description\": \"status ID \",\n \"data_format\": \"integer\",\n \"value_description\": \"its category description appear in the table status \"\n }\n ],\n \"seasons\": [\n {\n \"original_column_name\": \"year \",\n \"column_name\": \"race ID \",\n \"column_description\": \"the unique identification number identifying the race\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"url \",\n \"column_name\": \"\",\n \"column_description\": \"website link of season race introduction \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"status\": [\n {\n \"original_column_name\": \"statusId \",\n \"column_name\": \"status ID\",\n \"column_description\": \"the unique identification number identifying status\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"status \",\n \"column_name\": \"\",\n \"column_description\": \"full name of status \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ]\n}", + "superhero": "CREATE TABLE `alignment` (\n `id` INTEGER, -- the unique identifier of the alignment; example: [1, 2]\n `alignment` TEXT, -- the alignment of the superhero; example: ['Good', 'Bad']\n PRIMARY KEY (`id`)\n);\n\nCREATE TABLE `attribute` (\n `id` INTEGER, -- the unique identifier of the attribute; example: [1, 2]\n `attribute_name` TEXT, -- the attribute; example: ['Intelligence', 'Strength']\n PRIMARY KEY (`id`)\n);\n\nCREATE TABLE `colour` (\n `id` INTEGER, -- the unique identifier of the color; example: [1, 2]\n `colour` TEXT, -- the color of the superhero's skin/eye/hair/etc; example: ['No Colour', 'Amber']\n PRIMARY KEY (`id`)\n);\n\nCREATE TABLE `gender` (\n `id` INTEGER, -- the unique identifier of the gender; example: [1, 2]\n `gender` TEXT, -- the gender of the superhero; example: ['Male', 'Female']\n PRIMARY KEY (`id`)\n);\n\nCREATE TABLE `publisher` (\n `id` INTEGER, -- the unique identifier of the publisher; example: [1, 2]\n `publisher_name` TEXT, -- the name of the publisher; example: ['', 'ABC Studios']\n PRIMARY KEY (`id`)\n);\n\nCREATE TABLE `race` (\n `id` INTEGER, -- the unique identifier of the race; example: [1, 2]\n `race` TEXT, -- the race of the superhero; example: ['-', 'Alien']\n PRIMARY KEY (`id`)\n);\n\nCREATE TABLE `superhero` (\n `id` INTEGER, -- the unique identifier of the superhero; example: [1, 2]\n `superhero_name` TEXT, -- the name of the superhero; example: ['3-D Man', 'A-Bomb']\n `full_name` TEXT, -- the full name of the superhero; example: ['Charles Chandler', 'Richard Milhouse Jones']\n `gender_id` INTEGER, -- the id of the superhero's gender; example: [1]\n `eye_colour_id` INTEGER, -- the id of the superhero's eye color; example: [9, 33]\n `hair_colour_id` INTEGER, -- the id of the superhero's hair color; example: [13, 1]\n `skin_colour_id` INTEGER, -- the id of the superhero's skin color; example: [1, 7]\n `race_id` INTEGER, -- the id of the superhero's race; example: [1, 24]\n `publisher_id` INTEGER, -- the id of the publisher; example: [13, 3]\n `alignment_id` INTEGER, -- the id of the superhero's alignment; example: [1, 2]\n `height_cm` INTEGER, -- the height of the superhero; example: [188, 203]\n `weight_kg` INTEGER, -- the weight of the superhero; example: [90, 441]\n PRIMARY KEY (`id`),\n FOREIGN KEY (`skin_colour_id`) REFERENCES `colour` (`id`),\n FOREIGN KEY (`race_id`) REFERENCES `race` (`id`),\n FOREIGN KEY (`publisher_id`) REFERENCES `publisher` (`id`),\n FOREIGN KEY (`hair_colour_id`) REFERENCES `colour` (`id`),\n FOREIGN KEY (`gender_id`) REFERENCES `gender` (`id`),\n FOREIGN KEY (`eye_colour_id`) REFERENCES `colour` (`id`),\n FOREIGN KEY (`alignment_id`) REFERENCES `alignment` (`id`)\n);\n\nCREATE TABLE `hero_attribute` (\n `hero_id` INTEGER, -- the id of the hero Maps to superhero(id); example: [1, 2]\n `attribute_id` INTEGER, -- the id of the attribute Maps to attribute(id); example: [1]\n `attribute_value` INTEGER, -- the attribute value; example: [80, 75]\n FOREIGN KEY (`hero_id`) REFERENCES `superhero` (`id`),\n FOREIGN KEY (`attribute_id`) REFERENCES `attribute` (`id`)\n);\n\nCREATE TABLE `superpower` (\n `id` INTEGER, -- the unique identifier of the superpower; example: [1, 2]\n `power_name` TEXT, -- the superpower name; example: ['Agility', 'Accelerated Healing']\n PRIMARY KEY (`id`)\n);\n\nCREATE TABLE `hero_power` (\n `hero_id` INTEGER, -- the id of the hero Maps to superhero(id); example: [1, 2]\n `power_id` INTEGER, -- the id of the power Maps to superpower(id); example: [1, 18]\n FOREIGN KEY (`power_id`) REFERENCES `superpower` (`id`),\n FOREIGN KEY (`hero_id`) REFERENCES `superhero` (`id`)\n);\n\n\nOfficial column/value descriptions (2024 Dev release):\n{\n \"alignment\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"the unique identifier of the alignment\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"alignment\",\n \"column_name\": \"\",\n \"column_description\": \"the alignment of the superhero\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense evidence:\\nAlignment refers to a character's moral and ethical stance and can be used to describe the overall attitude or behavior of a superhero. Some common alignments for superheroes include:\\nGood: These superheroes are typically kind, selfless, and dedicated to protecting others and upholding justice. Examples of good alignments include Superman, Wonder Woman, and Spider-Man.\\nNeutral: These superheroes may not always prioritize the greater good, but they are not necessarily evil either. They may act in their own self-interest or make decisions based on their own moral code. Examples of neutral alignments include the Hulk and Deadpool.\\n•\\tBad: These superheroes are typically selfish, manipulative, and willing to harm others in pursuit of their own goals. Examples of evil alignments include Lex Luthor and the Joker.\"\n }\n ],\n \"attribute\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"the unique identifier of the attribute\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"attribute_name\",\n \"column_name\": \"attribute name\",\n \"column_description\": \"the attribute\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense evidence:\\nA superhero's attribute is a characteristic or quality that defines who they are and what they are capable of. This could be a physical trait, such as superhuman strength or the ability to fly, or a personal trait, such as extraordinary intelligence or exceptional bravery. \"\n }\n ],\n \"colour\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"the unique identifier of the color\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"colour\",\n \"column_name\": \"\",\n \"column_description\": \"the color of the superhero's skin/eye/hair/etc\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"gender\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"the unique identifier of the gender\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"gender\",\n \"column_name\": \"\",\n \"column_description\": \"the gender of the superhero\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"hero_attribute\": [\n {\n \"original_column_name\": \"hero_id\",\n \"column_name\": \"hero id\",\n \"column_description\": \"the id of the hero\\nMaps to superhero(id)\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"attribute_id\",\n \"column_name\": \"attribute id\",\n \"column_description\": \"the id of the attribute\\nMaps to attribute(id)\",\n \"data_format\": \"\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"attribute_value\",\n \"column_name\": \"attribute value\",\n \"column_description\": \"the attribute value\",\n \"data_format\": \"\",\n \"value_description\": \"commonsense evidence:\\nIf a superhero has a higher attribute value on a particular attribute, it means that they are more skilled or powerful in that area compared to other superheroes. For example, if a superhero has a higher attribute value for strength, they may be able to lift heavier objects or deliver more powerful punches than other superheroes.\"\n }\n ],\n \"hero_power\": [\n {\n \"original_column_name\": \"hero_id\",\n \"column_name\": \"hero id\",\n \"column_description\": \"the id of the hero\\nMaps to superhero(id)\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"power_id\",\n \"column_name\": \"power id\",\n \"column_description\": \"the id of the power\\nMaps to superpower(id)\",\n \"data_format\": \"integer\",\n \"value_description\": \"commonsense evidence:\\nIn general, a superhero's attributes provide the foundation for their abilities and help to define who they are, while their powers are the specific abilities that they use to fight crime and protect others.\"\n }\n ],\n \"publisher\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"the unique identifier of the publisher\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"publisher_name\",\n \"column_name\": \"\",\n \"column_description\": \"the name of the publisher\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"race\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"the unique identifier of the race\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"race\",\n \"column_name\": \"\",\n \"column_description\": \"the race of the superhero\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense evidence:\\nIn the context of superheroes, a superhero's race would refer to the particular group of people that the superhero belongs to base on these physical characteristics\"\n }\n ],\n \"superhero\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"the unique identifier of the superhero\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"superhero_name\",\n \"column_name\": \"superhero name\",\n \"column_description\": \"the name of the superhero\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"full_name\",\n \"column_name\": \"full name\",\n \"column_description\": \"the full name of the superhero\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense evidence:\\nThe full name of a person typically consists of their given name, also known as their first name or personal name, and their surname, also known as their last name or family name. For example, if someone's given name is \\\"John\\\" and their surname is \\\"Smith,\\\" their full name would be \\\"John Smith.\\\"\"\n },\n {\n \"original_column_name\": \"gender_id\",\n \"column_name\": \"gender id\",\n \"column_description\": \"the id of the superhero's gender\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"eye_colour_id\",\n \"column_name\": \"eye colour id\",\n \"column_description\": \"the id of the superhero's eye color\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"hair_colour_id\",\n \"column_name\": \"hair colour id\",\n \"column_description\": \"the id of the superhero's hair color\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"skin_colour_id\",\n \"column_name\": \"skin colour id\",\n \"column_description\": \"the id of the superhero's skin color\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"race_id\",\n \"column_name\": \"race id\",\n \"column_description\": \"the id of the superhero's race\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"publisher_id\",\n \"column_name\": \"publisher id\",\n \"column_description\": \"the id of the publisher\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"alignment_id\",\n \"column_name\": \"alignment id\",\n \"column_description\": \"the id of the superhero's alignment\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"height_cm\",\n \"column_name\": \"height cm\",\n \"column_description\": \"the height of the superhero\",\n \"data_format\": \"integer\",\n \"value_description\": \"commonsense evidence:\\nThe unit of height is centimeter. If the height_cm is NULL or 0, it means the height of the superhero is missing. \"\n },\n {\n \"original_column_name\": \"weight_kg\",\n \"column_name\": \"weight kg\",\n \"column_description\": \"the weight of the superhero\",\n \"data_format\": \"integer\",\n \"value_description\": \"commonsense evidence:\\nThe unit of weight is kilogram. If the weight_kg is NULL or 0, it means the weight of the superhero is missing.\"\n }\n ],\n \"superpower\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"the unique identifier of the superpower\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"power_name\",\n \"column_name\": \"power name\",\n \"column_description\": \"the superpower name\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ]\n}", + "codebase_community": "CREATE TABLE `badges` (\n `Id` INTEGER, -- the badge id; example: [1, 2]\n `UserId` INTEGER, -- the unique id of the user; example: [5, 6]\n `Name` TEXT, -- the badge name the user obtained; example: ['Teacher']\n `Date` DATETIME, -- the date that the user obtained the badge; example: ['2010-07-19 19:39:07.0']\n PRIMARY KEY (`Id`),\n FOREIGN KEY (`UserId`) REFERENCES `users` (`Id`)\n);\n\nCREATE TABLE `comments` (\n `Id` INTEGER, -- the comment Id; example: [1, 2]\n `PostId` INTEGER, -- the unique id of the post; example: [3, 5]\n `Score` INTEGER, -- rating score; example: [5, 0]\n `Text` TEXT, -- the detailed content of the comment; example: ['Could be a poster child fo argumentative and subjective. At the least, need to d', \"Yes, R is nice- but WHY is it 'valuable'.\"]\n `CreationDate` DATETIME, -- the creation date of the comment; example: ['2010-07-19 19:15:52.0', '2010-07-19 19:16:14.0']\n `UserId` INTEGER, -- the id of the user who post the comment; example: [13, 37]\n `UserDisplayName` TEXT, -- user's display name; example: []\n PRIMARY KEY (`Id`),\n FOREIGN KEY (`UserId`) REFERENCES `users` (`Id`),\n FOREIGN KEY (`PostId`) REFERENCES `posts` (`Id`)\n);\n\nCREATE TABLE `postHistory` (\n `Id` INTEGER, -- the post history id; example: [1, 2]\n `PostHistoryTypeId` INTEGER, -- the id of the post history type; example: [2, 1]\n `PostId` INTEGER, -- the unique id of the post; example: [1, 2]\n `RevisionGUID` TEXT, -- the revision globally unique id of the post; example: ['e58bf7fd-e60f-4c58-a6e4-dfc91cf98a69', '18bf9150-f1cb-432d-b7b7-26d2f8e33581']\n `CreationDate` DATETIME, -- the creation date of the post; example: ['2010-07-19 19:12:12.0', '2010-07-19 19:12:57.0']\n `UserId` INTEGER, -- the user who post the post; example: [8, 24]\n `Text` TEXT, -- the detailed content of the post; example: ['How should I elicit prior distributions from experts when fitting a Bayesian mod', 'Eliciting priors from experts']\n `Comment` TEXT, -- comments of the post; example: ['']\n `UserDisplayName` TEXT, -- user's display name; example: ['']\n PRIMARY KEY (`Id`),\n FOREIGN KEY (`UserId`) REFERENCES `users` (`Id`),\n FOREIGN KEY (`PostId`) REFERENCES `posts` (`Id`)\n);\n\nCREATE TABLE `postLinks` (\n `Id` INTEGER, -- the post link id; example: [108, 145]\n `CreationDate` DATETIME, -- the creation date of the post link; example: ['2010-07-21 14:47:33.0', '2010-07-23 16:30:41.0']\n `PostId` INTEGER, -- the post id; example: [395, 548]\n `RelatedPostId` INTEGER, -- the id of the related post; example: [173, 539]\n `LinkTypeId` INTEGER, -- the id of the link type; example: [1]\n PRIMARY KEY (`Id`),\n FOREIGN KEY (`RelatedPostId`) REFERENCES `posts` (`Id`),\n FOREIGN KEY (`PostId`) REFERENCES `posts` (`Id`)\n);\n\nCREATE TABLE `posts` (\n `Id` INTEGER, -- the post id; example: [1, 2]\n `PostTypeId` INTEGER, -- the id of the post type; example: [1, 2]\n `AcceptedAnswerId` INTEGER, -- the accepted answer id of the post; example: [15, 59]\n `CreaionDate` DATETIME, -- the creation date of the post; example: ['2010-07-19 19:12:12.0', '2010-07-19 19:12:57.0']\n `Score` INTEGER, -- the score of the post; example: [23, 22]\n `ViewCount` INTEGER, -- the view count of the post; example: [1278, 8198]\n `Body` TEXT, -- the body of the post; example: ['

How should I elicit prior distributions from experts when fitting a Bayesian ', '

In many different statistical methods there is an \"assumption of normality\". ']\n `OwnerUserId` INTEGER, -- the id of the owner user; example: [8, 24]\n `LasActivityDate` DATETIME, -- the last activity date; example: ['2010-09-15 21:08:26.0', '2012-11-12 09:21:54.0']\n `Title` TEXT, -- the title of the post; example: ['Eliciting priors from experts', 'What is normality?']\n `Tags` TEXT, -- the tag of the post; example: ['', '']\n `AnswerCount` INTEGER, -- the total number of answers of the post; example: [5, 7]\n `CommentCount` INTEGER, -- the total number of comments of the post; example: [1, 4]\n `FavoriteCount` INTEGER, -- the total number of favorites of the post; example: [14, 8]\n `LastEditorUserId` INTEGER, -- the id of the last editor; example: [88, 183]\n `LastEditDate` DATETIME, -- the last edit date; example: ['2010-08-07 17:56:44.0', '2011-02-12 05:50:03.0']\n `CommunityOwnedDate` DATETIME, -- the community owned date; example: ['2010-07-19 19:13:28.0', '2010-07-19 19:14:43.0']\n `ParentId` INTEGER, -- the id of the parent post; example: [3]\n `ClosedDate` DATETIME, -- the closed date of the post; example: []\n `OwnerDisplayName` TEXT, -- the display name of the post owner; example: []\n `LastEditorDisplayName` TEXT, -- the display name of the last editor; example: []\n PRIMARY KEY (`Id`),\n FOREIGN KEY (`ParentId`) REFERENCES `posts` (`Id`),\n FOREIGN KEY (`OwnerUserId`) REFERENCES `users` (`Id`),\n FOREIGN KEY (`LastEditorUserId`) REFERENCES `users` (`Id`)\n);\n\nCREATE TABLE `tags` (\n `Id` INTEGER, -- the tag id; example: [1, 2]\n `TagName` TEXT, -- the name of the tag; example: ['bayesian', 'prior']\n `Count` INTEGER, -- the count of posts that contain this tag; example: [1342, 168]\n `ExcerptPostId` INTEGER, -- the excerpt post id of the tag; example: [20258, 62158]\n `WikiPostId` INTEGER, -- the wiki post id of the tag; example: [20257, 62157]\n PRIMARY KEY (`Id`),\n FOREIGN KEY (`ExcerptPostId`) REFERENCES `posts` (`Id`)\n);\n\nCREATE TABLE `users` (\n `Id` INTEGER, -- the user id; example: [-1, 2]\n `Reputation` INTEGER, -- the user's reputation; example: [1, 101]\n `CreationDate` DATETIME, -- the creation date of the user account; example: ['2010-07-19 06:55:26.0', '2010-07-19 14:01:36.0']\n `DisplayName` TEXT, -- the user's display name; example: ['Community', 'Geoff Dalgas']\n `LastAccessDate` DATETIME, -- the last access date of the user account; example: ['2010-07-19 06:55:26.0', '2013-11-12 22:07:23.0']\n `WebsiteUrl` TEXT, -- the website url of the user account; example: ['http://meta.stackexchange.com/', 'http://stackoverflow.com']\n `Location` TEXT, -- user's location; example: ['on the server farm', 'Corvallis, OR']\n `AboutMe` TEXT, -- the self introduction of the user; example: [\"

Hi, I'm not really a person.

I'm a background process that helps keep \", '

Developer on the StackOverflow team. Find me on

this tag is more popular\"\n },\n {\n \"original_column_name\": \"ExcerptPostId\",\n \"column_name\": \"Excerpt Post Id\",\n \"column_description\": \"the excerpt post id of the tag\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"WikiPostId\",\n \"column_name\": \"Wiki Post Id\",\n \"column_description\": \"the wiki post id of the tag\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n }\n ],\n \"users\": [\n {\n \"original_column_name\": \"Id\",\n \"column_name\": \"\",\n \"column_description\": \"the user id\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Reputation\",\n \"column_name\": \"\",\n \"column_description\": \"the user's reputation\",\n \"data_format\": \"integer\",\n \"value_description\": \"commonsense evidence:\\nThe user with higher reputation has more influence. \"\n },\n {\n \"original_column_name\": \"CreationDate\",\n \"column_name\": \"Creation Date\",\n \"column_description\": \"the creation date of the user account\",\n \"data_format\": \"datetime\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"DisplayName\",\n \"column_name\": \"Display Name\",\n \"column_description\": \"the user's display name\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"LastAccessDate\",\n \"column_name\": \"Last Access Date\",\n \"column_description\": \"the last access date of the user account\",\n \"data_format\": \"datetime\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"WebsiteUrl\",\n \"column_name\": \"Website Url\",\n \"column_description\": \"the website url of the user account\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Location\",\n \"column_name\": \"\",\n \"column_description\": \"user's location\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"AboutMe\",\n \"column_name\": \"About Me\",\n \"column_description\": \"the self introduction of the user\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Views\",\n \"column_name\": \"\",\n \"column_description\": \"the number of views \",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"UpVotes\",\n \"column_name\": \"\",\n \"column_description\": \"the number of upvotes\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"DownVotes\",\n \"column_name\": \"\",\n \"column_description\": \"the number of downvotes\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"AccountId\",\n \"column_name\": \"Account Id\",\n \"column_description\": \"the unique id of the account\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Age\",\n \"column_name\": \"\",\n \"column_description\": \"user's age\",\n \"data_format\": \"integer\",\n \"value_description\": \"• teenager: 13-18\\n• adult: 19-65\\n• elder: > 65\"\n },\n {\n \"original_column_name\": \"ProfileImageUrl\",\n \"column_name\": \"Profile Image Url\",\n \"column_description\": \"the profile image url\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"votes\": [\n {\n \"original_column_name\": \"Id\",\n \"column_name\": \"\",\n \"column_description\": \"the vote id\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"PostId\",\n \"column_name\": \"Post Id\",\n \"column_description\": \"the id of the post that is voted\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"VoteTypeId\",\n \"column_name\": \"Vote Type Id\",\n \"column_description\": \"the id of the vote type\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"CreationDate\",\n \"column_name\": \"Creation Date\",\n \"column_description\": \"the creation date of the vote\",\n \"data_format\": \"datetime\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"UserId\",\n \"column_name\": \"User Id\",\n \"column_description\": \"the id of the voter\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"BountyAmount\",\n \"column_name\": \"Bounty Amount\",\n \"column_description\": \"the amount of bounty\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n }\n ]\n}", + "card_games": "CREATE TABLE `cards` (\n `id` INTEGER, -- unique id number identifying the cards; example: [1, 2]\n `artist` TEXT, -- The name of the artist that illustrated the card art.; example: ['Pete Venters', 'Volkan Baǵa']\n `asciiName` TEXT, -- The ASCII(opens new window) (Basic/128) code formatted card name with no special unicode characters.; example: []\n `availability` TEXT, -- A list of the card's available printing types.; example: ['mtgo,paper']\n `borderColor` TEXT, -- The color of the card border.; example: ['black']\n `cardKingdomFoilId` TEXT, -- card Kingdom Foil Id; example: ['123094', '123095']\n `cardKingdomId` TEXT, -- card Kingdom Id; example: ['122719', '122720']\n `colorIdentity` TEXT, -- A list of all the colors found in manaCost, colorIndicator, and text; example: ['W']\n `colorIndicator` TEXT, -- A list of all the colors in the color indicator (The symbol prefixed to a card's types).; example: []\n `colors` TEXT, -- A list of all the colors in manaCost and colorIndicator.; example: ['W']\n `convertedManaCost` REAL, -- The converted mana cost of the card. Use the manaValue property.; example: [7.0, 5.0]\n `duelDeck` TEXT, -- The indicator for which duel deck the card is in.; example: []\n `edhrecRank` INTEGER, -- The card rank on EDHRec; example: [15650, 12702]\n `faceConvertedManaCost` REAL, -- The converted mana cost or mana value for the face for either half or part of the card.; example: []\n `faceName` TEXT, -- The name on the face of the card.; example: []\n `flavorName` TEXT, -- The promotional card name printed above the true card name on special cards that has no game function.; example: []\n `flavorText` TEXT, -- The italicized text found below the rules text that has no game function.; example: ['Every tear shed is a drop of immortality.', 'The perfect antidote for a tightly packed formation.']\n `frameEffects` TEXT, -- The visual frame effects.; example: []\n `frameVersion` TEXT, -- The version of the card frame style.; example: ['2003']\n `hand` TEXT, -- The starting maximum hand size total modifier.; example: []\n `hasAlternativeDeckLimit` INTEGER, -- If the card allows a value other than 4 copies in a deck.; example: [0]\n `hasContentWarning` INTEGER, -- If the card marked by Wizards of the Coast (opens new window) for having sensitive content. See this official article (o; example: [0]\n `hasFoil` INTEGER, -- If the card can be found in foil; example: [0, 1]\n `hasNonFoil` INTEGER, -- If the card can be found in non-foil; example: [1]\n `isAlternative` INTEGER, -- If the card is an alternate variation to an original printing; example: [0]\n `isFullArt` INTEGER, -- If the card has full artwork.; example: [0]\n `isOnlineOnly` INTEGER, -- If the card is only available in online game variations.; example: [0]\n `isOversized` INTEGER, -- If the card is oversized.; example: [0]\n `isPromo` INTEGER, -- If the card is a promotional printing.; example: [0]\n `isReprint` INTEGER, -- If the card has been reprinted.; example: [1]\n `isReserved` INTEGER, -- If the card is on the Magic: The Gathering Reserved List (opens new window); example: [0]\n `isStarter` INTEGER, -- If the card is found in a starter deck such as Planeswalker/Brawl decks.; example: [0]\n `isStorySpotlight` INTEGER, -- If the card is a Story Spotlight card.; example: [0]\n `isTextless` INTEGER, -- If the card does not have a text box.; example: [0]\n `isTimeshifted` INTEGER, -- If the card is time shifted; example: [0]\n `keywords` TEXT, -- A list of keywords found on the card.; example: ['First strike', 'Flying']\n `layout` TEXT, -- The type of card layout. For a token card, this will be \"token\"; example: ['normal']\n `leadershipSkills` TEXT, -- A list of formats the card is legal to be a commander in; example: []\n `life` TEXT, -- The starting life total modifier. A plus or minus character precedes an integer.; example: []\n `loyalty` TEXT, -- The starting loyalty value of the card.; example: []\n `manaCost` TEXT, -- The mana cost of the card wrapped in brackets for each value.; example: ['{5}{W}{W}', '{4}{W}']\n `mcmId` TEXT, -- example: ['16165', '16166']\n `mcmMetaId` TEXT, -- example: ['156', '176']\n `mtgArenaId` TEXT, -- example: []\n `mtgjsonV4Id` TEXT, -- example: ['ad41be73-582f-58ed-abd4-a88c1f616ac3', '9eb2e54c-a12b-5e88-a9c0-d8c84c52d59c']\n `mtgoFoilId` TEXT, -- example: ['27501', '26993']\n `mtgoId` TEXT, -- example: ['27500', '26992']\n `multiverseId` TEXT, -- example: ['130550', '129465']\n `name` TEXT, -- The name of the card.; example: [\"Ancestor's Chosen\", 'Angel of Mercy']\n `number` TEXT, -- The number of the card; example: ['1', '2']\n `originalReleaseDate` TEXT, -- original Release Date; example: []\n `originalText` TEXT, -- original Text; example: ['First strike (This creature deals combat damage before creatures without first s', \"Flying (This creature can't be blocked except by creatures with flying or reach.\"]\n `originalType` TEXT, -- original Type; example: ['Creature - Human Cleric', 'Creature - Angel']\n `otherFaceIds` TEXT, -- other Face Ids; example: []\n `power` TEXT, -- The power of the card.; example: ['4', '3']\n `printings` TEXT, -- A list of set printing codes the card was printed in, formatted in uppercase.; example: ['10E,JUD,UMA', '10E,8ED,9ED,DDC,DVD,IMA,INV,JMP,MB1,P02,PS11,PSAL,S99']\n `promoTypes` TEXT, -- A list of promotional types for a card.; example: []\n `purchaseUrls` TEXT, -- Links that navigate to websites where the card can be purchased.; example: [\"{'cardKingdom': 'https://mtgjson.com/links/9fb51af0ad6f0736', 'cardmarket': 'htt\", \"{'cardKingdom': 'https://mtgjson.com/links/027095d094e58f5b', 'cardmarket': 'htt\"]\n `rarity` TEXT, -- The card printing rarity.; example: ['uncommon', 'common']\n `scryfallId` TEXT, -- example: ['7a5cd03c-4227-4551-aa4b-7d119f0468b5', '8f7980d4-da43-4d6d-ad16-14b8a34ae91d']\n `scryfallIllustrationId` TEXT, -- example: ['be2f7173-c8b7-4172-a388-9b2c6b3c16e5', 'e4d6c53f-e936-4be8-8b70-47c2be863b20']\n `scryfallOracleId` TEXT, -- example: ['fc2ccab7-cab1-4463-b73d-898070136d74', 'a2daaf32-dbfe-4618-892e-0da24f63a44a']\n `setCode` TEXT, -- The set printing code that the card is from.; example: ['10E']\n `side` TEXT, -- The identifier of the card side.; example: []\n `subtypes` TEXT, -- A list of card subtypes found after em-dash.; example: ['Human,Cleric', 'Angel']\n `supertypes` TEXT, -- A list of card supertypes found before em-dash.; example: []\n `tcgplayerProductId` TEXT, -- tcg player ProductId; example: ['15032', '15033']\n `text` TEXT, -- The rules text of the card.; example: ['First strike (This creature deals combat damage before creatures without first s', 'Flying When Angel of Mercy enters the battlefield, you gain 3 life.']\n `toughness` TEXT, -- The toughness of the card.; example: ['4', '3']\n `type` TEXT, -- The type of the card as visible, including any supertypes and subtypes.; example: ['Creature — Human Cleric', 'Creature — Angel']\n `types` TEXT, -- A list of all card types of the card, including Un‑sets and gameplay variants.; example: ['Creature', 'Instant']\n `uuid` TEXT, -- The universal unique identifier (v5) generated by MTGJSON. Each entry is unique.; example: ['5f8287b1-5bb6-5f4c-ad17-316a40d5bb0c', '57aaebc1-850c-503d-9f6e-bb8d00d8bf7c']\n `variations` TEXT, -- example: ['b7c19924-b4bf-56fc-aa73-f586e940bd42', '8fd4e2eb-3eb4-50ea-856b-ef638fa47f8a']\n `watermark` TEXT, -- The name of the watermark on the card.; example: []\n PRIMARY KEY (`id`)\n);\n\nCREATE TABLE `foreign_data` (\n `id` INTEGER, -- unique id number identifying this row of data; example: [1, 2]\n `flavorText` TEXT, -- The foreign flavor text of the card.; example: ['„Es ist der Wille aller, und meine Hand, die ihn ausführt.\"', '\"La voluntad de todos, realizada por mi mano.\"']\n `language` TEXT, -- The foreign language of card.; example: ['German', 'Spanish']\n `multiverseid` INTEGER, -- The foreign multiverse identifier of the card.; example: [148411, 150317]\n `name` TEXT, -- The foreign name of the card.; example: ['Ausgewählter der Ahnfrau', 'Elegido de la Antepasada']\n `text` TEXT, -- The foreign text ruling of the card.; example: ['Erstschlag (Diese Kreatur fügt Kampfschaden vor Kreaturen ohne Erstschlag zu.) W', 'Daña primero. (Esta criatura hace daño de combate antes que las criaturas sin la']\n `type` TEXT, -- The foreign type of the card. Includes any supertypes and subtypes.; example: ['Kreatur — Mensch, Kleriker', 'Criatura — Clérigo humano']\n `uuid` TEXT, -- example: ['5f8287b1-5bb6-5f4c-ad17-316a40d5bb0c']\n PRIMARY KEY (`id`),\n FOREIGN KEY (`uuid`) REFERENCES `cards` (`uuid`)\n);\n\nCREATE TABLE `legalities` (\n `id` INTEGER, -- unique id identifying this legality; example: [1, 2]\n `format` TEXT, -- format of play; example: ['commander', 'duel']\n `status` TEXT, -- example: ['Legal']\n `uuid` TEXT, -- example: ['5f8287b1-5bb6-5f4c-ad17-316a40d5bb0c']\n PRIMARY KEY (`id`),\n FOREIGN KEY (`uuid`) REFERENCES `cards` (`uuid`)\n);\n\nCREATE TABLE `sets` (\n `id` INTEGER, -- unique id identifying this set; example: [1, 2]\n `baseSetSize` INTEGER, -- The number of cards in the set.; example: [383, 302]\n `block` TEXT, -- The block name the set was in.; example: ['Core Set']\n `booster` TEXT, -- A breakdown of possibilities and weights of cards in a booster pack.; example: [\"{'default': {'boosters': [{'contents': {'basic': 1, 'common': 10, 'rare': 1, 'un\", \"{'default': {'boosters': [{'contents': {'common': 11, 'rare': 1, 'uncommon': 3},\"]\n `code` TEXT, -- The set code for the set.; example: ['10E', '2ED']\n `isFoilOnly` INTEGER, -- If the set is only available in foil.; example: [0]\n `isForeignOnly` INTEGER, -- If the set is available only outside the United States of America.; example: [0, 1]\n `isNonFoilOnly` INTEGER, -- If the set is only available in non-foil.; example: [0, 1]\n `isOnlineOnly` INTEGER, -- If the set is only available in online game variations.; example: [0]\n `isPartialPreview` INTEGER, -- If the set is still in preview (spoiled). Preview sets do not have complete data.; example: [0]\n `keyruneCode` TEXT, -- The matching Keyrune code for set image icons.; example: ['10E', '2ED']\n `mcmId` INTEGER, -- The Magic Card Marketset identifier.; example: [74, 3204]\n `mcmIdExtras` INTEGER, -- The split Magic Card Market set identifier if a set is printed in two sets. This identifier represents the second set's ; example: [3209]\n `mcmName` TEXT, -- magic card market name; example: ['Tenth Edition', 'Double Masters']\n `mtgoCode` TEXT, -- The set code for the set as it appears on Magic: The Gathering Online; example: ['10E', '2XM']\n `name` TEXT, -- The name of the set.; example: ['Tenth Edition', 'Unlimited Edition']\n `parentCode` TEXT, -- The parent set code for set variations like promotions, guild kits, etc.; example: []\n `releaseDate` DATE, -- The release date in ISO 8601 format for the set.; example: ['2007-07-13', '1993-12-01']\n `tcgplayerGroupId` INTEGER, -- The group identifier of the set on TCGplayer; example: [1, 115]\n `totalSetSize` INTEGER, -- The total number of cards in the set, including promotional and related supplemental products but excluding Alchemy modi; example: [508, 302]\n `type` TEXT, -- The expansion type of the set.; example: ['core', 'masters']\n PRIMARY KEY (`id`)\n);\n\nCREATE TABLE `set_translations` (\n `id` INTEGER, -- unique id identifying this set; example: [1, 2]\n `language` TEXT, -- language of this card; example: ['Chinese Simplified', 'Chinese Traditional']\n `setCode` TEXT, -- the set code for this set; example: ['10E']\n `translation` TEXT, -- translation of this card; example: ['核心系列第十版', 'Dixième édition']\n PRIMARY KEY (`id`),\n FOREIGN KEY (`setCode`) REFERENCES `sets` (`code`)\n);\n\nCREATE TABLE `rulings` (\n `id` INTEGER, -- unique id identifying this ruling; example: [1, 2]\n `date` DATE, -- date; example: ['2007-07-15', '2007-02-01']\n `text` TEXT, -- description about this ruling; example: ['You draw the card when Bandage resolves, not when the damage is actually prevent', 'If you double a negative life total, you do the real math. A life total of -10 b']\n `uuid` TEXT, -- example: ['6d268c95-c176-5766-9a46-c14f739aba1c', '56f4935b-f6c5-59b9-88bf-9bcce20247ce']\n PRIMARY KEY (`id`),\n FOREIGN KEY (`uuid`) REFERENCES `cards` (`uuid`)\n);\n\n\nOfficial column/value descriptions (2024 Dev release):\n{\n \"cards\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"unique id number identifying the cards\",\n \"column_description\": \"\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"artist\",\n \"column_name\": \"\",\n \"column_description\": \"The name of the artist that illustrated the card art.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"asciiName\",\n \"column_name\": \"ascii Name\",\n \"column_description\": \"The ASCII(opens new window) (Basic/128) code formatted card name with no special unicode characters.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"availability\",\n \"column_name\": \"\",\n \"column_description\": \"A list of the card's available printing types.\",\n \"data_format\": \"text\",\n \"value_description\": \"\\\"arena\\\", \\\"dreamcast\\\", \\\"mtgo\\\", \\\"paper\\\", \\\"shandalar\\\"\"\n },\n {\n \"original_column_name\": \"borderColor\",\n \"column_name\": \"border Color\",\n \"column_description\": \"The color of the card border.\",\n \"data_format\": \"text\",\n \"value_description\": \"\\\"black\\\", \\\"borderless\\\", \\\"gold\\\", \\\"silver\\\", \\\"white\\\"\"\n },\n {\n \"original_column_name\": \"cardKingdomFoilId\",\n \"column_name\": \"card Kingdom Foil Id\",\n \"column_description\": \"card Kingdom Foil Id\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense evidence:\\ncardKingdomFoilId, when paired with cardKingdomId that is not Null, is incredibly powerful. \"\n },\n {\n \"original_column_name\": \"cardKingdomId\",\n \"column_name\": \"card Kingdom Id\",\n \"column_description\": \"card Kingdom Id\",\n \"data_format\": \"text\",\n \"value_description\": \"A list of all the colors in the color indicator\"\n },\n {\n \"original_column_name\": \"colorIdentity\",\n \"column_name\": \"color Identity\",\n \"column_description\": \"A list of all the colors found in manaCost, colorIndicator, and text\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"colorIndicator\",\n \"column_name\": \"color Indicator\",\n \"column_description\": \"A list of all the colors in the color indicator (The symbol prefixed to a card's types).\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"colors\",\n \"column_name\": \"\",\n \"column_description\": \"A list of all the colors in manaCost and colorIndicator. \",\n \"data_format\": \"text\",\n \"value_description\": \"Some cards may not have values, such as cards with \\\"Devoid\\\" in its text.\"\n },\n {\n \"original_column_name\": \"convertedManaCost\",\n \"column_name\": \"converted Mana Cost\",\n \"column_description\": \"The converted mana cost of the card. Use the manaValue property.\",\n \"data_format\": \"real\",\n \"value_description\": \"if value is higher, it means that this card cost more converted mana \"\n },\n {\n \"original_column_name\": \"duelDeck\",\n \"column_name\": \"duel Deck\",\n \"column_description\": \"The indicator for which duel deck the card is in.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"edhrecRank\",\n \"column_name\": \"rec Rank in edh\",\n \"column_description\": \"The card rank on EDHRec\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"faceConvertedManaCost\",\n \"column_name\": \"face Converted Mana Cost\",\n \"column_description\": \"The converted mana cost or mana value for the face for either half or part of the card. \",\n \"data_format\": \"real\",\n \"value_description\": \"if value is higher, it means that this card cost more converted mana for the face\"\n },\n {\n \"original_column_name\": \"faceName\",\n \"column_name\": \"face Name\",\n \"column_description\": \"The name on the face of the card.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"flavorName\",\n \"column_name\": \"flavor Name\",\n \"column_description\": \"The promotional card name printed above the true card name on special cards that has no game function.\",\n \"data_format\": \"text\",\n \"value_description\": \"The promotional card name printed above the true card name on special cards that has no game function.\"\n },\n {\n \"original_column_name\": \"flavorText\",\n \"column_name\": \"flavor Text\",\n \"column_description\": \"The italicized text found below the rules text that has no game function.\",\n \"data_format\": \"text\",\n \"value_description\": \"The italicized text found below the rules text that has no game function.\"\n },\n {\n \"original_column_name\": \"frameEffects\",\n \"column_name\": \"frame Effects\",\n \"column_description\": \"The visual frame effects.\",\n \"data_format\": \"text\",\n \"value_description\": \"\\\"colorshifted\\\", \\\"companion\\\", \\\"compasslanddfc\\\", \\\"devoid\\\", \\\"draft\\\", \\\"etched\\\", \\\"extendedart\\\", \\\"fullart\\\", \\\"inverted\\\", \\\"legendary\\\", \\\"lesson\\\", \\\"miracle\\\", \\\"mooneldrazidfc\\\", \\\"nyxtouched\\\", \\\"originpwdfc\\\", \\\"showcase\\\", \\\"snow\\\", \\\"sunmoondfc\\\", \\\"textless\\\", \\\"tombstone\\\", \\\"waxingandwaningmoondfc\\\"\"\n },\n {\n \"original_column_name\": \"frameVersion\",\n \"column_name\": \"frame Version\",\n \"column_description\": \"The version of the card frame style.\",\n \"data_format\": \"text\",\n \"value_description\": \"\\\"1993\\\", \\\"1997\\\", \\\"2003\\\", \\\"2015\\\", \\\"future\\\"\"\n },\n {\n \"original_column_name\": \"hand\",\n \"column_name\": \"\",\n \"column_description\": \"The starting maximum hand size total modifier. \",\n \"data_format\": \"text\",\n \"value_description\": \"A + or - character precedes an integer. \\ncommonsense evidence:\\npositive maximum hand size: +1, +2, ....\\nnegative maximum hand size: -1, ....\\nneural maximum hand size: 0....\"\n },\n {\n \"original_column_name\": \"hasAlternativeDeckLimit\",\n \"column_name\": \"has Alternative Deck Limit\",\n \"column_description\": \"If the card allows a value other than 4 copies in a deck.\",\n \"data_format\": \"integer\",\n \"value_description\": \"0: disallow 1: allow\"\n },\n {\n \"original_column_name\": \"hasContentWarning\",\n \"column_name\": \"has Content Warning\",\n \"column_description\": \"If the card marked by Wizards of the Coast (opens new window) for having sensitive content. See this official article (opens new window) for more information.\",\n \"data_format\": \"integer\",\n \"value_description\": \"0: doesn't have 1: has sensitve content or Wizards of the Coast\\ncommonsense evidence:\\nCards with this property may have missing or degraded properties and values. \"\n },\n {\n \"original_column_name\": \"hasFoil\",\n \"column_name\": \"has Foil\",\n \"column_description\": \"If the card can be found in foil\",\n \"data_format\": \"integer\",\n \"value_description\": \"0: cannot be found 1: can be found\"\n },\n {\n \"original_column_name\": \"hasNonFoil\",\n \"column_name\": \"has Non Foil\",\n \"column_description\": \"If the card can be found in non-foil\",\n \"data_format\": \"integer\",\n \"value_description\": \"0: cannot be found 1: can be found\"\n },\n {\n \"original_column_name\": \"isAlternative\",\n \"column_name\": \"is Alternative\",\n \"column_description\": \"If the card is an alternate variation to an original printing\",\n \"data_format\": \"integer\",\n \"value_description\": \"0: is not 1: is\"\n },\n {\n \"original_column_name\": \"isFullArt\",\n \"column_name\": \"is Full Art\",\n \"column_description\": \"If the card has full artwork.\",\n \"data_format\": \"integer\",\n \"value_description\": \"0: doesn't have, 1: has full artwork\"\n },\n {\n \"original_column_name\": \"isOnlineOnly\",\n \"column_name\": \"is Online Only\",\n \"column_description\": \"If the card is only available in online game variations.\",\n \"data_format\": \"integer\",\n \"value_description\": \"0: is not 1: is\"\n },\n {\n \"original_column_name\": \"isOversized\",\n \"column_name\": \"is Oversized\",\n \"column_description\": \"If the card is oversized.\",\n \"data_format\": \"integer\",\n \"value_description\": \"0: is not 1: is\"\n },\n {\n \"original_column_name\": \"isPromo\",\n \"column_name\": \"is Promotion\",\n \"column_description\": \"If the card is a promotional printing.\",\n \"data_format\": \"integer\",\n \"value_description\": \"0: is not 1: is\"\n },\n {\n \"original_column_name\": \"isReprint\",\n \"column_name\": \"is Reprint\",\n \"column_description\": \"If the card has been reprinted.\",\n \"data_format\": \"integer\",\n \"value_description\": \"0: has not 1: has not been\"\n },\n {\n \"original_column_name\": \"isReserved\",\n \"column_name\": \"is Reserved\",\n \"column_description\": \"If the card is on the Magic: The Gathering Reserved List (opens new window)\",\n \"data_format\": \"integer\",\n \"value_description\": \"If the card is on the Magic, it will appear in The Gathering Reserved List\"\n },\n {\n \"original_column_name\": \"isStarter\",\n \"column_name\": \"is Starter\",\n \"column_description\": \"If the card is found in a starter deck such as Planeswalker/Brawl decks.\",\n \"data_format\": \"integer\",\n \"value_description\": \"0: is not 1: is\"\n },\n {\n \"original_column_name\": \"isStorySpotlight\",\n \"column_name\": \"is Story Spotlight\",\n \"column_description\": \"If the card is a Story Spotlight card.\",\n \"data_format\": \"integer\",\n \"value_description\": \"0: is not 1: is\"\n },\n {\n \"original_column_name\": \"isTextless\",\n \"column_name\": \"is Text less\",\n \"column_description\": \"If the card does not have a text box.\",\n \"data_format\": \"integer\",\n \"value_description\": \"commonsense evidence:\\n0: has a text box;\\n1: doesn't have a text box;\"\n },\n {\n \"original_column_name\": \"isTimeshifted\",\n \"column_name\": \"is Time shifted\",\n \"column_description\": \"If the card is time shifted\",\n \"data_format\": \"integer\",\n \"value_description\": \"commonsense evidence:\\nIf the card is \\\"timeshifted\\\", a feature of certain sets where a card will have a different frameVersion.\"\n },\n {\n \"original_column_name\": \"keywords\",\n \"column_name\": \"\",\n \"column_description\": \"A list of keywords found on the card.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"layout\",\n \"column_name\": \"\",\n \"column_description\": \"The type of card layout. For a token card, this will be \\\"token\\\"\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"leadershipSkills\",\n \"column_name\": \"leadership Skills\",\n \"column_description\": \"A list of formats the card is legal to be a commander in\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"life\",\n \"column_name\": \"\",\n \"column_description\": \"The starting life total modifier. A plus or minus character precedes an integer.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"loyalty\",\n \"column_name\": \"\",\n \"column_description\": \"The starting loyalty value of the card.\",\n \"data_format\": \"text\",\n \"value_description\": \"Used only on cards with \\\"Planeswalker\\\" in its types. empty means unkown\"\n },\n {\n \"original_column_name\": \"manaCost\",\n \"column_name\": \"mana Cost \",\n \"column_description\": \"The mana cost of the card wrapped in brackets for each value.\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense evidence:\\nmanaCost is unconverted mana cost\"\n },\n {\n \"original_column_name\": \"mcmId\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"NOT USEFUL\"\n },\n {\n \"original_column_name\": \"mcmMetaId\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"NOT USEFUL\"\n },\n {\n \"original_column_name\": \"mtgArenaId\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"NOT USEFUL\"\n },\n {\n \"original_column_name\": \"mtgjsonV4Id\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"NOT USEFUL\"\n },\n {\n \"original_column_name\": \"mtgoFoilId\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"NOT USEFUL\"\n },\n {\n \"original_column_name\": \"mtgoId\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"NOT USEFUL\"\n },\n {\n \"original_column_name\": \"multiverseId\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"NOT USEFUL\"\n },\n {\n \"original_column_name\": \"name\",\n \"column_name\": \"\",\n \"column_description\": \"The name of the card.\",\n \"data_format\": \"text\",\n \"value_description\": \"Cards with multiple faces, like \\\"Split\\\" and \\\"Meld\\\" cards are given a delimiter.\"\n },\n {\n \"original_column_name\": \"number\",\n \"column_name\": \"\",\n \"column_description\": \"The number of the card\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"originalReleaseDate\",\n \"column_name\": \"\",\n \"column_description\": \"original Release Date\",\n \"data_format\": \"text\",\n \"value_description\": \"The original release date in ISO 8601(opens new window) format for a promotional card printed outside of a cycle window, such as Secret Lair Drop promotions.\"\n },\n {\n \"original_column_name\": \"originalText\",\n \"column_name\": \"\",\n \"column_description\": \"original Text\",\n \"data_format\": \"text\",\n \"value_description\": \"The text on the card as originally printed.\"\n },\n {\n \"original_column_name\": \"originalType\",\n \"column_name\": \"\",\n \"column_description\": \"original Type\",\n \"data_format\": \"text\",\n \"value_description\": \"The type of the card as originally printed. Includes any supertypes and subtypes.\"\n },\n {\n \"original_column_name\": \"otherFaceIds\",\n \"column_name\": \"\",\n \"column_description\": \"other Face Ids\",\n \"data_format\": \"text\",\n \"value_description\": \"A list of card UUID's to this card's counterparts, such as transformed or melded faces.\"\n },\n {\n \"original_column_name\": \"power\",\n \"column_name\": \"\",\n \"column_description\": \"The power of the card.\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense evidence:\\n∞ means infinite power\\nnull or * refers to unknown power\"\n },\n {\n \"original_column_name\": \"printings\",\n \"column_name\": \"\",\n \"column_description\": \"A list of set printing codes the card was printed in, formatted in uppercase.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"promoTypes\",\n \"column_name\": \"promo Types\",\n \"column_description\": \"A list of promotional types for a card.\",\n \"data_format\": \"text\",\n \"value_description\": \"\\\"arenaleague\\\", \\\"boosterfun\\\", \\\"boxtopper\\\", \\\"brawldeck\\\", \\\"bundle\\\", \\\"buyabox\\\", \\\"convention\\\", \\\"datestamped\\\", \\\"draculaseries\\\", \\\"draftweekend\\\", \\\"duels\\\", \\\"event\\\", \\\"fnm\\\", \\\"gameday\\\", \\\"gateway\\\", \\\"giftbox\\\", \\\"gilded\\\", \\\"godzillaseries\\\", \\\"instore\\\", \\\"intropack\\\", \\\"jpwalker\\\", \\\"judgegift\\\", \\\"league\\\", \\\"mediainsert\\\", \\\"neonink\\\", \\\"openhouse\\\", \\\"planeswalkerstamped\\\", \\\"playerrewards\\\", \\\"playpromo\\\", \\\"premiereshop\\\", \\\"prerelease\\\", \\\"promopack\\\", \\\"release\\\", \\\"setpromo\\\", \\\"stamped\\\", \\\"textured\\\", \\\"themepack\\\", \\\"thick\\\", \\\"tourney\\\", \\\"wizardsplaynetwork\\\"\"\n },\n {\n \"original_column_name\": \"purchaseUrls\",\n \"column_name\": \"purchase Urls\",\n \"column_description\": \"Links that navigate to websites where the card can be purchased.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"rarity\",\n \"column_name\": \"\",\n \"column_description\": \"The card printing rarity.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"scryfallId\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"NOT USEFUL\"\n },\n {\n \"original_column_name\": \"scryfallIllustrationId\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"NOT USEFUL\"\n },\n {\n \"original_column_name\": \"scryfallOracleId\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"NOT USEFUL\"\n },\n {\n \"original_column_name\": \"setCode\",\n \"column_name\": \"Set Code\",\n \"column_description\": \"The set printing code that the card is from.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"side\",\n \"column_name\": \"\",\n \"column_description\": \"The identifier of the card side. \",\n \"data_format\": \"text\",\n \"value_description\": \"Used on cards with multiple faces on the same card.\\ncommonsense evidence:\\nif this value is empty, then it means this card doesn't have multiple faces on the same card.\"\n },\n {\n \"original_column_name\": \"subtypes\",\n \"column_name\": \"\",\n \"column_description\": \"A list of card subtypes found after em-dash.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"supertypes\",\n \"column_name\": \"super types\",\n \"column_description\": \"A list of card supertypes found before em-dash.\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense evidence:\\nlist of all types should be the union of subtypes and supertypes\"\n },\n {\n \"original_column_name\": \"tcgplayerProductId\",\n \"column_name\": \"tcg player ProductId\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"text\",\n \"column_name\": \"\",\n \"column_description\": \"The rules text of the card.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"toughness\",\n \"column_name\": \"\",\n \"column_description\": \"The toughness of the card.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"type\",\n \"column_name\": \"\",\n \"column_description\": \"The type of the card as visible, including any supertypes and subtypes.\",\n \"data_format\": \"text\",\n \"value_description\": \"\\\"Artifact\\\", \\\"Card\\\", \\\"Conspiracy\\\", \\\"Creature\\\", \\\"Dragon\\\", \\\"Dungeon\\\", \\\"Eaturecray\\\", \\\"Elemental\\\", \\\"Elite\\\", \\\"Emblem\\\", \\\"Enchantment\\\", \\\"Ever\\\", \\\"Goblin\\\", \\\"Hero\\\", \\\"Instant\\\", \\\"Jaguar\\\", \\\"Knights\\\", \\\"Land\\\", \\\"Phenomenon\\\", \\\"Plane\\\", \\\"Planeswalker\\\", \\\"Scariest\\\", \\\"Scheme\\\", \\\"See\\\", \\\"Sorcery\\\", \\\"Sticker\\\", \\\"Summon\\\", \\\"Token\\\", \\\"Tribal\\\", \\\"Vanguard\\\", \\\"Wolf\\\", \\\"You’ll\\\", \\\"instant\\\"\"\n },\n {\n \"original_column_name\": \"types\",\n \"column_name\": \"\",\n \"column_description\": \"A list of all card types of the card, including Un‑sets and gameplay variants.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"uuid\",\n \"column_name\": \"\",\n \"column_description\": \"The universal unique identifier (v5) generated by MTGJSON. Each entry is unique.\",\n \"data_format\": \"text\",\n \"value_description\": \"NOT USEFUL\"\n },\n {\n \"original_column_name\": \"variations\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"watermark\",\n \"column_name\": \"\",\n \"column_description\": \"The name of the watermark on the card.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"foreign_data\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"unique id number identifying this row of data\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"flavorText\",\n \"column_name\": \"flavor Text\",\n \"column_description\": \"The foreign flavor text of the card.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"language\",\n \"column_name\": \"\",\n \"column_description\": \"The foreign language of card.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"multiverseid\",\n \"column_name\": \"\",\n \"column_description\": \"The foreign multiverse identifier of the card.\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"name\",\n \"column_name\": \"\",\n \"column_description\": \"The foreign name of the card.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"text\",\n \"column_name\": \"\",\n \"column_description\": \"The foreign text ruling of the card.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"type\",\n \"column_name\": \"\",\n \"column_description\": \"The foreign type of the card. Includes any supertypes and subtypes.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"uuid\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"legalities\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"unique id identifying this legality\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"format\",\n \"column_name\": \"\",\n \"column_description\": \"format of play\",\n \"data_format\": \"text\",\n \"value_description\": \"each value refers to different rules to play\"\n },\n {\n \"original_column_name\": \"status\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"• legal\\n• banned\\n• restricted\"\n },\n {\n \"original_column_name\": \"uuid\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"rulings\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"unique id identifying this ruling\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"date\",\n \"column_name\": \"\",\n \"column_description\": \"date \",\n \"data_format\": \"date\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"text\",\n \"column_name\": \"\",\n \"column_description\": \"description about this ruling\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"uuid\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"set_translations\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"unique id identifying this set\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"language\",\n \"column_name\": \"\",\n \"column_description\": \"language of this card set\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"setCode\",\n \"column_name\": \"set code\",\n \"column_description\": \"the set code for this set\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"translation\",\n \"column_name\": \"\",\n \"column_description\": \"translation of this card set\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"sets\": [\n {\n \"original_column_name\": \"id\",\n \"column_name\": \"\",\n \"column_description\": \"unique id identifying this set\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"baseSetSize\",\n \"column_name\": \"base Set Size\",\n \"column_description\": \"The number of cards in the set.\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"block\",\n \"column_name\": \"\",\n \"column_description\": \"The block name the set was in.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"booster\",\n \"column_name\": \"\",\n \"column_description\": \"A breakdown of possibilities and weights of cards in a booster pack.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"code\",\n \"column_name\": \"\",\n \"column_description\": \"The set code for the set.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"isFoilOnly\",\n \"column_name\": \"is Foil Only\",\n \"column_description\": \"If the set is only available in foil.\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"isForeignOnly\",\n \"column_name\": \"is Foreign Only\",\n \"column_description\": \"If the set is available only outside the United States of America.\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"isNonFoilOnly\",\n \"column_name\": \"is Non Foil Only\",\n \"column_description\": \"If the set is only available in non-foil.\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"isOnlineOnly\",\n \"column_name\": \"is Online Only\",\n \"column_description\": \"If the set is only available in online game variations.\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"isPartialPreview\",\n \"column_name\": \"is Partial Preview\",\n \"column_description\": \"If the set is still in preview (spoiled). Preview sets do not have complete data.\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"keyruneCode\",\n \"column_name\": \"keyrune Code\",\n \"column_description\": \"The matching Keyrune code for set image icons.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"mcmId\",\n \"column_name\": \"magic card market id\",\n \"column_description\": \"The Magic Card Marketset identifier.\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"mcmIdExtras\",\n \"column_name\": \"magic card market ID Extras\",\n \"column_description\": \"The split Magic Card Market set identifier if a set is printed in two sets. This identifier represents the second set's identifier.\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"mcmName\",\n \"column_name\": \"magic card market name \",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"mtgoCode\",\n \"column_name\": \"magic the gathering online code\",\n \"column_description\": \"The set code for the set as it appears on Magic: The Gathering Online\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense evidence:\\nif the value is null or empty, then it doesn't appear on Magic: The Gathering Online\"\n },\n {\n \"original_column_name\": \"name\",\n \"column_name\": \"\",\n \"column_description\": \"The name of the set.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"parentCode\",\n \"column_name\": \"parent Code\",\n \"column_description\": \"The parent set code for set variations like promotions, guild kits, etc.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"releaseDate\",\n \"column_name\": \"release Date\",\n \"column_description\": \"The release date in ISO 8601 format for the set.\",\n \"data_format\": \"date\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"tcgplayerGroupId\",\n \"column_name\": \"tcg player Group Id\",\n \"column_description\": \"The group identifier of the set on TCGplayer\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"totalSetSize\",\n \"column_name\": \"total Set Size\",\n \"column_description\": \"The total number of cards in the set, including promotional and related supplemental products but excluding Alchemy modifications - however those cards are included in the set itself.\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"type\",\n \"column_name\": \"\",\n \"column_description\": \"The expansion type of the set.\",\n \"data_format\": \"text\",\n \"value_description\": \"\\\"alchemy\\\", \\\"archenemy\\\", \\\"arsenal\\\", \\\"box\\\", \\\"commander\\\", \\\"core\\\", \\\"draft_innovation\\\", \\\"duel_deck\\\", \\\"expansion\\\", \\\"from_the_vault\\\", \\\"funny\\\", \\\"masterpiece\\\", \\\"masters\\\", \\\"memorabilia\\\", \\\"planechase\\\", \\\"premium_deck\\\", \\\"promo\\\", \\\"spellbook\\\", \\\"starter\\\", \\\"token\\\", \\\"treasure_chest\\\", \\\"vanguard\\\"\"\n }\n ]\n}\n\nSupplemental publicly available domain documentation (analyst paraphrases of the cited primary sources; not original BIRD metadata):\nMTGJSON Card (Set) data model\nframeVersion is a string property identifying the card frame style.\nSource: https://mtgjson.com/data-models/card/card-set/\n\nThe Future Is Now, Part I (2007-04-09)\nWizards describes Future Sight timeshifted cards as using a specially designed futuristic frame. The article illustrates Fleshwrither and explains that this design represents a fictional future, rather than an announced replacement for normal frames.\nSource: https://magic.wizards.com/en/news/making-magic/future-now-part-i-2007-04-09\n\nDays of Core, Part 2 (2014-06-30)\nWizards states that Magic 2015 premiered updated card faces as part of a card-frame change.\nSource: https://magic.wizards.com/en/news/making-magic/days-core-part-2-2014-06-30\n\nMagic 2015 Core Set Release Notes (2014-07-07)\nWizards gives July 18, 2014 as the official release date of Magic 2015.\nSource: https://magic.wizards.com/en/news/feature/magic-2015-core-set-release-notes-2014-07-07", + "toxicology": "CREATE TABLE `atom` (\n `atom_id` TEXT, -- the unique id of atoms; example: ['TR000_1', 'TR000_2']\n `molecule_id` TEXT, -- identifying the molecule to which the atom belongs; example: ['TR000']\n `element` TEXT, -- the element of the toxicology; example: ['cl', 'c']\n PRIMARY KEY (`atom_id`),\n FOREIGN KEY (`molecule_id`) REFERENCES `molecule` (`molecule_id`)\n);\n\nCREATE TABLE `bond` (\n `bond_id` TEXT, -- unique id representing bonds; example: ['TR000_1_2', 'TR000_2_3']\n `molecule_id` TEXT, -- identifying the molecule in which the bond appears; example: ['TR000', 'TR001']\n `bond_type` TEXT, -- type of the bond; example: ['-', '=']\n PRIMARY KEY (`bond_id`),\n FOREIGN KEY (`molecule_id`) REFERENCES `molecule` (`molecule_id`)\n);\n\nCREATE TABLE `connected` (\n `atom_id` TEXT, -- id of the first atom; example: ['TR000_1', 'TR000_2']\n `atom_id2` TEXT, -- id of the second atom; example: ['TR000_2', 'TR000_1']\n `bond_id` TEXT, -- bond id representing bond between two atoms; example: ['TR000_1_2', 'TR000_2_3']\n PRIMARY KEY (`atom_id`, `atom_id2`),\n FOREIGN KEY (`bond_id`) REFERENCES `bond` (`bond_id`),\n FOREIGN KEY (`atom_id2`) REFERENCES `atom` (`atom_id`),\n FOREIGN KEY (`atom_id`) REFERENCES `atom` (`atom_id`)\n);\n\nCREATE TABLE `molecule` (\n `molecule_id` TEXT, -- unique id of molecule; example: ['TR000', 'TR001']\n `label` TEXT, -- whether this molecule is carcinogenic or not; example: ['+', '-']\n PRIMARY KEY (`molecule_id`)\n);\n\nCREATE TABLE `element` (\n `element_id` TEXT, -- example: []\n `element_name` TEXT, -- example: []\n PRIMARY KEY (`element_id`)\n);\n\n\nOfficial column/value descriptions (2024 Dev release):\n{\n \"atom\": [\n {\n \"original_column_name\": \"atom_id\",\n \"column_name\": \"atom id\",\n \"column_description\": \"the unique id of atoms\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"molecule_id\",\n \"column_name\": \"molecule id\",\n \"column_description\": \"identifying the molecule to which the atom belongs\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense evidence:\\nTRXXX_i represents ith atom of molecule TRXXX\"\n },\n {\n \"original_column_name\": \"element\",\n \"column_name\": \"\",\n \"column_description\": \"the element of the toxicology \",\n \"data_format\": \"text\",\n \"value_description\": \"• cl: chlorine\\n• c: carbon\\n• h: hydrogen\\n• o: oxygen\\n• s: sulfur\\n• n: nitrogen\\n• p: phosphorus\\n• na: sodium\\n• br: bromine\\n• f: fluorine\\n• i: iodine\\n• sn: Tin\\n• pb: lead\\n• te: tellurium\\n• ca: Calcium\"\n }\n ],\n \"bond\": [\n {\n \"original_column_name\": \"bond_id\",\n \"column_name\": \"\",\n \"column_description\": \"unique id representing bonds\",\n \"data_format\": \"text\",\n \"value_description\": \"TRxxx_A1_A2:\\nTRXXX refers to which molecule\\nA1 and A2 refers to which atom\"\n },\n {\n \"original_column_name\": \"molecule_id\",\n \"column_name\": \"\",\n \"column_description\": \"identifying the molecule in which the bond appears\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"bond_type\",\n \"column_name\": \"\",\n \"column_description\": \"type of the bond\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense evidence:\\n“-”: single bond\\n'=': double bond\\n'#': triple bond\"\n }\n ],\n \"connected\": [\n {\n \"original_column_name\": \"atom_id\",\n \"column_name\": \"atom id\",\n \"column_description\": \"id of the first atom\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"atom_id2\",\n \"column_name\": \"atom id 2\",\n \"column_description\": \"id of the second atom\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"bond_id\",\n \"column_name\": \"bond id\",\n \"column_description\": \"bond id representing bond between two atoms\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ],\n \"molecule\": [\n {\n \"original_column_name\": \"molecule_id\",\n \"column_name\": \"molecule id\",\n \"column_description\": \"unique id of molecule\",\n \"data_format\": \"text\",\n \"value_description\": \"\\\"+\\\" --> this molecule / compound is carcinogenic\\n'-' this molecule is not / compound carcinogenic\"\n },\n {\n \"original_column_name\": \"label\",\n \"column_name\": \"\",\n \"column_description\": \"whether this molecule is carcinogenic or not\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n }\n ]\n}", + "california_schools": "CREATE TABLE `frpm` (\n `CDSCode` TEXT, -- CDSCode; example: ['01100170109835', '01100170112607']\n `Academic Year` TEXT, -- Academic Year; example: ['2014-2015']\n `County Code` TEXT, -- County Code; example: ['01']\n `District Code` INTEGER, -- District Code; example: [10017]\n `School Code` TEXT, -- School Code; example: ['0109835', '0112607']\n `County Name` TEXT, -- County Code; example: ['Alameda']\n `District Name` TEXT, -- District Name; example: ['Alameda County Office of Education']\n `School Name` TEXT, -- School Name; example: ['FAME Public Charter', 'Envision Academy for Arts & Technology']\n `District Type` TEXT, -- District Type; example: ['County Office of Education (COE)']\n `School Type` TEXT, -- School Type; example: ['K-12 Schools (Public)', 'High Schools (Public)']\n `Educational Option Type` TEXT, -- Educational Option Type; example: ['Traditional']\n `NSLP Provision Status` TEXT, -- NSLP Provision Status; example: ['Breakfast Provision 2']\n `Charter School (Y/N)` INTEGER, -- Charter School (Y/N); example: [1]\n `Charter School Number` TEXT, -- Charter School Number; example: ['0728', '0811']\n `Charter Funding Type` TEXT, -- Charter Funding Type; example: ['Directly funded']\n `IRC` INTEGER, -- example: [1]\n `Low Grade` TEXT, -- Low Grade; example: ['K', '9']\n `High Grade` TEXT, -- High Grade; example: ['12', '8']\n `Enrollment (K-12)` REAL, -- Enrollment (K-12); example: [1087.0, 395.0]\n `Free Meal Count (K-12)` REAL, -- Free Meal Count (K-12); example: [565.0, 186.0]\n `Percent (%) Eligible Free (K-12)` REAL, -- example: [0.519779208831647, 0.470886075949367]\n `FRPM Count (K-12)` REAL, -- Free or Reduced Price Meal Count (K-12); example: [715.0, 186.0]\n `Percent (%) Eligible FRPM (K-12)` REAL, -- example: [0.657773689052438, 0.470886075949367]\n `Enrollment (Ages 5-17)` REAL, -- Enrollment (Ages 5-17); example: [1070.0, 376.0]\n `Free Meal Count (Ages 5-17)` REAL, -- Free Meal Count (Ages 5-17); example: [553.0, 182.0]\n `Percent (%) Eligible Free (Ages 5-17)` REAL, -- example: [0.516822429906542, 0.484042553191489]\n `FRPM Count (Ages 5-17)` REAL, -- example: [702.0, 182.0]\n `Percent (%) Eligible FRPM (Ages 5-17)` REAL, -- example: [0.65607476635514, 0.484042553191489]\n `2013-14 CALPADS Fall 1 Certification Status` INTEGER, -- 2013-14 CALPADS Fall 1 Certification Status; example: [1]\n PRIMARY KEY (`CDSCode`),\n FOREIGN KEY (`CDSCode`) REFERENCES `schools` (`CDSCode`)\n);\n\nCREATE TABLE `satscores` (\n `cds` TEXT, -- California Department Schools; example: ['01100170000000', '01100170109835']\n `rtype` TEXT, -- rtype; example: ['D', 'S']\n `sname` TEXT, -- school name; example: ['FAME Public Charter', 'Envision Academy for Arts & Technology']\n `dname` TEXT, -- district segment; example: ['Alameda County Office of Education', 'Alameda Unified']\n `cname` TEXT, -- county name; example: ['Alameda']\n `enroll12` INTEGER, -- enrollment (1st-12nd grade); example: [398, 62]\n `NumTstTakr` INTEGER, -- Number of Test Takers in this school; example: [88, 17]\n `AvgScrRead` INTEGER, -- average scores in Reading; example: [418, 503]\n `AvgScrMath` INTEGER, -- average scores in Math; example: [418, 546]\n `AvgScrWrite` INTEGER, -- average scores in writing; example: [417, 505]\n `NumGE1500` INTEGER, -- Number of Test Takers Whose Total SAT Scores Are Greater or Equal to 1500; example: [14, 9]\n PRIMARY KEY (`cds`),\n FOREIGN KEY (`cds`) REFERENCES `schools` (`CDSCode`)\n);\n\nCREATE TABLE `schools` (\n `CDSCode` TEXT, -- CDSCode; example: ['01100170000000', '01100170109835']\n `NCESDist` TEXT, -- This field represents the 7-digit National Center for Educational Statistics (NCES) school district identification numbe; example: ['0691051']\n `NCESSchool` TEXT, -- This field represents the 5-digit NCES school identification number. The NCESSchool combined with the NCESDist form a un; example: ['10546', '10947']\n `StatusType` TEXT, -- This field identifies the status of the district.; example: ['Active', 'Closed']\n `County` TEXT, -- County name; example: ['Alameda']\n `District` TEXT, -- District; example: ['Alameda County Office of Education']\n `School` TEXT, -- School; example: ['FAME Public Charter', 'Envision Academy for Arts & Technology']\n `Street` TEXT, -- Street; example: ['313 West Winton Avenue', '39899 Balentine Drive, Suite 335']\n `StreetAbr` TEXT, -- The abbreviated street address of the school, district, or administrative authority’s physical location.; example: ['313 West Winton Ave.', '39899 Balentine Dr., Ste. 335']\n `City` TEXT, -- City; example: ['Hayward', 'Newark']\n `Zip` TEXT, -- Zip; example: ['94544-1136', '94560-5359']\n `State` TEXT, -- State; example: ['CA']\n `MailStreet` TEXT, -- MailStreet; example: ['313 West Winton Avenue', '39899 Balentine Drive, Suite 335']\n `MailStrAbr` TEXT, -- mailing street address; example: ['313 West Winton Ave.', '39899 Balentine Dr., Ste. 335']\n `MailCity` TEXT, -- mailing city; example: ['Hayward', 'Newark']\n `MailZip` TEXT, -- mailing zip; example: ['94544-1136', '94560-5359']\n `MailState` TEXT, -- mailing state; example: ['CA']\n `Phone` TEXT, -- Phone; example: ['(510) 887-0152', '(510) 596-8901']\n `Ext` TEXT, -- The phone number extension of the school, district, or administrative authority.; example: []\n `Website` TEXT, -- The website address of the school, district, or administrative authority.; example: ['www.acoe.org', 'www.envisionacademy.org/']\n `OpenDate` DATE, -- The date the school opened.; example: ['2005-08-29', '2006-08-28']\n `ClosedDate` DATE, -- The date the school closed.; example: ['2015-07-31', '2015-06-30']\n `Charter` INTEGER, -- This field identifies a charter school.; example: [1]\n `CharterNum` TEXT, -- The charter school number,; example: ['0728', '0811']\n `FundingType` TEXT, -- Indicates the charter school funding type; example: ['Directly funded']\n `DOC` TEXT, -- District Ownership Code; example: ['00']\n `DOCType` TEXT, -- The District Ownership Code Type is the text description of the DOC category.; example: ['County Office of Education (COE)']\n `SOC` TEXT, -- The School Ownership Code is a numeric code used to identify the type of school.; example: ['65', '66']\n `SOCType` TEXT, -- The School Ownership Code Type is the text description of the type of school.; example: ['K-12 Schools (Public)', 'High Schools (Public)']\n `EdOpsCode` TEXT, -- The Education Option Code is a short text description of the type of education offered.; example: ['TRAD']\n `EdOpsName` TEXT, -- Educational Option Name; example: ['Traditional']\n `EILCode` TEXT, -- The Educational Instruction Level Code is a short text description of the institution's type relative to the grade range; example: ['ELEMHIGH', 'HS']\n `EILName` TEXT, -- The Educational Instruction Level Name is the long text description of the institution’s type relative to the grade rang; example: ['Elementary-High Combination', 'High School']\n `GSoffered` TEXT, -- The grade span offered is the lowest grade and the highest grade offered or supported by the school, district, or admini; example: ['K-12', '9-12']\n `GSserved` TEXT, -- It is the lowest grade and the highest grade of student enrollment as reported in the most recent certified CALPADS Fall; example: ['K-12', '9-12']\n `Virtual` TEXT, -- This field identifies the type of virtual instruction offered by the school. Virtual instruction is instruction in which; example: ['P', 'N']\n `Magnet` INTEGER, -- This field identifies whether a school is a magnet school and/or provides a magnet program.; example: [0]\n `Latitude` REAL, -- The angular distance (expressed in degrees) between the location of the school, district, or administrative authority an; example: [37.658212, 37.521436]\n `Longitude` REAL, -- The angular distance (expressed in degrees) between the location of the school, district, or administrative authority an; example: [-122.09713, -121.99391]\n `AdmFName1` TEXT, -- administrator's first name; example: ['L Karen', 'Laura']\n `AdmLName1` TEXT, -- administrator's last name; example: ['Monroe', 'Robell']\n `AdmEmail1` TEXT, -- administrator's email address; example: ['lkmonroe@acoe.org', 'laura@envisionacademy.org']\n `AdmFName2` TEXT, -- example: []\n `AdmLName2` TEXT, -- example: []\n `AdmEmail2` TEXT, -- example: []\n `AdmFName3` TEXT, -- example: []\n `AdmLName3` TEXT, -- example: []\n `AdmEmail3` TEXT, -- example: []\n `LastUpdate` DATE, -- example: ['2015-06-23', '2015-09-01']\n PRIMARY KEY (`CDSCode`)\n);\n\n\nOfficial column/value descriptions (2024 Dev release):\n{\n \"frpm\": [\n {\n \"original_column_name\": \"CDSCode\",\n \"column_name\": \"\",\n \"column_description\": \"CDSCode\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Academic Year\",\n \"column_name\": \"\",\n \"column_description\": \"Academic Year\",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"County Code\",\n \"column_name\": \"\",\n \"column_description\": \"County Code\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"District Code\",\n \"column_name\": \"\",\n \"column_description\": \"District Code\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"School Code \",\n \"column_name\": \"\",\n \"column_description\": \"School Code\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"County Name\",\n \"column_name\": \"\",\n \"column_description\": \"County Code \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"District Name \",\n \"column_name\": \"\",\n \"column_description\": \"District Name \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"School Name\",\n \"column_name\": \"\",\n \"column_description\": \"School Name \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"District Type\",\n \"column_name\": \"\",\n \"column_description\": \"District Type\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"School Type \",\n \"column_name\": \"\",\n \"column_description\": \"School Type \",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Educational Option Type\",\n \"column_name\": \"\",\n \"column_description\": \"Educational Option Type\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"NSLP Provision Status\",\n \"column_name\": \"\",\n \"column_description\": \"NSLP Provision Status\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Charter School (Y/N)\",\n \"column_name\": \"\",\n \"column_description\": \"Charter School (Y/N)\",\n \"data_format\": \"integer\",\n \"value_description\": \"0: N;\\n1: Y\"\n },\n {\n \"original_column_name\": \"Charter School Number\",\n \"column_name\": \"\",\n \"column_description\": \"Charter School Number\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Charter Funding Type\",\n \"column_name\": \"\",\n \"column_description\": \"Charter Funding Type\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"IRC\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"integer\",\n \"value_description\": \"Not useful\"\n },\n {\n \"original_column_name\": \"Low Grade\",\n \"column_name\": \"\",\n \"column_description\": \"Low Grade\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"High Grade\",\n \"column_name\": \"\",\n \"column_description\": \"High Grade\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Enrollment (K-12)\",\n \"column_name\": \"\",\n \"column_description\": \"Enrollment (K-12)\",\n \"data_format\": \"real\",\n \"value_description\": \"commonsense evidence:\\n\\nK-12: 1st grade - 12nd grade \"\n },\n {\n \"original_column_name\": \"Free Meal Count (K-12)\",\n \"column_name\": \"\",\n \"column_description\": \"Free Meal Count (K-12)\",\n \"data_format\": \"real\",\n \"value_description\": \"commonsense evidence:\\n\\neligible free rate = Free Meal Count / Enrollment\"\n },\n {\n \"original_column_name\": \"Percent (%) Eligible Free (K-12)\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"real\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"FRPM Count (K-12)\",\n \"column_name\": \"\",\n \"column_description\": \"Free or Reduced Price Meal Count (K-12)\",\n \"data_format\": \"real\",\n \"value_description\": \"commonsense evidence:\\n\\neligible FRPM rate = FRPM / Enrollment\"\n },\n {\n \"original_column_name\": \"Percent (%) Eligible FRPM (K-12)\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"real\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Enrollment (Ages 5-17)\",\n \"column_name\": \"\",\n \"column_description\": \"Enrollment (Ages 5-17)\",\n \"data_format\": \"real\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Free Meal Count (Ages 5-17)\",\n \"column_name\": \"\",\n \"column_description\": \"Free Meal Count (Ages 5-17)\",\n \"data_format\": \"real\",\n \"value_description\": \"commonsense evidence:\\n\\neligible free rate = Free Meal Count / Enrollment\"\n },\n {\n \"original_column_name\": \" Percent (%) Eligible Free (Ages 5-17)\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"real\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"FRPM Count (Ages 5-17)\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"real\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Percent (%) Eligible FRPM (Ages 5-17)\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"real\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"2013-14 CALPADS Fall 1 Certification Status\",\n \"column_name\": \"\",\n \"column_description\": \"2013-14 CALPADS Fall 1 Certification Status\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n }\n ],\n \"satscores\": [\n {\n \"original_column_name\": \"cds\",\n \"column_name\": \"\",\n \"column_description\": \"California Department Schools\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"rtype\",\n \"column_name\": \"\",\n \"column_description\": \"rtype\",\n \"data_format\": \"text\",\n \"value_description\": \"unuseful\"\n },\n {\n \"original_column_name\": \"sname\",\n \"column_name\": \"school name\",\n \"column_description\": \"school name\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"dname\",\n \"column_name\": \"district name\",\n \"column_description\": \"district segment\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"cname\",\n \"column_name\": \"county name\",\n \"column_description\": \"county name\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"enroll12\",\n \"column_name\": \"enrollment (1st-12nd grade)\",\n \"column_description\": \"enrollment (1st-12nd grade)\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"NumTstTakr\",\n \"column_name\": \"Number of Test Takers\",\n \"column_description\": \"Number of Test Takers in this school\",\n \"data_format\": \"integer\",\n \"value_description\": \"number of test takers in each school\"\n },\n {\n \"original_column_name\": \"AvgScrRead\",\n \"column_name\": \"average scores in Reading\",\n \"column_description\": \"average scores in Reading\",\n \"data_format\": \"integer\",\n \"value_description\": \"average scores in Reading\"\n },\n {\n \"original_column_name\": \"AvgScrMath\",\n \"column_name\": \"average scores in Math\",\n \"column_description\": \"average scores in Math\",\n \"data_format\": \"integer\",\n \"value_description\": \"average scores in Math\"\n },\n {\n \"original_column_name\": \"AvgScrWrite\",\n \"column_name\": \"average scores in writing\",\n \"column_description\": \"average scores in writing\",\n \"data_format\": \"integer\",\n \"value_description\": \"average scores in writing\"\n },\n {\n \"original_column_name\": \"NumGE1500\",\n \"column_name\": \"Number of Test Takers Whose Total SAT Scores Are Greater or Equal to 1500\",\n \"column_description\": \"Number of Test Takers Whose Total SAT Scores Are Greater or Equal to 1500\",\n \"data_format\": \"integer\",\n \"value_description\": \"Number of Test Takers Whose Total SAT Scores Are Greater or Equal to 1500\\n\\ncommonsense evidence:\\n\\nExcellence Rate = NumGE1500 / NumTstTakr\"\n }\n ],\n \"schools\": [\n {\n \"original_column_name\": \"CDSCode\",\n \"column_name\": \"CDSCode\",\n \"column_description\": \"CDSCode\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"NCESDist\",\n \"column_name\": \"National Center for Educational Statistics school district identification number\",\n \"column_description\": \"This field represents the 7-digit National Center for Educational Statistics (NCES) school district identification number. The first 2 digits identify the state and the last 5 digits identify the school district. Combined, they make a unique 7-digit ID for each school district.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"NCESSchool\",\n \"column_name\": \"National Center for Educational Statistics school identification number\",\n \"column_description\": \"This field represents the 5-digit NCES school identification number. The NCESSchool combined with the NCESDist form a unique 12-digit ID for each school.\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"StatusType\",\n \"column_name\": \"\",\n \"column_description\": \"This field identifies the status of the district. \",\n \"data_format\": \"text\",\n \"value_description\": \"Definitions of the valid status types are listed below:\\n· Active: The district is in operation and providing instructional services.\\n· Closed: The district is not in operation and no longer providing instructional services.\\n· Merged: The district has combined with another district or districts.\\n· Pending: The district has not opened for operation and instructional services yet, but plans to open within the next 9–12 months.\"\n },\n {\n \"original_column_name\": \"County\",\n \"column_name\": \"\",\n \"column_description\": \"County name\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"District\",\n \"column_name\": \"\",\n \"column_description\": \"District\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"School\",\n \"column_name\": \"\",\n \"column_description\": \"School\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Street\",\n \"column_name\": \"\",\n \"column_description\": \"Street\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"StreetAbr\",\n \"column_name\": \"street address \",\n \"column_description\": \"The abbreviated street address of the school, district, or administrative authority’s physical location.\",\n \"data_format\": \"text\",\n \"value_description\": \"The abbreviated street address of the school, district, or administrative authority’s physical location. Note: Some records (primarily records of closed or retired schools) may not have data in this field.\"\n },\n {\n \"original_column_name\": \"City\",\n \"column_name\": \"\",\n \"column_description\": \"City\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Zip\",\n \"column_name\": \"\",\n \"column_description\": \"Zip\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"State\",\n \"column_name\": \"\",\n \"column_description\": \"State\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"MailStreet\",\n \"column_name\": \"\",\n \"column_description\": \"MailStreet\",\n \"data_format\": \"text\",\n \"value_description\": \"The unabbreviated mailing address of the school, district, or administrative authority. Note: 1) Some entities (primarily closed or retired schools) may not have data in this field; 2) Many active entities have not provided a mailing street address. For your convenience we have filled the unpopulated MailStreet cells with Street data.\"\n },\n {\n \"original_column_name\": \"MailStrAbr\",\n \"column_name\": \"mailing street address \",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"the abbreviated mailing street address of the school, district, or administrative authority.Note: Many active entities have not provided a mailing street address. For your convenience we have filled the unpopulated MailStrAbr cells with StreetAbr data.\"\n },\n {\n \"original_column_name\": \"MailCity\",\n \"column_name\": \"mailing city\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"The city associated with the mailing address of the school, district, or administrative authority. Note: Many entities have not provided a mailing address city. For your convenience we have filled the unpopulated MailCity cells with City data.\"\n },\n {\n \"original_column_name\": \"MailZip\",\n \"column_name\": \"mailing zip \",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"The zip code associated with the mailing address of the school, district, or administrative authority. Note: Many entities have not provided a mailing address zip code. For your convenience we have filled the unpopulated MailZip cells with Zip data.\"\n },\n {\n \"original_column_name\": \"MailState\",\n \"column_name\": \"mailing state\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"The state within the mailing address. For your convenience we have filled the unpopulated MailState cells with State data.\"\n },\n {\n \"original_column_name\": \"Phone\",\n \"column_name\": \"\",\n \"column_description\": \"Phone\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Ext\",\n \"column_name\": \"extension\",\n \"column_description\": \"The phone number extension of the school, district, or administrative authority.\",\n \"data_format\": \"text\",\n \"value_description\": \"The phone number extension of the school, district, or administrative authority.\"\n },\n {\n \"original_column_name\": \"Website\",\n \"column_name\": \"\",\n \"column_description\": \"The website address of the school, district, or administrative authority.\",\n \"data_format\": \"text\",\n \"value_description\": \"The website address of the school, district, or administrative authority.\"\n },\n {\n \"original_column_name\": \"OpenDate\",\n \"column_name\": \"\",\n \"column_description\": \"The date the school opened.\",\n \"data_format\": \"date\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"ClosedDate\",\n \"column_name\": \"\",\n \"column_description\": \"The date the school closed.\",\n \"data_format\": \"date\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"Charter\",\n \"column_name\": \"\",\n \"column_description\": \"This field identifies a charter school. \",\n \"data_format\": \"integer\",\n \"value_description\": \"The field is coded as follows:\\n\\n·       1 = The school is a charter\\n\\n·       0 = The school is not a charter\"\n },\n {\n \"original_column_name\": \"CharterNum\",\n \"column_name\": \"\",\n \"column_description\": \"The charter school number,\",\n \"data_format\": \"text\",\n \"value_description\": \"4-digit number assigned to a charter school.\"\n },\n {\n \"original_column_name\": \"FundingType\",\n \"column_name\": \"\",\n \"column_description\": \"Indicates the charter school funding type\",\n \"data_format\": \"text\",\n \"value_description\": \"Values are as follows:\\n\\n·       Not in CS (California School) funding model\\n\\n·       Locally funded\\n\\n·       Directly funded\"\n },\n {\n \"original_column_name\": \"DOC\",\n \"column_name\": \"District Ownership Code\",\n \"column_description\": \"District Ownership Code\",\n \"data_format\": \"text\",\n \"value_description\": \"The District Ownership Code (DOC) is the numeric code used to identify the category of the Administrative Authority.\\n• 00 - County Office of Education\\n• 02 – State Board of Education\\n• 03 – Statewide Benefit Charter\\n• 31 – State Special Schools\\n• 34 – Non-school Location*\\n• 52 – Elementary School District\\n• 54 – Unified School District\\n• 56 – High School District\\n• 98 – Regional Occupational Center/Program (ROC/P)\\ncommonsense evidence:\\n*Only the California Education Authority has been included in the non-school location category.\"\n },\n {\n \"original_column_name\": \"DOCType\",\n \"column_name\": \"The District Ownership Code Type\",\n \"column_description\": \"The District Ownership Code Type is the text description of the DOC category.\",\n \"data_format\": \"text\",\n \"value_description\": \"(See text values in DOC field description above)\"\n },\n {\n \"original_column_name\": \"SOC\",\n \"column_name\": \"School Ownership Code\",\n \"column_description\": \"The School Ownership Code is a numeric code used to identify the type of school.\",\n \"data_format\": \"text\",\n \"value_description\": \"• 08 - Preschool \\n• 09 – Special Education Schools (Public)\\n• 11 – Youth Authority Facilities (CEA)\\n• 13 – Opportunity Schools\\n• 14 – Juvenile Court Schools\\n• 15 – Other County or District Programs\\n• 31 – State Special Schools\\n• 60 – Elementary School (Public)\\n• 61 – Elementary School in 1 School District (Public)\\n• 62 – Intermediate/Middle Schools (Public)\\n• 63 – Alternative Schools of Choice\\n• 64 – Junior High Schools (Public)\\n• 65 – K-12 Schools (Public)\\n• 66 – High Schools (Public)\\n• 67 – High Schools in 1 School District (Public)\\n• 68 – Continuation High Schools\\n• 69 – District Community Day Schools\\n• 70 – Adult Education Centers\\n• 98 – Regional Occupational Center/Program (ROC/P)\"\n },\n {\n \"original_column_name\": \"SOCType\",\n \"column_name\": \"School Ownership Code Type\",\n \"column_description\": \"The School Ownership Code Type is the text description of the type of school.\",\n \"data_format\": \"text\",\n \"value_description\": \"The School Ownership Code Type is the text description of the type of school.\"\n },\n {\n \"original_column_name\": \"EdOpsCode\",\n \"column_name\": \"Education Option Code\",\n \"column_description\": \"The Education Option Code is a short text description of the type of education offered.\",\n \"data_format\": \"text\",\n \"value_description\": \"\\n• ALTSOC – Alternative School of Choice\\n• COMM – County Community School\\n• COMMDAY – Community Day School\\n• CON – Continuation School\\n• JUV – Juvenile Court School\\n• OPP – Opportunity School\\n• YTH – Youth Authority School\\n• SSS – State Special School\\n• SPEC – Special Education School\\n• TRAD – Traditional\\n• ROP – Regional Occupational Program\\n• HOMHOS – Home and Hospital\\n• SPECON – District Consortia Special Education School\"\n },\n {\n \"original_column_name\": \"EdOpsName\",\n \"column_name\": \"Educational Option Name\",\n \"column_description\": \"Educational Option Name\",\n \"data_format\": \"text\",\n \"value_description\": \"The Educational Option Name is the long text description of the type of education being offered.\"\n },\n {\n \"original_column_name\": \"EILCode\",\n \"column_name\": \"Educational Instruction Level Code\",\n \"column_description\": \"The Educational Instruction Level Code is a short text description of the institution's type relative to the grade range served.\",\n \"data_format\": \"text\",\n \"value_description\": \"• A – Adult\\n• ELEM – Elementary\\n• ELEMHIGH – Elementary-High Combination\\n• HS – High School\\n• INTMIDJR – Intermediate/Middle/Junior High\\n• PS – Preschool\\n• UG – Ungraded\"\n },\n {\n \"original_column_name\": \"EILName\",\n \"column_name\": \"Educational Instruction Level Name \",\n \"column_description\": \"The Educational Instruction Level Name is the long text description of the institution’s type relative to the grade range served.\",\n \"data_format\": \"text\",\n \"value_description\": \"The Educational Instruction Level Name is the long text description of the institution’s type relative to the grade range served.\"\n },\n {\n \"original_column_name\": \"GSoffered\",\n \"column_name\": \"grade span offered\",\n \"column_description\": \"The grade span offered is the lowest grade and the highest grade offered or supported by the school, district, or administrative authority. This field might differ from the grade span served as reported in the most recent certified California Longitudinal Pupil Achievement (CALPADS) Fall 1 data collection.\",\n \"data_format\": \"text\",\n \"value_description\": \"For example XYZ School might display the following data:\\n\\nGSoffered = P–Adult\\n\\nGSserved = K–12\"\n },\n {\n \"original_column_name\": \"GSserved\",\n \"column_name\": \"grade span served.\",\n \"column_description\": \"It is the lowest grade and the highest grade of student enrollment as reported in the most recent certified CALPADS Fall 1 data collection. Only K–12 enrollment is reported through CALPADS. This field may differ from the grade span offered.\",\n \"data_format\": \"text\",\n \"value_description\": \"commonsense evidence:\\n\\n1.     Only K–12 enrollment is reported through CALPADS\\n\\n2.     Note: Special programs at independent study, alternative education, and special education schools will often exceed the typical grade span for schools of that type\"\n },\n {\n \"original_column_name\": \"Virtual\",\n \"column_name\": \"\",\n \"column_description\": \"This field identifies the type of virtual instruction offered by the school. Virtual instruction is instruction in which students and teachers are separated by time and/or location, and interaction occurs via computers and/or telecommunications technologies. \",\n \"data_format\": \"text\",\n \"value_description\": \"The field is coded as follows:\\n\\n·       F = Exclusively Virtual – The school has no physical building where students meet with each other or with teachers, all instruction is virtual.\\n\\n·       V = Primarily Virtual – The school focuses on a systematic program of virtual instruction but includes some physical meetings among students or with teachers.\\n\\n·       C = Primarily Classroom – The school offers virtual courses but virtual instruction is not the primary means of instruction.\\n\\n·       N = Not Virtual – The school does not offer any virtual instruction.\\n\\n·       P = Partial Virtual – The school offers some, but not all, instruction through virtual instruction. Note: This value was retired and replaced with the Primarily Virtual and Primarily Classroom values beginning with the 2016–17 school year.\"\n },\n {\n \"original_column_name\": \"Magnet\",\n \"column_name\": \"\",\n \"column_description\": \"This field identifies whether a school is a magnet school and/or provides a magnet program. \",\n \"data_format\": \"integer\",\n \"value_description\": \"The field is coded as follows:\\n\\n·       1 = Magnet - The school is a magnet school and/or offers a magnet program.\\n\\n·       0 = Not Magnet - The school is not a magnet school and/or does not offer a magnet program.\\n\\ncommonsense evidence:\\n\\nNote: Preschools and adult education centers do not contain a magnet school indicator.\"\n },\n {\n \"original_column_name\": \"Latitude\",\n \"column_name\": \"\",\n \"column_description\": \"The angular distance (expressed in degrees) between the location of the school, district, or administrative authority and the equator measured north to south.\",\n \"data_format\": \"real\",\n \"value_description\": \"The angular distance (expressed in degrees) between the location of the school, district, or administrative authority and the equator measured north to south.\"\n },\n {\n \"original_column_name\": \"Longitude\",\n \"column_name\": \"\",\n \"column_description\": \"The angular distance (expressed in degrees) between the location of the school, district, or administrative authority and the prime meridian (Greenwich, England) measured from west to east.\",\n \"data_format\": \"real\",\n \"value_description\": \"The angular distance (expressed in degrees) between the location of the school, district, or administrative authority and the prime meridian (Greenwich, England) measured from west to east.\"\n },\n {\n \"original_column_name\": \"AdmFName1\",\n \"column_name\": \"administrator's first name\",\n \"column_description\": \"administrator's first name\",\n \"data_format\": \"text\",\n \"value_description\": \"The superintendent’s or principal’s first name.\\n\\ncommonsense evidence:\\n\\nOnly active and pending districts and schools will display administrator information, if applicable.\"\n },\n {\n \"original_column_name\": \"AdmLName1\",\n \"column_name\": \"administrator's last name\",\n \"column_description\": \"administrator's last name\",\n \"data_format\": \"text\",\n \"value_description\": \"The superintendent’s or principal’s last name.\\n\\ncommonsense evidence:\\nOnly active and pending districts and schools will display administrator information, if applicable.\"\n },\n {\n \"original_column_name\": \"AdmEmail1\",\n \"column_name\": \"administrator's email address\",\n \"column_description\": \"administrator's email address\",\n \"data_format\": \"text\",\n \"value_description\": \"The superintendent’s or principal’s email address.\\n\\ncommonsense evidence:\\n\\nOnly active and pending districts and schools will display administrator information, if applicable.\"\n },\n {\n \"original_column_name\": \"AdmFName2\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"SAME as 1\"\n },\n {\n \"original_column_name\": \"AdmLName2\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"AdmEmail2\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"AdmFName3\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"not useful\"\n },\n {\n \"original_column_name\": \"AdmLName3\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"not useful\"\n },\n {\n \"original_column_name\": \"AdmEmail3\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"not useful\"\n },\n {\n \"original_column_name\": \"LastUpdate\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"date\",\n \"value_description\": \"when is this record updated last time\"\n }\n ]\n}", + "financial": "CREATE TABLE `account` (\n `account_id` INTEGER, -- the id of the account; example: [1, 2]\n `district_id` INTEGER, -- location of branch; example: [18, 1]\n `frequency` TEXT, -- frequency of the acount; example: ['POPLATEK MESICNE']\n `date` DATE, -- the creation date of the account; example: ['1995-03-24', '1993-02-26']\n PRIMARY KEY (`account_id`),\n FOREIGN KEY (`district_id`) REFERENCES `district` (`district_id`)\n);\n\nCREATE TABLE `card` (\n `card_id` INTEGER, -- id number of credit card; example: [1, 2]\n `disp_id` INTEGER, -- disposition id; example: [9, 19]\n `type` TEXT, -- type of credit card; example: ['gold', 'classic']\n `issued` DATE, -- the date when the credit card issued; example: ['1998-10-16', '1998-03-13']\n PRIMARY KEY (`card_id`),\n FOREIGN KEY (`disp_id`) REFERENCES `disp` (`disp_id`)\n);\n\nCREATE TABLE `client` (\n `client_id` INTEGER, -- the unique number; example: [1, 2]\n `gender` TEXT, -- example: ['F', 'M']\n `birth_date` DATE, -- birth date; example: ['1970-12-13', '1945-02-04']\n `district_id` INTEGER, -- location of branch; example: [18, 1]\n PRIMARY KEY (`client_id`),\n FOREIGN KEY (`district_id`) REFERENCES `district` (`district_id`)\n);\n\nCREATE TABLE `disp` (\n `disp_id` INTEGER, -- unique number of identifying this row of record; example: [1, 2]\n `client_id` INTEGER, -- id number of client; example: [1, 2]\n `account_id` INTEGER, -- id number of account; example: [1, 2]\n `type` TEXT, -- type of disposition; example: ['OWNER', 'DISPONENT']\n PRIMARY KEY (`disp_id`),\n FOREIGN KEY (`client_id`) REFERENCES `client` (`client_id`),\n FOREIGN KEY (`account_id`) REFERENCES `account` (`account_id`)\n);\n\nCREATE TABLE `district` (\n `district_id` INTEGER, -- location of branch; example: [1, 2]\n `A2` TEXT, -- district_name; example: ['Hl.m. Praha', 'Benesov']\n `A3` TEXT, -- region; example: ['Prague', 'central Bohemia']\n `A4` TEXT, -- number of inhabitants; example: ['1204953', '88884']\n `A5` TEXT, -- municipality < district < region; example: ['0', '80']\n `A6` TEXT, -- municipality < district < region; example: ['0', '26']\n `A7` TEXT, -- municipality < district < region; example: ['0', '6']\n `A8` INTEGER, -- municipality < district < region; example: [1, 2]\n `A9` INTEGER, -- example: [1, 5]\n `A10` REAL, -- ratio of urban inhabitants; example: [100.0, 46.7]\n `A11` INTEGER, -- average salary; example: [12541, 8507]\n `A12` REAL, -- unemployment rate 1995; example: [0.2, 1.6]\n `A13` REAL, -- unemployment rate 1996; example: [0.43, 1.85]\n `A14` INTEGER, -- no. of entrepreneurs per 1000 inhabitants; example: [167, 132]\n `A15` INTEGER, -- no. of committed crimes 1995; example: [85677, 2159]\n `A16` INTEGER, -- no. of committed crimes 1996; example: [99107, 2674]\n PRIMARY KEY (`district_id`)\n);\n\nCREATE TABLE `loan` (\n `loan_id` INTEGER, -- the id number identifying the loan data; example: [4959, 4961]\n `account_id` INTEGER, -- the id number identifying the account; example: [2, 19]\n `date` DATE, -- the date when the loan is approved; example: ['1994-01-05', '1996-04-29']\n `amount` INTEGER, -- approved amount; example: [80952, 30276]\n `duration` INTEGER, -- loan duration; example: [24, 12]\n `payments` REAL, -- monthly payments; example: [3373.0, 2523.0]\n `status` TEXT, -- repayment status; example: ['A', 'B']\n PRIMARY KEY (`loan_id`),\n FOREIGN KEY (`account_id`) REFERENCES `account` (`account_id`)\n);\n\nCREATE TABLE `order` (\n `order_id` INTEGER, -- identifying the unique order; example: [29401, 29402]\n `account_id` INTEGER, -- id number of account; example: [1, 2]\n `bank_to` TEXT, -- bank of the recipient; example: ['YZ', 'ST']\n `account_to` INTEGER, -- account of the recipient; example: [87144583, 89597016]\n `amount` REAL, -- debited amount; example: [2452.0, 3372.7]\n `k_symbol` TEXT, -- purpose of the payment; example: ['SIPO', 'UVER']\n PRIMARY KEY (`order_id`),\n FOREIGN KEY (`account_id`) REFERENCES `account` (`account_id`)\n);\n\nCREATE TABLE `trans` (\n `trans_id` INTEGER, -- transaction id; example: [1, 5]\n `account_id` INTEGER, -- example: [1]\n `date` DATE, -- date of transaction; example: ['1995-03-24', '1995-04-13']\n `type` TEXT, -- +/- transaction; example: ['PRIJEM']\n `operation` TEXT, -- mode of transaction; example: ['VKLAD', 'PREVOD Z UCTU']\n `amount` INTEGER, -- amount of money; example: [1000, 3679]\n `balance` INTEGER, -- balance after transaction; example: [1000, 4679]\n `k_symbol` TEXT, -- characterization of the transaction; example: []\n `bank` TEXT, -- bank of the partner; example: ['AB']\n `account` INTEGER, -- account of the partner; example: [41403269]\n PRIMARY KEY (`trans_id`),\n FOREIGN KEY (`account_id`) REFERENCES `account` (`account_id`)\n);\n\n\nOfficial column/value descriptions (2024 Dev release):\n{\n \"account\": [\n {\n \"original_column_name\": \"account_id\",\n \"column_name\": \"account id\",\n \"column_description\": \"the id of the account\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"district_id\",\n \"column_name\": \"location of branch\",\n \"column_description\": \"location of branch\",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"frequency\",\n \"column_name\": \"frequency\",\n \"column_description\": \"frequency of the acount\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"date\",\n \"column_name\": \"date\",\n \"column_description\": \"the creation date of the account\",\n \"data_format\": \"date\",\n \"value_description\": \"in the form YYMMDD\"\n }\n ],\n \"card\": [\n {\n \"original_column_name\": \"card_id\",\n \"column_name\": \"credit card id\",\n \"column_description\": \"id number of credit card\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"disp_id\",\n \"column_name\": \"disposition id\",\n \"column_description\": \"disposition id\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"type\",\n \"column_name\": \"\",\n \"column_description\": \"type of credit card\",\n \"data_format\": \"text\",\n \"value_description\": \"\\\"junior\\\": junior class of credit card; \\n\\\"classic\\\": standard class of credit card; \\n\\\"gold\\\": high-level credit card\"\n },\n {\n \"original_column_name\": \"issued\",\n \"column_name\": \"\",\n \"column_description\": \"the date when the credit card issued \",\n \"data_format\": \"date\",\n \"value_description\": \"in the form YYMMDD\"\n }\n ],\n \"client\": [\n {\n \"original_column_name\": \"client_id\",\n \"column_name\": \"\",\n \"column_description\": \"the unique number\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"gender\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"F:female \\nM:male \"\n },\n {\n \"original_column_name\": \"birth_date\",\n \"column_name\": \"\",\n \"column_description\": \"birth date\",\n \"data_format\": \"date\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"district_id\",\n \"column_name\": \"location of branch\",\n \"column_description\": \"location of branch\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n }\n ],\n \"disp\": [\n {\n \"original_column_name\": \"disp_id\",\n \"column_name\": \"disposition id\",\n \"column_description\": \"unique number of identifying this row of record\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"client_id\",\n \"column_name\": \"\",\n \"column_description\": \"id number of client\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"account_id\",\n \"column_name\": \"\",\n \"column_description\": \"id number of account\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"type\",\n \"column_name\": \"\",\n \"column_description\": \"type of disposition\",\n \"data_format\": \"text\",\n \"value_description\": \"\\\"OWNER\\\" : \\\"USER\\\" : \\\"DISPONENT\\\"\\ncommonsense evidence:\\nthe account can only have the right to issue permanent orders or apply for loans\"\n }\n ],\n \"district\": [\n {\n \"original_column_name\": \"district_id\",\n \"column_name\": \"location of branch\",\n \"column_description\": \"location of branch\",\n \"data_format\": \"integer \",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"A2\",\n \"column_name\": \"district_name\",\n \"column_description\": \"district_name\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"A3\",\n \"column_name\": \"region\",\n \"column_description\": \"region\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"A4\",\n \"column_name\": \"number of inhabitants \",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"A5\",\n \"column_name\": \"no. of municipalities with inhabitants < 499\",\n \"column_description\": \"municipality < district < region\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"A6\",\n \"column_name\": \"no. of municipalities with inhabitants 500-1999\",\n \"column_description\": \"municipality < district < region\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"A7\",\n \"column_name\": \"no. of municipalities with inhabitants 2000-9999\",\n \"column_description\": \"municipality < district < region\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"A8\",\n \"column_name\": \"no. of municipalities with inhabitants > 10000\",\n \"column_description\": \"municipality < district < region\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"A9\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"integer\",\n \"value_description\": \"not useful\"\n },\n {\n \"original_column_name\": \"A10\",\n \"column_name\": \"ratio of urban inhabitants\",\n \"column_description\": \"ratio of urban inhabitants\",\n \"data_format\": \"real\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"A11\",\n \"column_name\": \"average salary\",\n \"column_description\": \"average salary\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"A12\",\n \"column_name\": \"unemployment rate 1995\",\n \"column_description\": \"unemployment rate 1995\",\n \"data_format\": \"real\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"A13\",\n \"column_name\": \"unemployment rate 1996\",\n \"column_description\": \"unemployment rate 1996\",\n \"data_format\": \"real\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"A14\",\n \"column_name\": \"no. of entrepreneurs per 1000 inhabitants\",\n \"column_description\": \"no. of entrepreneurs per 1000 inhabitants\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"A15\",\n \"column_name\": \"no. of committed crimes 1995\",\n \"column_description\": \"no. of committed crimes 1995\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"A16\",\n \"column_name\": \"no. of committed crimes 1996\",\n \"column_description\": \"no. of committed crimes 1996\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n }\n ],\n \"loan\": [\n {\n \"original_column_name\": \"loan_id\",\n \"column_name\": \"\",\n \"column_description\": \"the id number identifying the loan data\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"account_id\",\n \"column_name\": \"\",\n \"column_description\": \"the id number identifying the account\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"date\",\n \"column_name\": \"\",\n \"column_description\": \"the date when the loan is approved\",\n \"data_format\": \"date\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"amount\",\n \"column_name\": \"\",\n \"column_description\": \"approved amount\",\n \"data_format\": \"integer\",\n \"value_description\": \"unit:US dollar\"\n },\n {\n \"original_column_name\": \"duration\",\n \"column_name\": \"\",\n \"column_description\": \"loan duration\",\n \"data_format\": \"integer\",\n \"value_description\": \"unit:month\"\n },\n {\n \"original_column_name\": \"payments\",\n \"column_name\": \"monthly payments\",\n \"column_description\": \"monthly payments\",\n \"data_format\": \"real\",\n \"value_description\": \"unit:month\"\n },\n {\n \"original_column_name\": \"status\",\n \"column_name\": \"\",\n \"column_description\": \"repayment status\",\n \"data_format\": \"text\",\n \"value_description\": \"'A' stands for contract finished, no problems;\\n'B' stands for contract finished, loan not paid;\\n'C' stands for running contract, OK so far;\\n'D' stands for running contract, client in debt\"\n }\n ],\n \"order\": [\n {\n \"original_column_name\": \"order_id\",\n \"column_name\": \"\",\n \"column_description\": \"identifying the unique order\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"account_id\",\n \"column_name\": \"\",\n \"column_description\": \"id number of account\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"bank_to\",\n \"column_name\": \"bank of the recipient\",\n \"column_description\": \"bank of the recipient\",\n \"data_format\": \"text\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"account_to\",\n \"column_name\": \"account of the recipient\",\n \"column_description\": \"account of the recipient\",\n \"data_format\": \"integer\",\n \"value_description\": \"each bank has unique two-letter code\"\n },\n {\n \"original_column_name\": \"amount\",\n \"column_name\": \"debited amount\",\n \"column_description\": \"debited amount\",\n \"data_format\": \"real\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"k_symbol\",\n \"column_name\": \"characterization of the payment\",\n \"column_description\": \"purpose of the payment\",\n \"data_format\": \"text\",\n \"value_description\": \"\\\"POJISTNE\\\" stands for insurance payment\\n\\\"SIPO\\\" stands for household payment\\n\\\"LEASING\\\" stands for leasing\\n\\\"UVER\\\" stands for loan payment\"\n }\n ],\n \"trans\": [\n {\n \"original_column_name\": \"trans_id\",\n \"column_name\": \"transaction id\",\n \"column_description\": \"transaction id\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"account_id\",\n \"column_name\": \"\",\n \"column_description\": \"\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"date\",\n \"column_name\": \"date of transaction\",\n \"column_description\": \"date of transaction\",\n \"data_format\": \"date\",\n \"value_description\": \"\"\n },\n {\n \"original_column_name\": \"type\",\n \"column_name\": \"+/- transaction\",\n \"column_description\": \"+/- transaction\",\n \"data_format\": \"text\",\n \"value_description\": \"\\\"PRIJEM\\\" stands for credit\\n\\\"VYDAJ\\\" stands for withdrawal\"\n },\n {\n \"original_column_name\": \"operation\",\n \"column_name\": \"mode of transaction\",\n \"column_description\": \"mode of transaction\",\n \"data_format\": \"text\",\n \"value_description\": \"\\\"VYBER KARTOU\\\": credit card withdrawal\\n\\\"VKLAD\\\": credit in cash\\n\\\"PREVOD Z UCTU\\\" :collection from another bank\\n\\\"VYBER\\\": withdrawal in cash\\n\\\"PREVOD NA UCET\\\": remittance to another bank\"\n },\n {\n \"original_column_name\": \"amount\",\n \"column_name\": \"amount of money\",\n \"column_description\": \"amount of money\",\n \"data_format\": \"integer\",\n \"value_description\": \"Unit:USD\"\n },\n {\n \"original_column_name\": \"balance\",\n \"column_name\": \"balance after transaction\",\n \"column_description\": \"balance after transaction\",\n \"data_format\": \"integer\",\n \"value_description\": \"Unit:USD\"\n },\n {\n \"original_column_name\": \"k_symbol\",\n \"column_name\": \"characterization of the transaction\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"\\\"POJISTNE\\\": stands for insurrance payment\\n\\\"SLUZBY\\\": stands for payment for statement\\n\\\"UROK\\\": stands for interest credited\\n\\\"SANKC. UROK\\\": sanction interest if negative balance\\n\\\"SIPO\\\": stands for household\\n\\\"DUCHOD\\\": stands for old-age pension\\n\\\"UVER\\\": stands for loan payment\"\n },\n {\n \"original_column_name\": \"bank\",\n \"column_name\": \"bank of the partner\",\n \"column_description\": \"\",\n \"data_format\": \"text\",\n \"value_description\": \"each bank has unique two-letter code\"\n },\n {\n \"original_column_name\": \"account\",\n \"column_name\": \"account of the partner\",\n \"column_description\": \"\",\n \"data_format\": \"integer\",\n \"value_description\": \"\"\n }\n ]\n}" +} diff --git a/bench/accuracy/card-frame-document/db-linkage-audit.json b/bench/accuracy/card-frame-document/db-linkage-audit.json new file mode 100644 index 00000000..b69e253a --- /dev/null +++ b/bench/accuracy/card-frame-document/db-linkage-audit.json @@ -0,0 +1,33 @@ +{ + "scope": "Offline linkage check only; these query/results are not appended to inference context. No gold SQL/results used.", + "db_sha256": "c98bdb57fe7474da798b407785544b9af0daaad5d61fd21e2a73309493bc1227", + "observations": [ + { + "sql": "SELECT name,frameVersion,setCode FROM cards WHERE name='Fleshwrither'", + "rows": [ + [ + "Fleshwrither", + "future", + "FUT" + ] + ] + }, + { + "sql": "SELECT name,releaseDate FROM sets WHERE code IN ('FUT','M15')", + "rows": [ + [ + "Future Sight", + "2007-05-04" + ], + [ + "Magic 2015", + "2014-07-18" + ] + ] + } + ], + "limits": [ + "Historical example links the article to this dataset; not a complete frame chronology or proof of any benchmark answer.", + "Article publication date and actual set release date are distinct." + ] +} diff --git a/bench/accuracy/card-frame-document/sources.json b/bench/accuracy/card-frame-document/sources.json new file mode 100644 index 00000000..87343f46 --- /dev/null +++ b/bench/accuracy/card-frame-document/sources.json @@ -0,0 +1,30 @@ +{ + "accessed": "2026-11-27", + "sources": [ + { + "url": "https://mtgjson.com/data-models/card/card-set/", + "title": "MTGJSON Card (Set) data model", + "summary": "frameVersion is a string property identifying the card frame style." + }, + { + "url": "https://magic.wizards.com/en/news/making-magic/future-now-part-i-2007-04-09", + "title": "The Future Is Now, Part I", + "published": "2007-04-09", + "summary": "Wizards describes Future Sight timeshifted cards as using a specially designed futuristic frame. The article illustrates Fleshwrither and explains that this design represents a fictional future, rather than an announced replacement for normal frames." + }, + { + "url": "https://magic.wizards.com/en/news/making-magic/days-core-part-2-2014-06-30", + "title": "Days of Core, Part 2", + "published": "2014-06-30", + "summary": "Wizards states that Magic 2015 premiered updated card faces as part of a card-frame change." + }, + { + "url": "https://magic.wizards.com/en/news/feature/magic-2015-core-set-release-notes-2014-07-07", + "title": "Magic 2015 Core Set Release Notes", + "published": "2014-07-07", + "summary": "Wizards gives July 18, 2014 as the official release date of Magic 2015." + } + ], + "text": "Supplemental publicly available domain documentation (analyst paraphrases of the cited primary sources; not original BIRD metadata):\nMTGJSON Card (Set) data model\nframeVersion is a string property identifying the card frame style.\nSource: https://mtgjson.com/data-models/card/card-set/\n\nThe Future Is Now, Part I (2007-04-09)\nWizards describes Future Sight timeshifted cards as using a specially designed futuristic frame. The article illustrates Fleshwrither and explains that this design represents a fictional future, rather than an announced replacement for normal frames.\nSource: https://magic.wizards.com/en/news/making-magic/future-now-part-i-2007-04-09\n\nDays of Core, Part 2 (2014-06-30)\nWizards states that Magic 2015 premiered updated card faces as part of a card-frame change.\nSource: https://magic.wizards.com/en/news/making-magic/days-core-part-2-2014-06-30\n\nMagic 2015 Core Set Release Notes (2014-07-07)\nWizards gives July 18, 2014 as the official release date of Magic 2015.\nSource: https://magic.wizards.com/en/news/feature/magic-2015-core-set-release-notes-2014-07-07", + "scope": "Database-level historical frame documentation. No question IDs, expected result, SQL or assumed customer-specific business policy. Not an official benchmark annotation." +} diff --git a/bench/accuracy/evaluate.py b/bench/accuracy/evaluate.py index e016901e..fcc1386a 100644 --- a/bench/accuracy/evaluate.py +++ b/bench/accuracy/evaluate.py @@ -36,6 +36,8 @@ "bird": ( "5176e324a72e80a8a37a12285596d123e0ba6c310dceaa9f13a1e413ee88ff5b", "7f3a02f99f90eadd69974fe5f45ca5d4abf90a1549e4deb46ae24b0093bde9c6", + # Optional cited domain-document condition, not an official task annotation. + "68be30a7d9e1101d2373ecbf23966200e9cb0a13fb7fa48a3a6eac267e860d67", ), "spider2": ("195a0e722bb4e670fda45308e583203fccd7a4979b412a05215ca525e7aec5bf",), } @@ -111,7 +113,7 @@ def load_schema_documents(path, suite): return {} schema_sha = digest(path) if schema_sha not in SCHEMA_SHA.get(suite, ()): - raise ValueError("Schema documentation must match the pinned benchmark release") + raise ValueError("Schema documentation must match a pinned benchmark input variant") documents = json.loads(path.read_text()) if not isinstance(documents, dict) or not all( isinstance(db, str) and isinstance(doc, str) for db, doc in documents.items() diff --git a/tests/test_accuracy_benchmark.py b/tests/test_accuracy_benchmark.py index c52f2654..0c327daa 100644 --- a/tests/test_accuracy_benchmark.py +++ b/tests/test_accuracy_benchmark.py @@ -293,6 +293,24 @@ def test_description_builder_rejects_changed_source(tmp_path): build_documents(tmp_path, {}) +def test_cited_frame_document_is_separate_and_reproducible(): + import hashlib + import json + from pathlib import Path + + from bench.accuracy.evaluate import load_schema_documents + + root = Path("bench/accuracy") + source = root / "card-frame-document/sources.json" + assert hashlib.sha256(source.read_bytes()).hexdigest() == "c6b1a1cf3e8ae32288d0feb38e205e0cf64aa171d00c2a3e0d90c4aa19ae59d3" + metadata = json.loads(source.read_text()) + baseline = load_schema_documents(root / "bird-schema-with-values.json", "bird") + variant = load_schema_documents(root / "bird-schema-with-frame-document.json", "bird") + baseline["card_games"] += "\n\n" + metadata["text"] + assert variant == baseline + assert len(metadata["sources"]) == 4 + + @pytest.mark.asyncio @pytest.mark.parametrize("quota", [True, False]) async def test_account_quota_stops_without_retry_but_rate_limit_can_retry( From 9c912a32a226c6da41bdb60e270eac63de8f19b6 Mon Sep 17 00:00:00 2001 From: seyeong Date: Fri, 27 Nov 2026 09:00:41 +0900 Subject: [PATCH 2/2] Record documented frame-chronology repair as separate context condition --- .../card-frame-document/analysis.json | 17 + .../codex-mcp/csv/bird069.csv | 2 + .../codex-mcp/events/bird069.answer.txt | 20 + .../codex-mcp/events/bird069.jsonl | 15 + .../codex-mcp/events/bird069.prompt.txt | 987 ++++++++++++++++++ .../codex-mcp/events/bird069.stderr | 0 .../codex-mcp/records/bird069.json | 132 +++ .../card-frame-document/codex-mcp/scores.json | 7 + .../codex-mcp/sql/bird069.sql | 18 + .../card-frame-document/codex-mcp/status.json | 4 + .../comparison/comparison.json | 423 ++++++++ .../card-frame-document/comparison/index.html | 399 +++++++ .../card-frame-document/manifest.json | 533 ++++++++++ .../card-frame-document/protocol.json | 17 + .../card-frame-document/settings.json | 32 + .../card-frame-document/sha256.json | 18 + .../card-frame-document/summary.json | 8 + 17 files changed, 2632 insertions(+) create mode 100644 bench/accuracy/mcp-review-results/card-frame-document/analysis.json create mode 100644 bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/csv/bird069.csv create mode 100644 bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/events/bird069.answer.txt create mode 100644 bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/events/bird069.jsonl create mode 100644 bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/events/bird069.prompt.txt create mode 100644 bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/events/bird069.stderr create mode 100644 bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/records/bird069.json create mode 100644 bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/scores.json create mode 100644 bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/sql/bird069.sql create mode 100644 bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/status.json create mode 100644 bench/accuracy/mcp-review-results/card-frame-document/comparison/comparison.json create mode 100644 bench/accuracy/mcp-review-results/card-frame-document/comparison/index.html create mode 100644 bench/accuracy/mcp-review-results/card-frame-document/manifest.json create mode 100644 bench/accuracy/mcp-review-results/card-frame-document/protocol.json create mode 100644 bench/accuracy/mcp-review-results/card-frame-document/settings.json create mode 100644 bench/accuracy/mcp-review-results/card-frame-document/sha256.json create mode 100644 bench/accuracy/mcp-review-results/card-frame-document/summary.json diff --git a/bench/accuracy/mcp-review-results/card-frame-document/analysis.json b/bench/accuracy/mcp-review-results/card-frame-document/analysis.json new file mode 100644 index 00000000..93c8a411 --- /dev/null +++ b/bench/accuracy/mcp-review-results/card-frame-document/analysis.json @@ -0,0 +1,17 @@ +{ + "correct": 1, + "total": 1, + "condition": "Public-document supplemental context, not original BIRD task metadata or an upstream baseline score.", + "transition": "Original current trial requested clarification about frame chronology; the documented-context trial executes SQL and passes.", + "finding": "Generated SQL distinguishes the frame label from introduction year (future2007,2015frame2014), counts all cards by eligible style and selects latest introduction. These constants appear only in model-generated SQL, not production policy.", + "controls": [ + "Product src tree identical to baseline.", + "Input diff is exactly the cited appendix, not question/evidence changes.", + "No prior answer, grade, gold or offline DB-linkage audit supplied." + ], + "limits": [ + "One selected failure; no full accuracy, repeatability or broad regression claim.", + "Do not combine this result with original-input scores.", + "Do not rerun passed case during development." + ] +} diff --git a/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/csv/bird069.csv b/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/csv/bird069.csv new file mode 100644 index 00000000..bf9e8f2f --- /dev/null +++ b/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/csv/bird069.csv @@ -0,0 +1,2 @@ +frameVersion,card_count +2015,25500 diff --git a/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/events/bird069.answer.txt b/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/events/bird069.answer.txt new file mode 100644 index 00000000..dbeff866 --- /dev/null +++ b/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/events/bird069.answer.txt @@ -0,0 +1,20 @@ +```sql +WITH eligible_frames AS ( + SELECT + frameVersion, + COUNT(*) AS card_count, + CASE frameVersion + WHEN 'future' THEN 2007 + WHEN '2015' THEN 2014 + ELSE CAST(frameVersion AS INTEGER) + END AS introduction_year + FROM main.cards + GROUP BY frameVersion + HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0 +) +SELECT frameVersion, card_count +FROM eligible_frames +WHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames) +ORDER BY frameVersion +LIMIT 1000 +``` \ No newline at end of file diff --git a/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/events/bird069.jsonl b/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/events/bird069.jsonl new file mode 100644 index 00000000..68a45794 --- /dev/null +++ b/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/events/bird069.jsonl @@ -0,0 +1,15 @@ +{"type":"thread.started","thread_id":"01a21a4c-b3ae-7550-835f-dad6bca6bfba"} +{"type":"turn.started"} +{"type":"item.completed","item":{"id":"item_0","type":"agent_message","text":"I’ll check the schema and frame chronology in Lang2SQL, then run the query and verify the count across all cards."}} +{"type":"item.started","item":{"id":"item_1","type":"mcp_tool_call","server":"lang2sql","tool":"explore_schema","arguments":{"table":"cards"},"result":null,"error":null,"status":"in_progress"}} +{"type":"item.completed","item":{"id":"item_1","type":"mcp_tool_call","server":"lang2sql","tool":"explore_schema","arguments":{"table":"cards"},"result":{"content":[{"type":"text","text":"cards (table)\n- id: INTEGER NOT NULL\n- artist: TEXT\n- asciiName: TEXT\n- availability: TEXT\n- borderColor: TEXT\n- cardKingdomFoilId: TEXT\n- cardKingdomId: TEXT\n- colorIdentity: TEXT\n- colorIndicator: TEXT\n- colors: TEXT\n- convertedManaCost: REAL\n- duelDeck: TEXT\n- edhrecRank: INTEGER\n- faceConvertedManaCost: REAL\n- faceName: TEXT\n- flavorName: TEXT\n- flavorText: TEXT\n- frameEffects: TEXT\n- frameVersion: TEXT\n- hand: TEXT\n- hasAlternativeDeckLimit: INTEGER NOT NULL\n- hasContentWarning: INTEGER NOT NULL\n- hasFoil: INTEGER NOT NULL\n- hasNonFoil: INTEGER NOT NULL\n- isAlternative: INTEGER NOT NULL\n- isFullArt: INTEGER NOT NULL\n- isOnlineOnly: INTEGER NOT NULL\n- isOversized: INTEGER NOT NULL\n- isPromo: INTEGER NOT NULL\n- isReprint: INTEGER NOT NULL\n- isReserved: INTEGER NOT NULL\n- isStarter: INTEGER NOT NULL\n- isStorySpotlight: INTEGER NOT NULL\n- isTextless: INTEGER NOT NULL\n- isTimeshifted: INTEGER NOT NULL\n- keywords: TEXT\n- layout: TEXT\n- leadershipSkills: TEXT\n- life: TEXT\n- loyalty: TEXT\n- manaCost: TEXT\n- mcmId: TEXT\n- mcmMetaId: TEXT\n- mtgArenaId: TEXT\n- mtgjsonV4Id: TEXT\n- mtgoFoilId: TEXT\n- mtgoId: TEXT\n- multiverseId: TEXT\n- name: TEXT\n- number: TEXT\n- originalReleaseDate: TEXT\n- originalText: TEXT\n- originalType: TEXT\n- otherFaceIds: TEXT\n- power: TEXT\n- printings: TEXT\n- promoTypes: TEXT\n- purchaseUrls: TEXT\n- rarity: TEXT\n- scryfallId: TEXT\n- scryfallIllustrationId: TEXT\n- scryfallOracleId: TEXT\n- setCode: TEXT\n- side: TEXT\n- subtypes: TEXT\n- supertypes: TEXT\n- tcgplayerProductId: TEXT\n- text: TEXT\n- toughness: TEXT\n- type: TEXT\n- types: TEXT\n- uuid: TEXT NOT NULL\n- variations: TEXT\n- watermark: TEXT\nPRIMARY KEY (id)"}],"structured_content":null},"error":null,"status":"completed"}} +{"type":"item.started","item":{"id":"item_2","type":"mcp_tool_call","server":"lang2sql","tool":"resolve_business_terms","arguments":{"terms":[]},"result":null,"error":null,"status":"in_progress"}} +{"type":"item.completed","item":{"id":"item_2","type":"mcp_tool_call","server":"lang2sql","tool":"resolve_business_terms","arguments":{"terms":[]},"result":{"content":[{"type":"text","text":"{\"definition_check_id\": \"bNn9kqljbgP1aAf6YsraX68jFxsulWYRoRIWqBoy7UI\", \"definitions\": [], \"instruction\": \"For oracle_view the operator has confirmed the contract: call run_sql with this definition_check_id, period_start and exclusive period_end, without sql. An explicit calendar year/month is sufficient to derive these dates. Ask only if the period or business meaning is actually unclear. For text definitions use SQL. Discover schema and use qualified table names before run_sql. A receipt is not proof of SQL semantic correctness.\"}"}],"structured_content":null},"error":null,"status":"completed"}} +{"type":"item.started","item":{"id":"item_3","type":"mcp_tool_call","server":"lang2sql","tool":"run_sql","arguments":{"definition_check_id":"bNn9kqljbgP1aAf6YsraX68jFxsulWYRoRIWqBoy7UI","sql":"SELECT frameVersion, COUNT(*) AS total, COUNT(*) FILTER (WHERE convertedManaCost = 0) AS zero_cost FROM main.cards GROUP BY frameVersion"},"result":null,"error":null,"status":"in_progress"}} +{"type":"item.completed","item":{"id":"item_3","type":"mcp_tool_call","server":"lang2sql","tool":"run_sql","arguments":{"definition_check_id":"bNn9kqljbgP1aAf6YsraX68jFxsulWYRoRIWqBoy7UI","sql":"SELECT frameVersion, COUNT(*) AS total, COUNT(*) FILTER (WHERE convertedManaCost = 0) AS zero_cost FROM main.cards GROUP BY frameVersion"},"result":{"content":[{"type":"text","text":"5 row(s):\nResult coverage: fetched_rows=5; displayed_rows=5; fetch_truncated=false; display_truncated=false; sql_rewritten=true; query_timeout_enforced=true; query_timeout_scope=sqlite_vm. Counts refer to the executed SQL, not the source table size.\nObserved value types (displayed rows): frameVersion=str; total=int; zero_cost=int\nframeVersion | total | zero_cost\n--- | --- | ---\n1993 | 5510 | 577\n1997 | 9257 | 1032\n2003 | 16462 | 2351\n2015 | 25500 | 3359\nfuture | 93 | 8\nSQL: SELECT frameVersion, COUNT(*) AS total, COUNT(*) FILTER (WHERE convertedManaCost = 0) AS zero_cost FROM main.cards GROUP BY frameVersion\nLIMIT 1000"}],"structured_content":null},"error":null,"status":"completed"}} +{"type":"item.started","item":{"id":"item_4","type":"mcp_tool_call","server":"lang2sql","tool":"resolve_business_terms","arguments":{"terms":[]},"result":null,"error":null,"status":"in_progress"}} +{"type":"item.completed","item":{"id":"item_4","type":"mcp_tool_call","server":"lang2sql","tool":"resolve_business_terms","arguments":{"terms":[]},"result":{"content":[{"type":"text","text":"{\"definition_check_id\": \"g0k4Z8huSFdHct95IIEjjNeAGezWg-zzR8uTOicDhEE\", \"definitions\": [], \"instruction\": \"For oracle_view the operator has confirmed the contract: call run_sql with this definition_check_id, period_start and exclusive period_end, without sql. An explicit calendar year/month is sufficient to derive these dates. Ask only if the period or business meaning is actually unclear. For text definitions use SQL. Discover schema and use qualified table names before run_sql. A receipt is not proof of SQL semantic correctness.\"}"}],"structured_content":null},"error":null,"status":"completed"}} +{"type":"item.started","item":{"id":"item_5","type":"mcp_tool_call","server":"lang2sql","tool":"run_sql","arguments":{"definition_check_id":"g0k4Z8huSFdHct95IIEjjNeAGezWg-zzR8uTOicDhEE","expected_columns":["frameVersion","card_count"],"sql":"WITH eligible_frames AS (\n SELECT\n frameVersion,\n COUNT(*) AS card_count,\n CASE frameVersion\n WHEN 'future' THEN 2007\n WHEN '2015' THEN 2014\n ELSE CAST(frameVersion AS INTEGER)\n END AS introduction_year\n FROM main.cards\n GROUP BY frameVersion\n HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0\n)\nSELECT frameVersion, card_count\nFROM eligible_frames\nWHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames)\nORDER BY frameVersion\nLIMIT 1000"},"result":null,"error":null,"status":"in_progress"}} +{"type":"item.completed","item":{"id":"item_5","type":"mcp_tool_call","server":"lang2sql","tool":"run_sql","arguments":{"definition_check_id":"g0k4Z8huSFdHct95IIEjjNeAGezWg-zzR8uTOicDhEE","expected_columns":["frameVersion","card_count"],"sql":"WITH eligible_frames AS (\n SELECT\n frameVersion,\n COUNT(*) AS card_count,\n CASE frameVersion\n WHEN 'future' THEN 2007\n WHEN '2015' THEN 2014\n ELSE CAST(frameVersion AS INTEGER)\n END AS introduction_year\n FROM main.cards\n GROUP BY frameVersion\n HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0\n)\nSELECT frameVersion, card_count\nFROM eligible_frames\nWHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames)\nORDER BY frameVersion\nLIMIT 1000"},"result":{"content":[{"type":"text","text":"1 row(s):\nOutput columns validated (projection only).\nResult coverage: fetched_rows=1; displayed_rows=1; fetch_truncated=false; display_truncated=false; sql_rewritten=false; query_timeout_enforced=true; query_timeout_scope=sqlite_vm. Counts refer to the executed SQL, not the source table size.\nObserved value types (displayed rows): frameVersion=str; card_count=int\nframeVersion | card_count\n--- | ---\n2015 | 25500\nSQL: WITH eligible_frames AS (\n SELECT\n frameVersion,\n COUNT(*) AS card_count,\n CASE frameVersion\n WHEN 'future' THEN 2007\n WHEN '2015' THEN 2014\n ELSE CAST(frameVersion AS INTEGER)\n END AS introduction_year\n FROM main.cards\n GROUP BY frameVersion\n HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0\n)\nSELECT frameVersion, card_count\nFROM eligible_frames\nWHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames)\nORDER BY frameVersion\nLIMIT 1000"}],"structured_content":null},"error":null,"status":"completed"}} +{"type":"item.completed","item":{"id":"item_6","type":"agent_message","text":"```sql\nWITH eligible_frames AS (\n SELECT\n frameVersion,\n COUNT(*) AS card_count,\n CASE frameVersion\n WHEN 'future' THEN 2007\n WHEN '2015' THEN 2014\n ELSE CAST(frameVersion AS INTEGER)\n END AS introduction_year\n FROM main.cards\n GROUP BY frameVersion\n HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0\n)\nSELECT frameVersion, card_count\nFROM eligible_frames\nWHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames)\nORDER BY frameVersion\nLIMIT 1000\n```"}} +{"type":"turn.completed","usage":{"input_tokens":235769,"cached_input_tokens":214272,"cache_write_input_tokens":0,"output_tokens":657,"reasoning_output_tokens":0}} diff --git a/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/events/bird069.prompt.txt b/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/events/bird069.prompt.txt new file mode 100644 index 00000000..7d3ce2ab --- /dev/null +++ b/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/events/bird069.prompt.txt @@ -0,0 +1,987 @@ +You must use lang2sql MCP to inspect the schema and execute your final answer query, not merely write SQL. Call resolve_business_terms before run_sql; use terms=[] only for literal diagnostics or fully specified request criteria. Inspect the returned result and return the exact successfully executed final SQL in one fenced sql block. A result table alone or SQL that you have not executed does not complete this task. Do not use shell, files, web, or other servers. Do not invent missing business definitions; if essential meaning remains unresolved, ask for clarification instead of inventing SQL or placeholders. +I'm putting together a showcase of zero-mana-cost cards. What is the newest frame version used by any card with a converted mana cost of 0? Please give me that frame version value, and the number of cards in the database that use that frame version. The count should cover all cards in the database, not just the zero-cost ones. If several frame versions tie as the newest, give me each of them with its own count. +Provided evidence: +Frame version: the edition of the card frame style a printing uses. +Official schema metadata (examples are not exhaustive): +CREATE TABLE `cards` ( + `id` INTEGER, -- unique id number identifying the cards; example: [1, 2] + `artist` TEXT, -- The name of the artist that illustrated the card art.; example: ['Pete Venters', 'Volkan Baǵa'] + `asciiName` TEXT, -- The ASCII(opens new window) (Basic/128) code formatted card name with no special unicode characters.; example: [] + `availability` TEXT, -- A list of the card's available printing types.; example: ['mtgo,paper'] + `borderColor` TEXT, -- The color of the card border.; example: ['black'] + `cardKingdomFoilId` TEXT, -- card Kingdom Foil Id; example: ['123094', '123095'] + `cardKingdomId` TEXT, -- card Kingdom Id; example: ['122719', '122720'] + `colorIdentity` TEXT, -- A list of all the colors found in manaCost, colorIndicator, and text; example: ['W'] + `colorIndicator` TEXT, -- A list of all the colors in the color indicator (The symbol prefixed to a card's types).; example: [] + `colors` TEXT, -- A list of all the colors in manaCost and colorIndicator.; example: ['W'] + `convertedManaCost` REAL, -- The converted mana cost of the card. Use the manaValue property.; example: [7.0, 5.0] + `duelDeck` TEXT, -- The indicator for which duel deck the card is in.; example: [] + `edhrecRank` INTEGER, -- The card rank on EDHRec; example: [15650, 12702] + `faceConvertedManaCost` REAL, -- The converted mana cost or mana value for the face for either half or part of the card.; example: [] + `faceName` TEXT, -- The name on the face of the card.; example: [] + `flavorName` TEXT, -- The promotional card name printed above the true card name on special cards that has no game function.; example: [] + `flavorText` TEXT, -- The italicized text found below the rules text that has no game function.; example: ['Every tear shed is a drop of immortality.', 'The perfect antidote for a tightly packed formation.'] + `frameEffects` TEXT, -- The visual frame effects.; example: [] + `frameVersion` TEXT, -- The version of the card frame style.; example: ['2003'] + `hand` TEXT, -- The starting maximum hand size total modifier.; example: [] + `hasAlternativeDeckLimit` INTEGER, -- If the card allows a value other than 4 copies in a deck.; example: [0] + `hasContentWarning` INTEGER, -- If the card marked by Wizards of the Coast (opens new window) for having sensitive content. See this official article (o; example: [0] + `hasFoil` INTEGER, -- If the card can be found in foil; example: [0, 1] + `hasNonFoil` INTEGER, -- If the card can be found in non-foil; example: [1] + `isAlternative` INTEGER, -- If the card is an alternate variation to an original printing; example: [0] + `isFullArt` INTEGER, -- If the card has full artwork.; example: [0] + `isOnlineOnly` INTEGER, -- If the card is only available in online game variations.; example: [0] + `isOversized` INTEGER, -- If the card is oversized.; example: [0] + `isPromo` INTEGER, -- If the card is a promotional printing.; example: [0] + `isReprint` INTEGER, -- If the card has been reprinted.; example: [1] + `isReserved` INTEGER, -- If the card is on the Magic: The Gathering Reserved List (opens new window); example: [0] + `isStarter` INTEGER, -- If the card is found in a starter deck such as Planeswalker/Brawl decks.; example: [0] + `isStorySpotlight` INTEGER, -- If the card is a Story Spotlight card.; example: [0] + `isTextless` INTEGER, -- If the card does not have a text box.; example: [0] + `isTimeshifted` INTEGER, -- If the card is time shifted; example: [0] + `keywords` TEXT, -- A list of keywords found on the card.; example: ['First strike', 'Flying'] + `layout` TEXT, -- The type of card layout. For a token card, this will be "token"; example: ['normal'] + `leadershipSkills` TEXT, -- A list of formats the card is legal to be a commander in; example: [] + `life` TEXT, -- The starting life total modifier. A plus or minus character precedes an integer.; example: [] + `loyalty` TEXT, -- The starting loyalty value of the card.; example: [] + `manaCost` TEXT, -- The mana cost of the card wrapped in brackets for each value.; example: ['{5}{W}{W}', '{4}{W}'] + `mcmId` TEXT, -- example: ['16165', '16166'] + `mcmMetaId` TEXT, -- example: ['156', '176'] + `mtgArenaId` TEXT, -- example: [] + `mtgjsonV4Id` TEXT, -- example: ['ad41be73-582f-58ed-abd4-a88c1f616ac3', '9eb2e54c-a12b-5e88-a9c0-d8c84c52d59c'] + `mtgoFoilId` TEXT, -- example: ['27501', '26993'] + `mtgoId` TEXT, -- example: ['27500', '26992'] + `multiverseId` TEXT, -- example: ['130550', '129465'] + `name` TEXT, -- The name of the card.; example: ["Ancestor's Chosen", 'Angel of Mercy'] + `number` TEXT, -- The number of the card; example: ['1', '2'] + `originalReleaseDate` TEXT, -- original Release Date; example: [] + `originalText` TEXT, -- original Text; example: ['First strike (This creature deals combat damage before creatures without first s', "Flying (This creature can't be blocked except by creatures with flying or reach."] + `originalType` TEXT, -- original Type; example: ['Creature - Human Cleric', 'Creature - Angel'] + `otherFaceIds` TEXT, -- other Face Ids; example: [] + `power` TEXT, -- The power of the card.; example: ['4', '3'] + `printings` TEXT, -- A list of set printing codes the card was printed in, formatted in uppercase.; example: ['10E,JUD,UMA', '10E,8ED,9ED,DDC,DVD,IMA,INV,JMP,MB1,P02,PS11,PSAL,S99'] + `promoTypes` TEXT, -- A list of promotional types for a card.; example: [] + `purchaseUrls` TEXT, -- Links that navigate to websites where the card can be purchased.; example: ["{'cardKingdom': 'https://mtgjson.com/links/9fb51af0ad6f0736', 'cardmarket': 'htt", "{'cardKingdom': 'https://mtgjson.com/links/027095d094e58f5b', 'cardmarket': 'htt"] + `rarity` TEXT, -- The card printing rarity.; example: ['uncommon', 'common'] + `scryfallId` TEXT, -- example: ['7a5cd03c-4227-4551-aa4b-7d119f0468b5', '8f7980d4-da43-4d6d-ad16-14b8a34ae91d'] + `scryfallIllustrationId` TEXT, -- example: ['be2f7173-c8b7-4172-a388-9b2c6b3c16e5', 'e4d6c53f-e936-4be8-8b70-47c2be863b20'] + `scryfallOracleId` TEXT, -- example: ['fc2ccab7-cab1-4463-b73d-898070136d74', 'a2daaf32-dbfe-4618-892e-0da24f63a44a'] + `setCode` TEXT, -- The set printing code that the card is from.; example: ['10E'] + `side` TEXT, -- The identifier of the card side.; example: [] + `subtypes` TEXT, -- A list of card subtypes found after em-dash.; example: ['Human,Cleric', 'Angel'] + `supertypes` TEXT, -- A list of card supertypes found before em-dash.; example: [] + `tcgplayerProductId` TEXT, -- tcg player ProductId; example: ['15032', '15033'] + `text` TEXT, -- The rules text of the card.; example: ['First strike (This creature deals combat damage before creatures without first s', 'Flying When Angel of Mercy enters the battlefield, you gain 3 life.'] + `toughness` TEXT, -- The toughness of the card.; example: ['4', '3'] + `type` TEXT, -- The type of the card as visible, including any supertypes and subtypes.; example: ['Creature — Human Cleric', 'Creature — Angel'] + `types` TEXT, -- A list of all card types of the card, including Un‑sets and gameplay variants.; example: ['Creature', 'Instant'] + `uuid` TEXT, -- The universal unique identifier (v5) generated by MTGJSON. Each entry is unique.; example: ['5f8287b1-5bb6-5f4c-ad17-316a40d5bb0c', '57aaebc1-850c-503d-9f6e-bb8d00d8bf7c'] + `variations` TEXT, -- example: ['b7c19924-b4bf-56fc-aa73-f586e940bd42', '8fd4e2eb-3eb4-50ea-856b-ef638fa47f8a'] + `watermark` TEXT, -- The name of the watermark on the card.; example: [] + PRIMARY KEY (`id`) +); + +CREATE TABLE `foreign_data` ( + `id` INTEGER, -- unique id number identifying this row of data; example: [1, 2] + `flavorText` TEXT, -- The foreign flavor text of the card.; example: ['„Es ist der Wille aller, und meine Hand, die ihn ausführt."', '"La voluntad de todos, realizada por mi mano."'] + `language` TEXT, -- The foreign language of card.; example: ['German', 'Spanish'] + `multiverseid` INTEGER, -- The foreign multiverse identifier of the card.; example: [148411, 150317] + `name` TEXT, -- The foreign name of the card.; example: ['Ausgewählter der Ahnfrau', 'Elegido de la Antepasada'] + `text` TEXT, -- The foreign text ruling of the card.; example: ['Erstschlag (Diese Kreatur fügt Kampfschaden vor Kreaturen ohne Erstschlag zu.) W', 'Daña primero. (Esta criatura hace daño de combate antes que las criaturas sin la'] + `type` TEXT, -- The foreign type of the card. Includes any supertypes and subtypes.; example: ['Kreatur — Mensch, Kleriker', 'Criatura — Clérigo humano'] + `uuid` TEXT, -- example: ['5f8287b1-5bb6-5f4c-ad17-316a40d5bb0c'] + PRIMARY KEY (`id`), + FOREIGN KEY (`uuid`) REFERENCES `cards` (`uuid`) +); + +CREATE TABLE `legalities` ( + `id` INTEGER, -- unique id identifying this legality; example: [1, 2] + `format` TEXT, -- format of play; example: ['commander', 'duel'] + `status` TEXT, -- example: ['Legal'] + `uuid` TEXT, -- example: ['5f8287b1-5bb6-5f4c-ad17-316a40d5bb0c'] + PRIMARY KEY (`id`), + FOREIGN KEY (`uuid`) REFERENCES `cards` (`uuid`) +); + +CREATE TABLE `sets` ( + `id` INTEGER, -- unique id identifying this set; example: [1, 2] + `baseSetSize` INTEGER, -- The number of cards in the set.; example: [383, 302] + `block` TEXT, -- The block name the set was in.; example: ['Core Set'] + `booster` TEXT, -- A breakdown of possibilities and weights of cards in a booster pack.; example: ["{'default': {'boosters': [{'contents': {'basic': 1, 'common': 10, 'rare': 1, 'un", "{'default': {'boosters': [{'contents': {'common': 11, 'rare': 1, 'uncommon': 3},"] + `code` TEXT, -- The set code for the set.; example: ['10E', '2ED'] + `isFoilOnly` INTEGER, -- If the set is only available in foil.; example: [0] + `isForeignOnly` INTEGER, -- If the set is available only outside the United States of America.; example: [0, 1] + `isNonFoilOnly` INTEGER, -- If the set is only available in non-foil.; example: [0, 1] + `isOnlineOnly` INTEGER, -- If the set is only available in online game variations.; example: [0] + `isPartialPreview` INTEGER, -- If the set is still in preview (spoiled). Preview sets do not have complete data.; example: [0] + `keyruneCode` TEXT, -- The matching Keyrune code for set image icons.; example: ['10E', '2ED'] + `mcmId` INTEGER, -- The Magic Card Marketset identifier.; example: [74, 3204] + `mcmIdExtras` INTEGER, -- The split Magic Card Market set identifier if a set is printed in two sets. This identifier represents the second set's ; example: [3209] + `mcmName` TEXT, -- magic card market name; example: ['Tenth Edition', 'Double Masters'] + `mtgoCode` TEXT, -- The set code for the set as it appears on Magic: The Gathering Online; example: ['10E', '2XM'] + `name` TEXT, -- The name of the set.; example: ['Tenth Edition', 'Unlimited Edition'] + `parentCode` TEXT, -- The parent set code for set variations like promotions, guild kits, etc.; example: [] + `releaseDate` DATE, -- The release date in ISO 8601 format for the set.; example: ['2007-07-13', '1993-12-01'] + `tcgplayerGroupId` INTEGER, -- The group identifier of the set on TCGplayer; example: [1, 115] + `totalSetSize` INTEGER, -- The total number of cards in the set, including promotional and related supplemental products but excluding Alchemy modi; example: [508, 302] + `type` TEXT, -- The expansion type of the set.; example: ['core', 'masters'] + PRIMARY KEY (`id`) +); + +CREATE TABLE `set_translations` ( + `id` INTEGER, -- unique id identifying this set; example: [1, 2] + `language` TEXT, -- language of this card; example: ['Chinese Simplified', 'Chinese Traditional'] + `setCode` TEXT, -- the set code for this set; example: ['10E'] + `translation` TEXT, -- translation of this card; example: ['核心系列第十版', 'Dixième édition'] + PRIMARY KEY (`id`), + FOREIGN KEY (`setCode`) REFERENCES `sets` (`code`) +); + +CREATE TABLE `rulings` ( + `id` INTEGER, -- unique id identifying this ruling; example: [1, 2] + `date` DATE, -- date; example: ['2007-07-15', '2007-02-01'] + `text` TEXT, -- description about this ruling; example: ['You draw the card when Bandage resolves, not when the damage is actually prevent', 'If you double a negative life total, you do the real math. A life total of -10 b'] + `uuid` TEXT, -- example: ['6d268c95-c176-5766-9a46-c14f739aba1c', '56f4935b-f6c5-59b9-88bf-9bcce20247ce'] + PRIMARY KEY (`id`), + FOREIGN KEY (`uuid`) REFERENCES `cards` (`uuid`) +); + + +Official column/value descriptions (2024 Dev release): +{ + "cards": [ + { + "original_column_name": "id", + "column_name": "unique id number identifying the cards", + "column_description": "", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "artist", + "column_name": "", + "column_description": "The name of the artist that illustrated the card art.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "asciiName", + "column_name": "ascii Name", + "column_description": "The ASCII(opens new window) (Basic/128) code formatted card name with no special unicode characters.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "availability", + "column_name": "", + "column_description": "A list of the card's available printing types.", + "data_format": "text", + "value_description": "\"arena\", \"dreamcast\", \"mtgo\", \"paper\", \"shandalar\"" + }, + { + "original_column_name": "borderColor", + "column_name": "border Color", + "column_description": "The color of the card border.", + "data_format": "text", + "value_description": "\"black\", \"borderless\", \"gold\", \"silver\", \"white\"" + }, + { + "original_column_name": "cardKingdomFoilId", + "column_name": "card Kingdom Foil Id", + "column_description": "card Kingdom Foil Id", + "data_format": "text", + "value_description": "commonsense evidence:\ncardKingdomFoilId, when paired with cardKingdomId that is not Null, is incredibly powerful. " + }, + { + "original_column_name": "cardKingdomId", + "column_name": "card Kingdom Id", + "column_description": "card Kingdom Id", + "data_format": "text", + "value_description": "A list of all the colors in the color indicator" + }, + { + "original_column_name": "colorIdentity", + "column_name": "color Identity", + "column_description": "A list of all the colors found in manaCost, colorIndicator, and text", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "colorIndicator", + "column_name": "color Indicator", + "column_description": "A list of all the colors in the color indicator (The symbol prefixed to a card's types).", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "colors", + "column_name": "", + "column_description": "A list of all the colors in manaCost and colorIndicator. ", + "data_format": "text", + "value_description": "Some cards may not have values, such as cards with \"Devoid\" in its text." + }, + { + "original_column_name": "convertedManaCost", + "column_name": "converted Mana Cost", + "column_description": "The converted mana cost of the card. Use the manaValue property.", + "data_format": "real", + "value_description": "if value is higher, it means that this card cost more converted mana " + }, + { + "original_column_name": "duelDeck", + "column_name": "duel Deck", + "column_description": "The indicator for which duel deck the card is in.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "edhrecRank", + "column_name": "rec Rank in edh", + "column_description": "The card rank on EDHRec", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "faceConvertedManaCost", + "column_name": "face Converted Mana Cost", + "column_description": "The converted mana cost or mana value for the face for either half or part of the card. ", + "data_format": "real", + "value_description": "if value is higher, it means that this card cost more converted mana for the face" + }, + { + "original_column_name": "faceName", + "column_name": "face Name", + "column_description": "The name on the face of the card.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "flavorName", + "column_name": "flavor Name", + "column_description": "The promotional card name printed above the true card name on special cards that has no game function.", + "data_format": "text", + "value_description": "The promotional card name printed above the true card name on special cards that has no game function." + }, + { + "original_column_name": "flavorText", + "column_name": "flavor Text", + "column_description": "The italicized text found below the rules text that has no game function.", + "data_format": "text", + "value_description": "The italicized text found below the rules text that has no game function." + }, + { + "original_column_name": "frameEffects", + "column_name": "frame Effects", + "column_description": "The visual frame effects.", + "data_format": "text", + "value_description": "\"colorshifted\", \"companion\", \"compasslanddfc\", \"devoid\", \"draft\", \"etched\", \"extendedart\", \"fullart\", \"inverted\", \"legendary\", \"lesson\", \"miracle\", \"mooneldrazidfc\", \"nyxtouched\", \"originpwdfc\", \"showcase\", \"snow\", \"sunmoondfc\", \"textless\", \"tombstone\", \"waxingandwaningmoondfc\"" + }, + { + "original_column_name": "frameVersion", + "column_name": "frame Version", + "column_description": "The version of the card frame style.", + "data_format": "text", + "value_description": "\"1993\", \"1997\", \"2003\", \"2015\", \"future\"" + }, + { + "original_column_name": "hand", + "column_name": "", + "column_description": "The starting maximum hand size total modifier. ", + "data_format": "text", + "value_description": "A + or - character precedes an integer. \ncommonsense evidence:\npositive maximum hand size: +1, +2, ....\nnegative maximum hand size: -1, ....\nneural maximum hand size: 0...." + }, + { + "original_column_name": "hasAlternativeDeckLimit", + "column_name": "has Alternative Deck Limit", + "column_description": "If the card allows a value other than 4 copies in a deck.", + "data_format": "integer", + "value_description": "0: disallow 1: allow" + }, + { + "original_column_name": "hasContentWarning", + "column_name": "has Content Warning", + "column_description": "If the card marked by Wizards of the Coast (opens new window) for having sensitive content. See this official article (opens new window) for more information.", + "data_format": "integer", + "value_description": "0: doesn't have 1: has sensitve content or Wizards of the Coast\ncommonsense evidence:\nCards with this property may have missing or degraded properties and values. " + }, + { + "original_column_name": "hasFoil", + "column_name": "has Foil", + "column_description": "If the card can be found in foil", + "data_format": "integer", + "value_description": "0: cannot be found 1: can be found" + }, + { + "original_column_name": "hasNonFoil", + "column_name": "has Non Foil", + "column_description": "If the card can be found in non-foil", + "data_format": "integer", + "value_description": "0: cannot be found 1: can be found" + }, + { + "original_column_name": "isAlternative", + "column_name": "is Alternative", + "column_description": "If the card is an alternate variation to an original printing", + "data_format": "integer", + "value_description": "0: is not 1: is" + }, + { + "original_column_name": "isFullArt", + "column_name": "is Full Art", + "column_description": "If the card has full artwork.", + "data_format": "integer", + "value_description": "0: doesn't have, 1: has full artwork" + }, + { + "original_column_name": "isOnlineOnly", + "column_name": "is Online Only", + "column_description": "If the card is only available in online game variations.", + "data_format": "integer", + "value_description": "0: is not 1: is" + }, + { + "original_column_name": "isOversized", + "column_name": "is Oversized", + "column_description": "If the card is oversized.", + "data_format": "integer", + "value_description": "0: is not 1: is" + }, + { + "original_column_name": "isPromo", + "column_name": "is Promotion", + "column_description": "If the card is a promotional printing.", + "data_format": "integer", + "value_description": "0: is not 1: is" + }, + { + "original_column_name": "isReprint", + "column_name": "is Reprint", + "column_description": "If the card has been reprinted.", + "data_format": "integer", + "value_description": "0: has not 1: has not been" + }, + { + "original_column_name": "isReserved", + "column_name": "is Reserved", + "column_description": "If the card is on the Magic: The Gathering Reserved List (opens new window)", + "data_format": "integer", + "value_description": "If the card is on the Magic, it will appear in The Gathering Reserved List" + }, + { + "original_column_name": "isStarter", + "column_name": "is Starter", + "column_description": "If the card is found in a starter deck such as Planeswalker/Brawl decks.", + "data_format": "integer", + "value_description": "0: is not 1: is" + }, + { + "original_column_name": "isStorySpotlight", + "column_name": "is Story Spotlight", + "column_description": "If the card is a Story Spotlight card.", + "data_format": "integer", + "value_description": "0: is not 1: is" + }, + { + "original_column_name": "isTextless", + "column_name": "is Text less", + "column_description": "If the card does not have a text box.", + "data_format": "integer", + "value_description": "commonsense evidence:\n0: has a text box;\n1: doesn't have a text box;" + }, + { + "original_column_name": "isTimeshifted", + "column_name": "is Time shifted", + "column_description": "If the card is time shifted", + "data_format": "integer", + "value_description": "commonsense evidence:\nIf the card is \"timeshifted\", a feature of certain sets where a card will have a different frameVersion." + }, + { + "original_column_name": "keywords", + "column_name": "", + "column_description": "A list of keywords found on the card.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "layout", + "column_name": "", + "column_description": "The type of card layout. For a token card, this will be \"token\"", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "leadershipSkills", + "column_name": "leadership Skills", + "column_description": "A list of formats the card is legal to be a commander in", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "life", + "column_name": "", + "column_description": "The starting life total modifier. A plus or minus character precedes an integer.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "loyalty", + "column_name": "", + "column_description": "The starting loyalty value of the card.", + "data_format": "text", + "value_description": "Used only on cards with \"Planeswalker\" in its types. empty means unkown" + }, + { + "original_column_name": "manaCost", + "column_name": "mana Cost ", + "column_description": "The mana cost of the card wrapped in brackets for each value.", + "data_format": "text", + "value_description": "commonsense evidence:\nmanaCost is unconverted mana cost" + }, + { + "original_column_name": "mcmId", + "column_name": "", + "column_description": "", + "data_format": "text", + "value_description": "NOT USEFUL" + }, + { + "original_column_name": "mcmMetaId", + "column_name": "", + "column_description": "", + "data_format": "text", + "value_description": "NOT USEFUL" + }, + { + "original_column_name": "mtgArenaId", + "column_name": "", + "column_description": "", + "data_format": "text", + "value_description": "NOT USEFUL" + }, + { + "original_column_name": "mtgjsonV4Id", + "column_name": "", + "column_description": "", + "data_format": "text", + "value_description": "NOT USEFUL" + }, + { + "original_column_name": "mtgoFoilId", + "column_name": "", + "column_description": "", + "data_format": "text", + "value_description": "NOT USEFUL" + }, + { + "original_column_name": "mtgoId", + "column_name": "", + "column_description": "", + "data_format": "text", + "value_description": "NOT USEFUL" + }, + { + "original_column_name": "multiverseId", + "column_name": "", + "column_description": "", + "data_format": "text", + "value_description": "NOT USEFUL" + }, + { + "original_column_name": "name", + "column_name": "", + "column_description": "The name of the card.", + "data_format": "text", + "value_description": "Cards with multiple faces, like \"Split\" and \"Meld\" cards are given a delimiter." + }, + { + "original_column_name": "number", + "column_name": "", + "column_description": "The number of the card", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "originalReleaseDate", + "column_name": "", + "column_description": "original Release Date", + "data_format": "text", + "value_description": "The original release date in ISO 8601(opens new window) format for a promotional card printed outside of a cycle window, such as Secret Lair Drop promotions." + }, + { + "original_column_name": "originalText", + "column_name": "", + "column_description": "original Text", + "data_format": "text", + "value_description": "The text on the card as originally printed." + }, + { + "original_column_name": "originalType", + "column_name": "", + "column_description": "original Type", + "data_format": "text", + "value_description": "The type of the card as originally printed. Includes any supertypes and subtypes." + }, + { + "original_column_name": "otherFaceIds", + "column_name": "", + "column_description": "other Face Ids", + "data_format": "text", + "value_description": "A list of card UUID's to this card's counterparts, such as transformed or melded faces." + }, + { + "original_column_name": "power", + "column_name": "", + "column_description": "The power of the card.", + "data_format": "text", + "value_description": "commonsense evidence:\n∞ means infinite power\nnull or * refers to unknown power" + }, + { + "original_column_name": "printings", + "column_name": "", + "column_description": "A list of set printing codes the card was printed in, formatted in uppercase.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "promoTypes", + "column_name": "promo Types", + "column_description": "A list of promotional types for a card.", + "data_format": "text", + "value_description": "\"arenaleague\", \"boosterfun\", \"boxtopper\", \"brawldeck\", \"bundle\", \"buyabox\", \"convention\", \"datestamped\", \"draculaseries\", \"draftweekend\", \"duels\", \"event\", \"fnm\", \"gameday\", \"gateway\", \"giftbox\", \"gilded\", \"godzillaseries\", \"instore\", \"intropack\", \"jpwalker\", \"judgegift\", \"league\", \"mediainsert\", \"neonink\", \"openhouse\", \"planeswalkerstamped\", \"playerrewards\", \"playpromo\", \"premiereshop\", \"prerelease\", \"promopack\", \"release\", \"setpromo\", \"stamped\", \"textured\", \"themepack\", \"thick\", \"tourney\", \"wizardsplaynetwork\"" + }, + { + "original_column_name": "purchaseUrls", + "column_name": "purchase Urls", + "column_description": "Links that navigate to websites where the card can be purchased.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "rarity", + "column_name": "", + "column_description": "The card printing rarity.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "scryfallId", + "column_name": "", + "column_description": "", + "data_format": "text", + "value_description": "NOT USEFUL" + }, + { + "original_column_name": "scryfallIllustrationId", + "column_name": "", + "column_description": "", + "data_format": "text", + "value_description": "NOT USEFUL" + }, + { + "original_column_name": "scryfallOracleId", + "column_name": "", + "column_description": "", + "data_format": "text", + "value_description": "NOT USEFUL" + }, + { + "original_column_name": "setCode", + "column_name": "Set Code", + "column_description": "The set printing code that the card is from.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "side", + "column_name": "", + "column_description": "The identifier of the card side. ", + "data_format": "text", + "value_description": "Used on cards with multiple faces on the same card.\ncommonsense evidence:\nif this value is empty, then it means this card doesn't have multiple faces on the same card." + }, + { + "original_column_name": "subtypes", + "column_name": "", + "column_description": "A list of card subtypes found after em-dash.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "supertypes", + "column_name": "super types", + "column_description": "A list of card supertypes found before em-dash.", + "data_format": "text", + "value_description": "commonsense evidence:\nlist of all types should be the union of subtypes and supertypes" + }, + { + "original_column_name": "tcgplayerProductId", + "column_name": "tcg player ProductId", + "column_description": "", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "text", + "column_name": "", + "column_description": "The rules text of the card.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "toughness", + "column_name": "", + "column_description": "The toughness of the card.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "type", + "column_name": "", + "column_description": "The type of the card as visible, including any supertypes and subtypes.", + "data_format": "text", + "value_description": "\"Artifact\", \"Card\", \"Conspiracy\", \"Creature\", \"Dragon\", \"Dungeon\", \"Eaturecray\", \"Elemental\", \"Elite\", \"Emblem\", \"Enchantment\", \"Ever\", \"Goblin\", \"Hero\", \"Instant\", \"Jaguar\", \"Knights\", \"Land\", \"Phenomenon\", \"Plane\", \"Planeswalker\", \"Scariest\", \"Scheme\", \"See\", \"Sorcery\", \"Sticker\", \"Summon\", \"Token\", \"Tribal\", \"Vanguard\", \"Wolf\", \"You’ll\", \"instant\"" + }, + { + "original_column_name": "types", + "column_name": "", + "column_description": "A list of all card types of the card, including Un‑sets and gameplay variants.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "uuid", + "column_name": "", + "column_description": "The universal unique identifier (v5) generated by MTGJSON. Each entry is unique.", + "data_format": "text", + "value_description": "NOT USEFUL" + }, + { + "original_column_name": "variations", + "column_name": "", + "column_description": "", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "watermark", + "column_name": "", + "column_description": "The name of the watermark on the card.", + "data_format": "text", + "value_description": "" + } + ], + "foreign_data": [ + { + "original_column_name": "id", + "column_name": "", + "column_description": "unique id number identifying this row of data", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "flavorText", + "column_name": "flavor Text", + "column_description": "The foreign flavor text of the card.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "language", + "column_name": "", + "column_description": "The foreign language of card.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "multiverseid", + "column_name": "", + "column_description": "The foreign multiverse identifier of the card.", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "name", + "column_name": "", + "column_description": "The foreign name of the card.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "text", + "column_name": "", + "column_description": "The foreign text ruling of the card.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "type", + "column_name": "", + "column_description": "The foreign type of the card. Includes any supertypes and subtypes.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "uuid", + "column_name": "", + "column_description": "", + "data_format": "text", + "value_description": "" + } + ], + "legalities": [ + { + "original_column_name": "id", + "column_name": "", + "column_description": "unique id identifying this legality", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "format", + "column_name": "", + "column_description": "format of play", + "data_format": "text", + "value_description": "each value refers to different rules to play" + }, + { + "original_column_name": "status", + "column_name": "", + "column_description": "", + "data_format": "text", + "value_description": "• legal\n• banned\n• restricted" + }, + { + "original_column_name": "uuid", + "column_name": "", + "column_description": "", + "data_format": "text", + "value_description": "" + } + ], + "rulings": [ + { + "original_column_name": "id", + "column_name": "", + "column_description": "unique id identifying this ruling", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "date", + "column_name": "", + "column_description": "date ", + "data_format": "date", + "value_description": "" + }, + { + "original_column_name": "text", + "column_name": "", + "column_description": "description about this ruling", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "uuid", + "column_name": "", + "column_description": "", + "data_format": "text", + "value_description": "" + } + ], + "set_translations": [ + { + "original_column_name": "id", + "column_name": "", + "column_description": "unique id identifying this set", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "language", + "column_name": "", + "column_description": "language of this card set", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "setCode", + "column_name": "set code", + "column_description": "the set code for this set", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "translation", + "column_name": "", + "column_description": "translation of this card set", + "data_format": "text", + "value_description": "" + } + ], + "sets": [ + { + "original_column_name": "id", + "column_name": "", + "column_description": "unique id identifying this set", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "baseSetSize", + "column_name": "base Set Size", + "column_description": "The number of cards in the set.", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "block", + "column_name": "", + "column_description": "The block name the set was in.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "booster", + "column_name": "", + "column_description": "A breakdown of possibilities and weights of cards in a booster pack.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "code", + "column_name": "", + "column_description": "The set code for the set.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "isFoilOnly", + "column_name": "is Foil Only", + "column_description": "If the set is only available in foil.", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "isForeignOnly", + "column_name": "is Foreign Only", + "column_description": "If the set is available only outside the United States of America.", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "isNonFoilOnly", + "column_name": "is Non Foil Only", + "column_description": "If the set is only available in non-foil.", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "isOnlineOnly", + "column_name": "is Online Only", + "column_description": "If the set is only available in online game variations.", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "isPartialPreview", + "column_name": "is Partial Preview", + "column_description": "If the set is still in preview (spoiled). Preview sets do not have complete data.", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "keyruneCode", + "column_name": "keyrune Code", + "column_description": "The matching Keyrune code for set image icons.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "mcmId", + "column_name": "magic card market id", + "column_description": "The Magic Card Marketset identifier.", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "mcmIdExtras", + "column_name": "magic card market ID Extras", + "column_description": "The split Magic Card Market set identifier if a set is printed in two sets. This identifier represents the second set's identifier.", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "mcmName", + "column_name": "magic card market name ", + "column_description": "", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "mtgoCode", + "column_name": "magic the gathering online code", + "column_description": "The set code for the set as it appears on Magic: The Gathering Online", + "data_format": "text", + "value_description": "commonsense evidence:\nif the value is null or empty, then it doesn't appear on Magic: The Gathering Online" + }, + { + "original_column_name": "name", + "column_name": "", + "column_description": "The name of the set.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "parentCode", + "column_name": "parent Code", + "column_description": "The parent set code for set variations like promotions, guild kits, etc.", + "data_format": "text", + "value_description": "" + }, + { + "original_column_name": "releaseDate", + "column_name": "release Date", + "column_description": "The release date in ISO 8601 format for the set.", + "data_format": "date", + "value_description": "" + }, + { + "original_column_name": "tcgplayerGroupId", + "column_name": "tcg player Group Id", + "column_description": "The group identifier of the set on TCGplayer", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "totalSetSize", + "column_name": "total Set Size", + "column_description": "The total number of cards in the set, including promotional and related supplemental products but excluding Alchemy modifications - however those cards are included in the set itself.", + "data_format": "integer", + "value_description": "" + }, + { + "original_column_name": "type", + "column_name": "", + "column_description": "The expansion type of the set.", + "data_format": "text", + "value_description": "\"alchemy\", \"archenemy\", \"arsenal\", \"box\", \"commander\", \"core\", \"draft_innovation\", \"duel_deck\", \"expansion\", \"from_the_vault\", \"funny\", \"masterpiece\", \"masters\", \"memorabilia\", \"planechase\", \"premium_deck\", \"promo\", \"spellbook\", \"starter\", \"token\", \"treasure_chest\", \"vanguard\"" + } + ] +} + +Supplemental publicly available domain documentation (analyst paraphrases of the cited primary sources; not original BIRD metadata): +MTGJSON Card (Set) data model +frameVersion is a string property identifying the card frame style. +Source: https://mtgjson.com/data-models/card/card-set/ + +The Future Is Now, Part I (2007-04-09) +Wizards describes Future Sight timeshifted cards as using a specially designed futuristic frame. The article illustrates Fleshwrither and explains that this design represents a fictional future, rather than an announced replacement for normal frames. +Source: https://magic.wizards.com/en/news/making-magic/future-now-part-i-2007-04-09 + +Days of Core, Part 2 (2014-06-30) +Wizards states that Magic 2015 premiered updated card faces as part of a card-frame change. +Source: https://magic.wizards.com/en/news/making-magic/days-core-part-2-2014-06-30 + +Magic 2015 Core Set Release Notes (2014-07-07) +Wizards gives July 18, 2014 as the official release date of Magic 2015. +Source: https://magic.wizards.com/en/news/feature/magic-2015-core-set-release-notes-2014-07-07 +Return your final answer as exactly one fenced ```sql block containing the single read-only SQLite SELECT/WITH query that answers the question. Do not include exploratory SQL in the final answer. Use the supplied documentation; no user simulator is available. \ No newline at end of file diff --git a/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/events/bird069.stderr b/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/events/bird069.stderr new file mode 100644 index 00000000..e69de29b diff --git a/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/records/bird069.json b/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/records/bird069.json new file mode 100644 index 00000000..02409ee2 --- /dev/null +++ b/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/records/bird069.json @@ -0,0 +1,132 @@ +{ + "instance_id": "bird069", + "profile": "codex-mcp", + "model": "gpt-6.2-astra", + "status": "predicted", + "calls": [], + "prompt_sha256": "43e5f46bf069de068b5c7c15bfb1084dd4163cfcbb3d18673a66172363f8b1e3", + "events_sha256": "1985b9b493f6890c20c7c3ca858f51b097dcdef473986b46a5bc678049b08feb", + "cli_exit_code": 0, + "cli_usage": [ + { + "input_tokens": 235769, + "cached_input_tokens": 214272, + "cache_write_input_tokens": 0, + "output_tokens": 657, + "reasoning_output_tokens": 0 + } + ], + "mcp_calls": [ + { + "id": "item_1", + "type": "mcp_tool_call", + "server": "lang2sql", + "tool": "explore_schema", + "arguments": { + "table": "cards" + }, + "result": { + "content": [ + { + "type": "text", + "text": "cards (table)\n- id: INTEGER NOT NULL\n- artist: TEXT\n- asciiName: TEXT\n- availability: TEXT\n- borderColor: TEXT\n- cardKingdomFoilId: TEXT\n- cardKingdomId: TEXT\n- colorIdentity: TEXT\n- colorIndicator: TEXT\n- colors: TEXT\n- convertedManaCost: REAL\n- duelDeck: TEXT\n- edhrecRank: INTEGER\n- faceConvertedManaCost: REAL\n- faceName: TEXT\n- flavorName: TEXT\n- flavorText: TEXT\n- frameEffects: TEXT\n- frameVersion: TEXT\n- hand: TEXT\n- hasAlternativeDeckLimit: INTEGER NOT NULL\n- hasContentWarning: INTEGER NOT NULL\n- hasFoil: INTEGER NOT NULL\n- hasNonFoil: INTEGER NOT NULL\n- isAlternative: INTEGER NOT NULL\n- isFullArt: INTEGER NOT NULL\n- isOnlineOnly: INTEGER NOT NULL\n- isOversized: INTEGER NOT NULL\n- isPromo: INTEGER NOT NULL\n- isReprint: INTEGER NOT NULL\n- isReserved: INTEGER NOT NULL\n- isStarter: INTEGER NOT NULL\n- isStorySpotlight: INTEGER NOT NULL\n- isTextless: INTEGER NOT NULL\n- isTimeshifted: INTEGER NOT NULL\n- keywords: TEXT\n- layout: TEXT\n- leadershipSkills: TEXT\n- life: TEXT\n- loyalty: TEXT\n- manaCost: TEXT\n- mcmId: TEXT\n- mcmMetaId: TEXT\n- mtgArenaId: TEXT\n- mtgjsonV4Id: TEXT\n- mtgoFoilId: TEXT\n- mtgoId: TEXT\n- multiverseId: TEXT\n- name: TEXT\n- number: TEXT\n- originalReleaseDate: TEXT\n- originalText: TEXT\n- originalType: TEXT\n- otherFaceIds: TEXT\n- power: TEXT\n- printings: TEXT\n- promoTypes: TEXT\n- purchaseUrls: TEXT\n- rarity: TEXT\n- scryfallId: TEXT\n- scryfallIllustrationId: TEXT\n- scryfallOracleId: TEXT\n- setCode: TEXT\n- side: TEXT\n- subtypes: TEXT\n- supertypes: TEXT\n- tcgplayerProductId: TEXT\n- text: TEXT\n- toughness: TEXT\n- type: TEXT\n- types: TEXT\n- uuid: TEXT NOT NULL\n- variations: TEXT\n- watermark: TEXT\nPRIMARY KEY (id)" + } + ], + "structured_content": null + }, + "error": null, + "status": "completed" + }, + { + "id": "item_2", + "type": "mcp_tool_call", + "server": "lang2sql", + "tool": "resolve_business_terms", + "arguments": { + "terms": [] + }, + "result": { + "content": [ + { + "type": "text", + "text": "{\"definition_check_id\": \"bNn9kqljbgP1aAf6YsraX68jFxsulWYRoRIWqBoy7UI\", \"definitions\": [], \"instruction\": \"For oracle_view the operator has confirmed the contract: call run_sql with this definition_check_id, period_start and exclusive period_end, without sql. An explicit calendar year/month is sufficient to derive these dates. Ask only if the period or business meaning is actually unclear. For text definitions use SQL. Discover schema and use qualified table names before run_sql. A receipt is not proof of SQL semantic correctness.\"}" + } + ], + "structured_content": null + }, + "error": null, + "status": "completed" + }, + { + "id": "item_3", + "type": "mcp_tool_call", + "server": "lang2sql", + "tool": "run_sql", + "arguments": { + "definition_check_id": "bNn9kqljbgP1aAf6YsraX68jFxsulWYRoRIWqBoy7UI", + "sql": "SELECT frameVersion, COUNT(*) AS total, COUNT(*) FILTER (WHERE convertedManaCost = 0) AS zero_cost FROM main.cards GROUP BY frameVersion" + }, + "result": { + "content": [ + { + "type": "text", + "text": "5 row(s):\nResult coverage: fetched_rows=5; displayed_rows=5; fetch_truncated=false; display_truncated=false; sql_rewritten=true; query_timeout_enforced=true; query_timeout_scope=sqlite_vm. Counts refer to the executed SQL, not the source table size.\nObserved value types (displayed rows): frameVersion=str; total=int; zero_cost=int\nframeVersion | total | zero_cost\n--- | --- | ---\n1993 | 5510 | 577\n1997 | 9257 | 1032\n2003 | 16462 | 2351\n2015 | 25500 | 3359\nfuture | 93 | 8\nSQL: SELECT frameVersion, COUNT(*) AS total, COUNT(*) FILTER (WHERE convertedManaCost = 0) AS zero_cost FROM main.cards GROUP BY frameVersion\nLIMIT 1000" + } + ], + "structured_content": null + }, + "error": null, + "status": "completed" + }, + { + "id": "item_4", + "type": "mcp_tool_call", + "server": "lang2sql", + "tool": "resolve_business_terms", + "arguments": { + "terms": [] + }, + "result": { + "content": [ + { + "type": "text", + "text": "{\"definition_check_id\": \"g0k4Z8huSFdHct95IIEjjNeAGezWg-zzR8uTOicDhEE\", \"definitions\": [], \"instruction\": \"For oracle_view the operator has confirmed the contract: call run_sql with this definition_check_id, period_start and exclusive period_end, without sql. An explicit calendar year/month is sufficient to derive these dates. Ask only if the period or business meaning is actually unclear. For text definitions use SQL. Discover schema and use qualified table names before run_sql. A receipt is not proof of SQL semantic correctness.\"}" + } + ], + "structured_content": null + }, + "error": null, + "status": "completed" + }, + { + "id": "item_5", + "type": "mcp_tool_call", + "server": "lang2sql", + "tool": "run_sql", + "arguments": { + "definition_check_id": "g0k4Z8huSFdHct95IIEjjNeAGezWg-zzR8uTOicDhEE", + "expected_columns": [ + "frameVersion", + "card_count" + ], + "sql": "WITH eligible_frames AS (\n SELECT\n frameVersion,\n COUNT(*) AS card_count,\n CASE frameVersion\n WHEN 'future' THEN 2007\n WHEN '2015' THEN 2014\n ELSE CAST(frameVersion AS INTEGER)\n END AS introduction_year\n FROM main.cards\n GROUP BY frameVersion\n HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0\n)\nSELECT frameVersion, card_count\nFROM eligible_frames\nWHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames)\nORDER BY frameVersion\nLIMIT 1000" + }, + "result": { + "content": [ + { + "type": "text", + "text": "1 row(s):\nOutput columns validated (projection only).\nResult coverage: fetched_rows=1; displayed_rows=1; fetch_truncated=false; display_truncated=false; sql_rewritten=false; query_timeout_enforced=true; query_timeout_scope=sqlite_vm. Counts refer to the executed SQL, not the source table size.\nObserved value types (displayed rows): frameVersion=str; card_count=int\nframeVersion | card_count\n--- | ---\n2015 | 25500\nSQL: WITH eligible_frames AS (\n SELECT\n frameVersion,\n COUNT(*) AS card_count,\n CASE frameVersion\n WHEN 'future' THEN 2007\n WHEN '2015' THEN 2014\n ELSE CAST(frameVersion AS INTEGER)\n END AS introduction_year\n FROM main.cards\n GROUP BY frameVersion\n HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0\n)\nSELECT frameVersion, card_count\nFROM eligible_frames\nWHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames)\nORDER BY frameVersion\nLIMIT 1000" + } + ], + "structured_content": null + }, + "error": null, + "status": "completed" + } + ], + "answer": "```sql\nWITH eligible_frames AS (\n SELECT\n frameVersion,\n COUNT(*) AS card_count,\n CASE frameVersion\n WHEN 'future' THEN 2007\n WHEN '2015' THEN 2014\n ELSE CAST(frameVersion AS INTEGER)\n END AS introduction_year\n FROM main.cards\n GROUP BY frameVersion\n HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0\n)\nSELECT frameVersion, card_count\nFROM eligible_frames\nWHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames)\nORDER BY frameVersion\nLIMIT 1000\n```", + "event_parse_errors": [], + "rows": 1, + "sql": "WITH eligible_frames AS (\n SELECT\n frameVersion,\n COUNT(*) AS card_count,\n CASE frameVersion\n WHEN 'future' THEN 2007\n WHEN '2015' THEN 2014\n ELSE CAST(frameVersion AS INTEGER)\n END AS introduction_year\n FROM main.cards\n GROUP BY frameVersion\n HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0\n)\nSELECT frameVersion, card_count\nFROM eligible_frames\nWHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames)\nORDER BY frameVersion\nLIMIT 1000", + "seconds": 32.08817324996926 +} diff --git a/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/scores.json b/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/scores.json new file mode 100644 index 00000000..72f40a6d --- /dev/null +++ b/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/scores.json @@ -0,0 +1,7 @@ +[ + { + "instance_id": "bird069", + "score": 1, + "status": "predicted" + } +] diff --git a/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/sql/bird069.sql b/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/sql/bird069.sql new file mode 100644 index 00000000..e9a45f04 --- /dev/null +++ b/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/sql/bird069.sql @@ -0,0 +1,18 @@ +WITH eligible_frames AS ( + SELECT + frameVersion, + COUNT(*) AS card_count, + CASE frameVersion + WHEN 'future' THEN 2007 + WHEN '2015' THEN 2014 + ELSE CAST(frameVersion AS INTEGER) + END AS introduction_year + FROM main.cards + GROUP BY frameVersion + HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0 +) +SELECT frameVersion, card_count +FROM eligible_frames +WHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames) +ORDER BY frameVersion +LIMIT 1000 diff --git a/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/status.json b/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/status.json new file mode 100644 index 00000000..bd88cb0b --- /dev/null +++ b/bench/accuracy/mcp-review-results/card-frame-document/codex-mcp/status.json @@ -0,0 +1,4 @@ +{ + "status": "completed", + "wall_seconds": 32.0889675419312 +} diff --git a/bench/accuracy/mcp-review-results/card-frame-document/comparison/comparison.json b/bench/accuracy/mcp-review-results/card-frame-document/comparison/comparison.json new file mode 100644 index 00000000..63e7cabd --- /dev/null +++ b/bench/accuracy/mcp-review-results/card-frame-document/comparison/comparison.json @@ -0,0 +1,423 @@ +{ + "scope": "Recorded score transitions on matched selected cases only; not full accuracy or proof of causality. CSV previews are text, not native SQL types. No semantic failure cause is inferred automatically.", + "sources": [ + { + "path": "/Users/seyoung/workspace/benchmarks/codex-mcp-bird-full-context-validation-20261127/checkpoints/001/bird", + "manifest_sha256": "38183dca92fc36dd6b2ce180292bf2639e874b9a1f6ea059ee1fd04b2ef0d00e", + "scores_sha256": "f911002a97ae59d92643d3e5c8ef8dfa7fd952c1053c2fc28b6ae3361f0093eb", + "settings": { + "profiles": [ + { + "name": "codex-mcp", + "model": "gpt-6.2-astra", + "reasoning_effort": "high" + } + ], + "backend": "ChatGPT login -> Codex CLI -> production Lang2SQL MCP", + "revision": "0b6250ff917b23a2659dc96d722094ba7840778b", + "codex_version": "codex-cli 0.170.0", + "sources": { + "bench/accuracy/codex_mcp.py": "4812960452c27952ee3873575d97fb2dceaccafbdc57cca94afa3770f50297fc", + "src/lang2sql/frontends/mcp/server.py": "0836ca4631f321c3f3a2c7524e71f6f31e60ac77286633833af6810d3443ddcb" + }, + "schema_document_sha256": "7f3a02f99f90eadd69974fe5f45ca5d4abf90a1549e4deb46ae24b0093bde9c6", + "case_selection": { + "split": "all", + "input_cases": 500, + "selected_cases": 500, + "expected_cases": 500 + }, + "review_source": null, + "failure_selection": null, + "split": "all", + "concurrency": 2, + "case_timeout": 600.0, + "sql_timeout": 30, + "max_rows": 100000, + "api_calls": null, + "usage_unit": "one Codex CLI invocation per question; internal model-call count unavailable" + } + }, + { + "path": "/Users/seyoung/workspace/benchmarks/codex-mcp-card-frame-document-20261127/bird-gpt-6.2-astra", + "manifest_sha256": "35a36ec42a61dc3646e36848fb381bbd1c1db67219135b74c960f75213624cb3", + "scores_sha256": "04047cd2c5856294de9fdc45fd2802826cce134bbf1e7270cb438d6f48807c68", + "settings": { + "profiles": [ + { + "name": "codex-mcp", + "model": "gpt-6.2-astra", + "reasoning_effort": "high" + } + ], + "backend": "ChatGPT login -> Codex CLI -> production Lang2SQL MCP", + "revision": "c0b5ff54b3edce5b02d405e042eda9a34832e03f", + "codex_version": "codex-cli 0.170.0", + "sources": { + "bench/accuracy/codex_mcp.py": "4812960452c27952ee3873575d97fb2dceaccafbdc57cca94afa3770f50297fc", + "src/lang2sql/frontends/mcp/server.py": "0836ca4631f321c3f3a2c7524e71f6f31e60ac77286633833af6810d3443ddcb" + }, + "schema_document_sha256": "68be30a7d9e1101d2373ecbf23966200e9cb0a13fb7fa48a3a6eac267e860d67", + "case_selection": { + "split": "all", + "input_cases": 1, + "selected_cases": 1, + "expected_cases": 1 + }, + "review_source": null, + "failure_selection": null, + "split": "all", + "concurrency": 1, + "case_timeout": 600.0, + "sql_timeout": 30, + "max_rows": 100000, + "api_calls": null, + "usage_unit": "one Codex CLI invocation per question; internal model-call count unavailable" + } + } + ], + "transitions": { + "0 -> 1": 1 + }, + "cases": [ + { + "input": { + "instance_id": "bird069", + "db": "card_games", + "question": "I'm putting together a showcase of zero-mana-cost cards. What is the newest frame version used by any card with a converted mana cost of 0? Please give me that frame version value, and the number of cards in the database that use that frame version. The count should cover all cards in the database, not just the zero-cost ones. If several frame versions tie as the newest, give me each of them with its own count.", + "evidence": "Frame version: the edition of the card frame style a printing uses." + }, + "transition": "0 -> 1", + "sql_diff": "--- before.sql\n+++ after.sql\n@@ -0,0 +1,18 @@\n+WITH eligible_frames AS (\n+ SELECT\n+ frameVersion,\n+ COUNT(*) AS card_count,\n+ CASE frameVersion\n+ WHEN 'future' THEN 2007\n+ WHEN '2015' THEN 2014\n+ ELSE CAST(frameVersion AS INTEGER)\n+ END AS introduction_year\n+ FROM main.cards\n+ GROUP BY frameVersion\n+ HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0\n+)\n+SELECT frameVersion, card_count\n+FROM eligible_frames\n+WHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames)\n+ORDER BY frameVersion\n+LIMIT 1000", + "before": { + "score": 0, + "record_sha256": "45d77024c02c1f1845eb2a1f466dd60be5d9c55e637d2a04b8415abda62c4fca", + "record": { + "instance_id": "bird069", + "profile": "codex-mcp", + "model": "gpt-6.2-astra", + "status": "failed", + "calls": [], + "prompt_sha256": "89862ee9f2f56d3432cd4ba207c4e58274f2c81df8ec333b7474b257349c27c9", + "events_sha256": "b02e814982759df9efc57f9366b07afa31ae8089a504eaf07f56b828a7113bbe", + "cli_exit_code": 0, + "cli_usage": [ + { + "input_tokens": 233956, + "cached_input_tokens": 212736, + "cache_write_input_tokens": 0, + "output_tokens": 870, + "reasoning_output_tokens": 329 + } + ], + "mcp_calls": [ + { + "id": "item_1", + "type": "mcp_tool_call", + "server": "lang2sql", + "tool": "resolve_business_terms", + "arguments": { + "terms": [] + }, + "result": { + "content": [ + { + "type": "text", + "text": "{\"definition_check_id\": \"efsaZwJcXX82AtL3OSR49c0nfIgYclxg7W81bqIb-xk\", \"definitions\": [], \"instruction\": \"For oracle_view the operator has confirmed the contract: call run_sql with this definition_check_id, period_start and exclusive period_end, without sql. An explicit calendar year/month is sufficient to derive these dates. Ask only if the period or business meaning is actually unclear. For text definitions use SQL. Discover schema and use qualified table names before run_sql. A receipt is not proof of SQL semantic correctness.\"}" + } + ], + "structured_content": null + }, + "error": null, + "status": "completed" + }, + { + "id": "item_2", + "type": "mcp_tool_call", + "server": "lang2sql", + "tool": "resolve_business_terms", + "arguments": { + "terms": [ + "newest frame version" + ] + }, + "result": { + "content": [ + { + "type": "text", + "text": "DEFINITION_REQUIRED: No confirmed definition in this scope for: [\"newest frame version\"]. SQL was NOT executed. Ask the user for the exact business definition and intended team/org/user scope. Do not infer a definition or register a guessed definition. After explicit user clarification, stage the definition with context_candidates. An operator must approve it before you resolve_business_terms again." + } + ], + "structured_content": null + }, + "error": null, + "status": "failed" + }, + { + "id": "item_3", + "type": "mcp_tool_call", + "server": "lang2sql", + "tool": "explore_schema", + "arguments": { + "table": "cards" + }, + "result": { + "content": [ + { + "type": "text", + "text": "cards (table)\n- id: INTEGER NOT NULL\n- artist: TEXT\n- asciiName: TEXT\n- availability: TEXT\n- borderColor: TEXT\n- cardKingdomFoilId: TEXT\n- cardKingdomId: TEXT\n- colorIdentity: TEXT\n- colorIndicator: TEXT\n- colors: TEXT\n- convertedManaCost: REAL\n- duelDeck: TEXT\n- edhrecRank: INTEGER\n- faceConvertedManaCost: REAL\n- faceName: TEXT\n- flavorName: TEXT\n- flavorText: TEXT\n- frameEffects: TEXT\n- frameVersion: TEXT\n- hand: TEXT\n- hasAlternativeDeckLimit: INTEGER NOT NULL\n- hasContentWarning: INTEGER NOT NULL\n- hasFoil: INTEGER NOT NULL\n- hasNonFoil: INTEGER NOT NULL\n- isAlternative: INTEGER NOT NULL\n- isFullArt: INTEGER NOT NULL\n- isOnlineOnly: INTEGER NOT NULL\n- isOversized: INTEGER NOT NULL\n- isPromo: INTEGER NOT NULL\n- isReprint: INTEGER NOT NULL\n- isReserved: INTEGER NOT NULL\n- isStarter: INTEGER NOT NULL\n- isStorySpotlight: INTEGER NOT NULL\n- isTextless: INTEGER NOT NULL\n- isTimeshifted: INTEGER NOT NULL\n- keywords: TEXT\n- layout: TEXT\n- leadershipSkills: TEXT\n- life: TEXT\n- loyalty: TEXT\n- manaCost: TEXT\n- mcmId: TEXT\n- mcmMetaId: TEXT\n- mtgArenaId: TEXT\n- mtgjsonV4Id: TEXT\n- mtgoFoilId: TEXT\n- mtgoId: TEXT\n- multiverseId: TEXT\n- name: TEXT\n- number: TEXT\n- originalReleaseDate: TEXT\n- originalText: TEXT\n- originalType: TEXT\n- otherFaceIds: TEXT\n- power: TEXT\n- printings: TEXT\n- promoTypes: TEXT\n- purchaseUrls: TEXT\n- rarity: TEXT\n- scryfallId: TEXT\n- scryfallIllustrationId: TEXT\n- scryfallOracleId: TEXT\n- setCode: TEXT\n- side: TEXT\n- subtypes: TEXT\n- supertypes: TEXT\n- tcgplayerProductId: TEXT\n- text: TEXT\n- toughness: TEXT\n- type: TEXT\n- types: TEXT\n- uuid: TEXT NOT NULL\n- variations: TEXT\n- watermark: TEXT\nPRIMARY KEY (id)" + } + ], + "structured_content": null + }, + "error": null, + "status": "completed" + }, + { + "id": "item_4", + "type": "mcp_tool_call", + "server": "lang2sql", + "tool": "run_sql", + "arguments": { + "definition_check_id": "efsaZwJcXX82AtL3OSR49c0nfIgYclxg7W81bqIb-xk", + "sql": "SELECT frameVersion, COUNT(*) AS cards, COUNT(CASE WHEN convertedManaCost = 0 THEN 1 END) AS zero_cost_cards\nFROM main.cards\nGROUP BY frameVersion;" + }, + "result": { + "content": [ + { + "type": "text", + "text": "DEFINITION_REQUIRED: Resolve definitions before every SQL execution; missing, invalid or already-used check. SQL was NOT executed. Ask the user for the exact business definition and intended team/org/user scope. Do not infer a definition or register a guessed definition. After explicit user clarification, stage the definition with context_candidates. An operator must approve it before you resolve_business_terms again." + } + ], + "structured_content": null + }, + "error": null, + "status": "failed" + }, + { + "id": "item_5", + "type": "mcp_tool_call", + "server": "lang2sql", + "tool": "resolve_business_terms", + "arguments": { + "terms": [] + }, + "result": { + "content": [ + { + "type": "text", + "text": "{\"definition_check_id\": \"R0AXfcIonwD1vymuzxmJ6y-5lwSYfnT7-JB07kS49bE\", \"definitions\": [], \"instruction\": \"For oracle_view the operator has confirmed the contract: call run_sql with this definition_check_id, period_start and exclusive period_end, without sql. An explicit calendar year/month is sufficient to derive these dates. Ask only if the period or business meaning is actually unclear. For text definitions use SQL. Discover schema and use qualified table names before run_sql. A receipt is not proof of SQL semantic correctness.\"}" + } + ], + "structured_content": null + }, + "error": null, + "status": "completed" + }, + { + "id": "item_6", + "type": "mcp_tool_call", + "server": "lang2sql", + "tool": "run_sql", + "arguments": { + "definition_check_id": "R0AXfcIonwD1vymuzxmJ6y-5lwSYfnT7-JB07kS49bE", + "sql": "SELECT frameVersion, COUNT(*) AS cards, COUNT(CASE WHEN convertedManaCost = 0 THEN 1 END) AS zero_cost_cards\nFROM main.cards\nGROUP BY frameVersion;" + }, + "result": { + "content": [ + { + "type": "text", + "text": "5 row(s):\nResult coverage: fetched_rows=5; displayed_rows=5; fetch_truncated=false; display_truncated=false; sql_rewritten=true; query_timeout_enforced=true; query_timeout_scope=sqlite_vm. Counts refer to the executed SQL, not the source table size.\nObserved value types (displayed rows): frameVersion=str; cards=int; zero_cost_cards=int\nframeVersion | cards | zero_cost_cards\n--- | --- | ---\n1993 | 5510 | 577\n1997 | 9257 | 1032\n2003 | 16462 | 2351\n2015 | 25500 | 3359\nfuture | 93 | 8\nSQL: SELECT frameVersion, COUNT(*) AS cards, COUNT(CASE WHEN convertedManaCost = 0 THEN 1 END) AS zero_cost_cards\nFROM main.cards\nGROUP BY frameVersion\nLIMIT 1000" + } + ], + "structured_content": null + }, + "error": null, + "status": "completed" + }, + { + "id": "item_7", + "type": "mcp_tool_call", + "server": "lang2sql", + "tool": "resolve_business_terms", + "arguments": { + "terms": [ + "frame version", + "frame version ordering" + ] + }, + "result": { + "content": [ + { + "type": "text", + "text": "DEFINITION_REQUIRED: No confirmed definition in this scope for: [\"frame version\", \"frame version ordering\"]. SQL was NOT executed. Ask the user for the exact business definition and intended team/org/user scope. Do not infer a definition or register a guessed definition. After explicit user clarification, stage the definition with context_candidates. An operator must approve it before you resolve_business_terms again." + } + ], + "structured_content": null + }, + "error": null, + "status": "failed" + } + ], + "answer": "How should `future` rank against `2015`? Both appear on zero-cost cards, and the supplied documentation lists the frame labels without defining their chronological order.", + "event_parse_errors": [], + "error_type": "ValueError", + "error_message": "Final answer must contain exactly one SQL block; no last-tool fallback", + "seconds": 36.43735241598915 + }, + "result": null + }, + "after": { + "score": 1, + "record_sha256": "4b3e29431299ef31c05c9dea0b3c1bc65d7a95aab397e647700e649ed254c057", + "record": { + "instance_id": "bird069", + "profile": "codex-mcp", + "model": "gpt-6.2-astra", + "status": "predicted", + "calls": [], + "prompt_sha256": "43e5f46bf069de068b5c7c15bfb1084dd4163cfcbb3d18673a66172363f8b1e3", + "events_sha256": "1985b9b493f6890c20c7c3ca858f51b097dcdef473986b46a5bc678049b08feb", + "cli_exit_code": 0, + "cli_usage": [ + { + "input_tokens": 235769, + "cached_input_tokens": 214272, + "cache_write_input_tokens": 0, + "output_tokens": 657, + "reasoning_output_tokens": 0 + } + ], + "mcp_calls": [ + { + "id": "item_1", + "type": "mcp_tool_call", + "server": "lang2sql", + "tool": "explore_schema", + "arguments": { + "table": "cards" + }, + "result": { + "content": [ + { + "type": "text", + "text": "cards (table)\n- id: INTEGER NOT NULL\n- artist: TEXT\n- asciiName: TEXT\n- availability: TEXT\n- borderColor: TEXT\n- cardKingdomFoilId: TEXT\n- cardKingdomId: TEXT\n- colorIdentity: TEXT\n- colorIndicator: TEXT\n- colors: TEXT\n- convertedManaCost: REAL\n- duelDeck: TEXT\n- edhrecRank: INTEGER\n- faceConvertedManaCost: REAL\n- faceName: TEXT\n- flavorName: TEXT\n- flavorText: TEXT\n- frameEffects: TEXT\n- frameVersion: TEXT\n- hand: TEXT\n- hasAlternativeDeckLimit: INTEGER NOT NULL\n- hasContentWarning: INTEGER NOT NULL\n- hasFoil: INTEGER NOT NULL\n- hasNonFoil: INTEGER NOT NULL\n- isAlternative: INTEGER NOT NULL\n- isFullArt: INTEGER NOT NULL\n- isOnlineOnly: INTEGER NOT NULL\n- isOversized: INTEGER NOT NULL\n- isPromo: INTEGER NOT NULL\n- isReprint: INTEGER NOT NULL\n- isReserved: INTEGER NOT NULL\n- isStarter: INTEGER NOT NULL\n- isStorySpotlight: INTEGER NOT NULL\n- isTextless: INTEGER NOT NULL\n- isTimeshifted: INTEGER NOT NULL\n- keywords: TEXT\n- layout: TEXT\n- leadershipSkills: TEXT\n- life: TEXT\n- loyalty: TEXT\n- manaCost: TEXT\n- mcmId: TEXT\n- mcmMetaId: TEXT\n- mtgArenaId: TEXT\n- mtgjsonV4Id: TEXT\n- mtgoFoilId: TEXT\n- mtgoId: TEXT\n- multiverseId: TEXT\n- name: TEXT\n- number: TEXT\n- originalReleaseDate: TEXT\n- originalText: TEXT\n- originalType: TEXT\n- otherFaceIds: TEXT\n- power: TEXT\n- printings: TEXT\n- promoTypes: TEXT\n- purchaseUrls: TEXT\n- rarity: TEXT\n- scryfallId: TEXT\n- scryfallIllustrationId: TEXT\n- scryfallOracleId: TEXT\n- setCode: TEXT\n- side: TEXT\n- subtypes: TEXT\n- supertypes: TEXT\n- tcgplayerProductId: TEXT\n- text: TEXT\n- toughness: TEXT\n- type: TEXT\n- types: TEXT\n- uuid: TEXT NOT NULL\n- variations: TEXT\n- watermark: TEXT\nPRIMARY KEY (id)" + } + ], + "structured_content": null + }, + "error": null, + "status": "completed" + }, + { + "id": "item_2", + "type": "mcp_tool_call", + "server": "lang2sql", + "tool": "resolve_business_terms", + "arguments": { + "terms": [] + }, + "result": { + "content": [ + { + "type": "text", + "text": "{\"definition_check_id\": \"bNn9kqljbgP1aAf6YsraX68jFxsulWYRoRIWqBoy7UI\", \"definitions\": [], \"instruction\": \"For oracle_view the operator has confirmed the contract: call run_sql with this definition_check_id, period_start and exclusive period_end, without sql. An explicit calendar year/month is sufficient to derive these dates. Ask only if the period or business meaning is actually unclear. For text definitions use SQL. Discover schema and use qualified table names before run_sql. A receipt is not proof of SQL semantic correctness.\"}" + } + ], + "structured_content": null + }, + "error": null, + "status": "completed" + }, + { + "id": "item_3", + "type": "mcp_tool_call", + "server": "lang2sql", + "tool": "run_sql", + "arguments": { + "definition_check_id": "bNn9kqljbgP1aAf6YsraX68jFxsulWYRoRIWqBoy7UI", + "sql": "SELECT frameVersion, COUNT(*) AS total, COUNT(*) FILTER (WHERE convertedManaCost = 0) AS zero_cost FROM main.cards GROUP BY frameVersion" + }, + "result": { + "content": [ + { + "type": "text", + "text": "5 row(s):\nResult coverage: fetched_rows=5; displayed_rows=5; fetch_truncated=false; display_truncated=false; sql_rewritten=true; query_timeout_enforced=true; query_timeout_scope=sqlite_vm. Counts refer to the executed SQL, not the source table size.\nObserved value types (displayed rows): frameVersion=str; total=int; zero_cost=int\nframeVersion | total | zero_cost\n--- | --- | ---\n1993 | 5510 | 577\n1997 | 9257 | 1032\n2003 | 16462 | 2351\n2015 | 25500 | 3359\nfuture | 93 | 8\nSQL: SELECT frameVersion, COUNT(*) AS total, COUNT(*) FILTER (WHERE convertedManaCost = 0) AS zero_cost FROM main.cards GROUP BY frameVersion\nLIMIT 1000" + } + ], + "structured_content": null + }, + "error": null, + "status": "completed" + }, + { + "id": "item_4", + "type": "mcp_tool_call", + "server": "lang2sql", + "tool": "resolve_business_terms", + "arguments": { + "terms": [] + }, + "result": { + "content": [ + { + "type": "text", + "text": "{\"definition_check_id\": \"g0k4Z8huSFdHct95IIEjjNeAGezWg-zzR8uTOicDhEE\", \"definitions\": [], \"instruction\": \"For oracle_view the operator has confirmed the contract: call run_sql with this definition_check_id, period_start and exclusive period_end, without sql. An explicit calendar year/month is sufficient to derive these dates. Ask only if the period or business meaning is actually unclear. For text definitions use SQL. Discover schema and use qualified table names before run_sql. A receipt is not proof of SQL semantic correctness.\"}" + } + ], + "structured_content": null + }, + "error": null, + "status": "completed" + }, + { + "id": "item_5", + "type": "mcp_tool_call", + "server": "lang2sql", + "tool": "run_sql", + "arguments": { + "definition_check_id": "g0k4Z8huSFdHct95IIEjjNeAGezWg-zzR8uTOicDhEE", + "expected_columns": [ + "frameVersion", + "card_count" + ], + "sql": "WITH eligible_frames AS (\n SELECT\n frameVersion,\n COUNT(*) AS card_count,\n CASE frameVersion\n WHEN 'future' THEN 2007\n WHEN '2015' THEN 2014\n ELSE CAST(frameVersion AS INTEGER)\n END AS introduction_year\n FROM main.cards\n GROUP BY frameVersion\n HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0\n)\nSELECT frameVersion, card_count\nFROM eligible_frames\nWHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames)\nORDER BY frameVersion\nLIMIT 1000" + }, + "result": { + "content": [ + { + "type": "text", + "text": "1 row(s):\nOutput columns validated (projection only).\nResult coverage: fetched_rows=1; displayed_rows=1; fetch_truncated=false; display_truncated=false; sql_rewritten=false; query_timeout_enforced=true; query_timeout_scope=sqlite_vm. Counts refer to the executed SQL, not the source table size.\nObserved value types (displayed rows): frameVersion=str; card_count=int\nframeVersion | card_count\n--- | ---\n2015 | 25500\nSQL: WITH eligible_frames AS (\n SELECT\n frameVersion,\n COUNT(*) AS card_count,\n CASE frameVersion\n WHEN 'future' THEN 2007\n WHEN '2015' THEN 2014\n ELSE CAST(frameVersion AS INTEGER)\n END AS introduction_year\n FROM main.cards\n GROUP BY frameVersion\n HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0\n)\nSELECT frameVersion, card_count\nFROM eligible_frames\nWHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames)\nORDER BY frameVersion\nLIMIT 1000" + } + ], + "structured_content": null + }, + "error": null, + "status": "completed" + } + ], + "answer": "```sql\nWITH eligible_frames AS (\n SELECT\n frameVersion,\n COUNT(*) AS card_count,\n CASE frameVersion\n WHEN 'future' THEN 2007\n WHEN '2015' THEN 2014\n ELSE CAST(frameVersion AS INTEGER)\n END AS introduction_year\n FROM main.cards\n GROUP BY frameVersion\n HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0\n)\nSELECT frameVersion, card_count\nFROM eligible_frames\nWHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames)\nORDER BY frameVersion\nLIMIT 1000\n```", + "event_parse_errors": [], + "rows": 1, + "sql": "WITH eligible_frames AS (\n SELECT\n frameVersion,\n COUNT(*) AS card_count,\n CASE frameVersion\n WHEN 'future' THEN 2007\n WHEN '2015' THEN 2014\n ELSE CAST(frameVersion AS INTEGER)\n END AS introduction_year\n FROM main.cards\n GROUP BY frameVersion\n HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0\n)\nSELECT frameVersion, card_count\nFROM eligible_frames\nWHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames)\nORDER BY frameVersion\nLIMIT 1000", + "seconds": 32.08817324996926 + }, + "result": { + "columns": [ + "frameVersion", + "card_count" + ], + "row_count": 1, + "preview": [ + [ + "2015", + "25500" + ] + ], + "preview_truncated": false, + "csv_sha256": "3d3c6c978944123019b39b78d8ad6a05598689aa1c0b31449a2c58ea9cca79bc" + } + } + } + ] +} diff --git a/bench/accuracy/mcp-review-results/card-frame-document/comparison/index.html b/bench/accuracy/mcp-review-results/card-frame-document/comparison/index.html new file mode 100644 index 00000000..e8fd6396 --- /dev/null +++ b/bench/accuracy/mcp-review-results/card-frame-document/comparison/index.html @@ -0,0 +1,399 @@ +Lang2SQL trace comparison

Lang2SQL trace comparison

Recorded score transitions on matched selected cases only; not full accuracy or proof of causality. CSV previews are text, not native SQL types. No semantic failure cause is inferred automatically.
{
+  "0 -> 1": 1
+}
Provenance and settings
[
+  {
+    "path": "/Users/seyoung/workspace/benchmarks/codex-mcp-bird-full-context-validation-20261127/checkpoints/001/bird",
+    "manifest_sha256": "38183dca92fc36dd6b2ce180292bf2639e874b9a1f6ea059ee1fd04b2ef0d00e",
+    "scores_sha256": "f911002a97ae59d92643d3e5c8ef8dfa7fd952c1053c2fc28b6ae3361f0093eb",
+    "settings": {
+      "profiles": [
+        {
+          "name": "codex-mcp",
+          "model": "gpt-6.2-astra",
+          "reasoning_effort": "high"
+        }
+      ],
+      "backend": "ChatGPT login -> Codex CLI -> production Lang2SQL MCP",
+      "revision": "0b6250ff917b23a2659dc96d722094ba7840778b",
+      "codex_version": "codex-cli 0.170.0",
+      "sources": {
+        "bench/accuracy/codex_mcp.py": "4812960452c27952ee3873575d97fb2dceaccafbdc57cca94afa3770f50297fc",
+        "src/lang2sql/frontends/mcp/server.py": "0836ca4631f321c3f3a2c7524e71f6f31e60ac77286633833af6810d3443ddcb"
+      },
+      "schema_document_sha256": "7f3a02f99f90eadd69974fe5f45ca5d4abf90a1549e4deb46ae24b0093bde9c6",
+      "case_selection": {
+        "split": "all",
+        "input_cases": 500,
+        "selected_cases": 500,
+        "expected_cases": 500
+      },
+      "review_source": null,
+      "failure_selection": null,
+      "split": "all",
+      "concurrency": 2,
+      "case_timeout": 600.0,
+      "sql_timeout": 30,
+      "max_rows": 100000,
+      "api_calls": null,
+      "usage_unit": "one Codex CLI invocation per question; internal model-call count unavailable"
+    }
+  },
+  {
+    "path": "/Users/seyoung/workspace/benchmarks/codex-mcp-card-frame-document-20261127/bird-gpt-6.2-astra",
+    "manifest_sha256": "35a36ec42a61dc3646e36848fb381bbd1c1db67219135b74c960f75213624cb3",
+    "scores_sha256": "04047cd2c5856294de9fdc45fd2802826cce134bbf1e7270cb438d6f48807c68",
+    "settings": {
+      "profiles": [
+        {
+          "name": "codex-mcp",
+          "model": "gpt-6.2-astra",
+          "reasoning_effort": "high"
+        }
+      ],
+      "backend": "ChatGPT login -> Codex CLI -> production Lang2SQL MCP",
+      "revision": "c0b5ff54b3edce5b02d405e042eda9a34832e03f",
+      "codex_version": "codex-cli 0.170.0",
+      "sources": {
+        "bench/accuracy/codex_mcp.py": "4812960452c27952ee3873575d97fb2dceaccafbdc57cca94afa3770f50297fc",
+        "src/lang2sql/frontends/mcp/server.py": "0836ca4631f321c3f3a2c7524e71f6f31e60ac77286633833af6810d3443ddcb"
+      },
+      "schema_document_sha256": "68be30a7d9e1101d2373ecbf23966200e9cb0a13fb7fa48a3a6eac267e860d67",
+      "case_selection": {
+        "split": "all",
+        "input_cases": 1,
+        "selected_cases": 1,
+        "expected_cases": 1
+      },
+      "review_source": null,
+      "failure_selection": null,
+      "split": "all",
+      "concurrency": 1,
+      "case_timeout": 600.0,
+      "sql_timeout": 30,
+      "max_rows": 100000,
+      "api_calls": null,
+      "usage_unit": "one Codex CLI invocation per question; internal model-call count unavailable"
+    }
+  }
+]
bird069: 0 -> 1
{
+  "instance_id": "bird069",
+  "db": "card_games",
+  "question": "I'm putting together a showcase of zero-mana-cost cards. What is the newest frame version used by any card with a converted mana cost of 0? Please give me that frame version value, and the number of cards in the database that use that frame version. The count should cover all cards in the database, not just the zero-cost ones. If several frame versions tie as the newest, give me each of them with its own count.",
+  "evidence": "Frame version: the edition of the card frame style a printing uses."
+}

SQL diff

--- before.sql
++++ after.sql
+@@ -0,0 +1,18 @@
++WITH eligible_frames AS (
++    SELECT
++        frameVersion,
++        COUNT(*) AS card_count,
++        CASE frameVersion
++            WHEN 'future' THEN 2007
++            WHEN '2015' THEN 2014
++            ELSE CAST(frameVersion AS INTEGER)
++        END AS introduction_year
++    FROM main.cards
++    GROUP BY frameVersion
++    HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0
++)
++SELECT frameVersion, card_count
++FROM eligible_frames
++WHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames)
++ORDER BY frameVersion
++LIMIT 1000

before: score 0

{
+  "status": "failed",
+  "error_type": "ValueError",
+  "error_message": "Final answer must contain exactly one SQL block; no last-tool fallback",
+  "seconds": 36.43735241598915
+}

Final SQL / answer

How should `future` rank against `2015`? Both appear on zero-cost cards, and the supplied documentation lists the frame labels without defining their chronological order.

Result preview (up to 20 rows; full row count below)

null
Every MCP call: arguments and results
[
+  {
+    "id": "item_1",
+    "type": "mcp_tool_call",
+    "server": "lang2sql",
+    "tool": "resolve_business_terms",
+    "arguments": {
+      "terms": []
+    },
+    "result": {
+      "content": [
+        {
+          "type": "text",
+          "text": "{\"definition_check_id\": \"efsaZwJcXX82AtL3OSR49c0nfIgYclxg7W81bqIb-xk\", \"definitions\": [], \"instruction\": \"For oracle_view the operator has confirmed the contract: call run_sql with this definition_check_id, period_start and exclusive period_end, without sql. An explicit calendar year/month is sufficient to derive these dates. Ask only if the period or business meaning is actually unclear. For text definitions use SQL. Discover schema and use qualified table names before run_sql. A receipt is not proof of SQL semantic correctness.\"}"
+        }
+      ],
+      "structured_content": null
+    },
+    "error": null,
+    "status": "completed"
+  },
+  {
+    "id": "item_2",
+    "type": "mcp_tool_call",
+    "server": "lang2sql",
+    "tool": "resolve_business_terms",
+    "arguments": {
+      "terms": [
+        "newest frame version"
+      ]
+    },
+    "result": {
+      "content": [
+        {
+          "type": "text",
+          "text": "DEFINITION_REQUIRED: No confirmed definition in this scope for: [\"newest frame version\"]. SQL was NOT executed. Ask the user for the exact business definition and intended team/org/user scope. Do not infer a definition or register a guessed definition. After explicit user clarification, stage the definition with context_candidates. An operator must approve it before you resolve_business_terms again."
+        }
+      ],
+      "structured_content": null
+    },
+    "error": null,
+    "status": "failed"
+  },
+  {
+    "id": "item_3",
+    "type": "mcp_tool_call",
+    "server": "lang2sql",
+    "tool": "explore_schema",
+    "arguments": {
+      "table": "cards"
+    },
+    "result": {
+      "content": [
+        {
+          "type": "text",
+          "text": "cards (table)\n- id: INTEGER NOT NULL\n- artist: TEXT\n- asciiName: TEXT\n- availability: TEXT\n- borderColor: TEXT\n- cardKingdomFoilId: TEXT\n- cardKingdomId: TEXT\n- colorIdentity: TEXT\n- colorIndicator: TEXT\n- colors: TEXT\n- convertedManaCost: REAL\n- duelDeck: TEXT\n- edhrecRank: INTEGER\n- faceConvertedManaCost: REAL\n- faceName: TEXT\n- flavorName: TEXT\n- flavorText: TEXT\n- frameEffects: TEXT\n- frameVersion: TEXT\n- hand: TEXT\n- hasAlternativeDeckLimit: INTEGER NOT NULL\n- hasContentWarning: INTEGER NOT NULL\n- hasFoil: INTEGER NOT NULL\n- hasNonFoil: INTEGER NOT NULL\n- isAlternative: INTEGER NOT NULL\n- isFullArt: INTEGER NOT NULL\n- isOnlineOnly: INTEGER NOT NULL\n- isOversized: INTEGER NOT NULL\n- isPromo: INTEGER NOT NULL\n- isReprint: INTEGER NOT NULL\n- isReserved: INTEGER NOT NULL\n- isStarter: INTEGER NOT NULL\n- isStorySpotlight: INTEGER NOT NULL\n- isTextless: INTEGER NOT NULL\n- isTimeshifted: INTEGER NOT NULL\n- keywords: TEXT\n- layout: TEXT\n- leadershipSkills: TEXT\n- life: TEXT\n- loyalty: TEXT\n- manaCost: TEXT\n- mcmId: TEXT\n- mcmMetaId: TEXT\n- mtgArenaId: TEXT\n- mtgjsonV4Id: TEXT\n- mtgoFoilId: TEXT\n- mtgoId: TEXT\n- multiverseId: TEXT\n- name: TEXT\n- number: TEXT\n- originalReleaseDate: TEXT\n- originalText: TEXT\n- originalType: TEXT\n- otherFaceIds: TEXT\n- power: TEXT\n- printings: TEXT\n- promoTypes: TEXT\n- purchaseUrls: TEXT\n- rarity: TEXT\n- scryfallId: TEXT\n- scryfallIllustrationId: TEXT\n- scryfallOracleId: TEXT\n- setCode: TEXT\n- side: TEXT\n- subtypes: TEXT\n- supertypes: TEXT\n- tcgplayerProductId: TEXT\n- text: TEXT\n- toughness: TEXT\n- type: TEXT\n- types: TEXT\n- uuid: TEXT NOT NULL\n- variations: TEXT\n- watermark: TEXT\nPRIMARY KEY (id)"
+        }
+      ],
+      "structured_content": null
+    },
+    "error": null,
+    "status": "completed"
+  },
+  {
+    "id": "item_4",
+    "type": "mcp_tool_call",
+    "server": "lang2sql",
+    "tool": "run_sql",
+    "arguments": {
+      "definition_check_id": "efsaZwJcXX82AtL3OSR49c0nfIgYclxg7W81bqIb-xk",
+      "sql": "SELECT frameVersion, COUNT(*) AS cards, COUNT(CASE WHEN convertedManaCost = 0 THEN 1 END) AS zero_cost_cards\nFROM main.cards\nGROUP BY frameVersion;"
+    },
+    "result": {
+      "content": [
+        {
+          "type": "text",
+          "text": "DEFINITION_REQUIRED: Resolve definitions before every SQL execution; missing, invalid or already-used check. SQL was NOT executed. Ask the user for the exact business definition and intended team/org/user scope. Do not infer a definition or register a guessed definition. After explicit user clarification, stage the definition with context_candidates. An operator must approve it before you resolve_business_terms again."
+        }
+      ],
+      "structured_content": null
+    },
+    "error": null,
+    "status": "failed"
+  },
+  {
+    "id": "item_5",
+    "type": "mcp_tool_call",
+    "server": "lang2sql",
+    "tool": "resolve_business_terms",
+    "arguments": {
+      "terms": []
+    },
+    "result": {
+      "content": [
+        {
+          "type": "text",
+          "text": "{\"definition_check_id\": \"R0AXfcIonwD1vymuzxmJ6y-5lwSYfnT7-JB07kS49bE\", \"definitions\": [], \"instruction\": \"For oracle_view the operator has confirmed the contract: call run_sql with this definition_check_id, period_start and exclusive period_end, without sql. An explicit calendar year/month is sufficient to derive these dates. Ask only if the period or business meaning is actually unclear. For text definitions use SQL. Discover schema and use qualified table names before run_sql. A receipt is not proof of SQL semantic correctness.\"}"
+        }
+      ],
+      "structured_content": null
+    },
+    "error": null,
+    "status": "completed"
+  },
+  {
+    "id": "item_6",
+    "type": "mcp_tool_call",
+    "server": "lang2sql",
+    "tool": "run_sql",
+    "arguments": {
+      "definition_check_id": "R0AXfcIonwD1vymuzxmJ6y-5lwSYfnT7-JB07kS49bE",
+      "sql": "SELECT frameVersion, COUNT(*) AS cards, COUNT(CASE WHEN convertedManaCost = 0 THEN 1 END) AS zero_cost_cards\nFROM main.cards\nGROUP BY frameVersion;"
+    },
+    "result": {
+      "content": [
+        {
+          "type": "text",
+          "text": "5 row(s):\nResult coverage: fetched_rows=5; displayed_rows=5; fetch_truncated=false; display_truncated=false; sql_rewritten=true; query_timeout_enforced=true; query_timeout_scope=sqlite_vm. Counts refer to the executed SQL, not the source table size.\nObserved value types (displayed rows): frameVersion=str; cards=int; zero_cost_cards=int\nframeVersion | cards | zero_cost_cards\n--- | --- | ---\n1993 | 5510 | 577\n1997 | 9257 | 1032\n2003 | 16462 | 2351\n2015 | 25500 | 3359\nfuture | 93 | 8\nSQL: SELECT frameVersion, COUNT(*) AS cards, COUNT(CASE WHEN convertedManaCost = 0 THEN 1 END) AS zero_cost_cards\nFROM main.cards\nGROUP BY frameVersion\nLIMIT 1000"
+        }
+      ],
+      "structured_content": null
+    },
+    "error": null,
+    "status": "completed"
+  },
+  {
+    "id": "item_7",
+    "type": "mcp_tool_call",
+    "server": "lang2sql",
+    "tool": "resolve_business_terms",
+    "arguments": {
+      "terms": [
+        "frame version",
+        "frame version ordering"
+      ]
+    },
+    "result": {
+      "content": [
+        {
+          "type": "text",
+          "text": "DEFINITION_REQUIRED: No confirmed definition in this scope for: [\"frame version\", \"frame version ordering\"]. SQL was NOT executed. Ask the user for the exact business definition and intended team/org/user scope. Do not infer a definition or register a guessed definition. After explicit user clarification, stage the definition with context_candidates. An operator must approve it before you resolve_business_terms again."
+        }
+      ],
+      "structured_content": null
+    },
+    "error": null,
+    "status": "failed"
+  }
+]

after: score 1

{
+  "status": "predicted",
+  "error_type": null,
+  "error_message": null,
+  "seconds": 32.08817324996926
+}

Final SQL / answer

WITH eligible_frames AS (
+    SELECT
+        frameVersion,
+        COUNT(*) AS card_count,
+        CASE frameVersion
+            WHEN 'future' THEN 2007
+            WHEN '2015' THEN 2014
+            ELSE CAST(frameVersion AS INTEGER)
+        END AS introduction_year
+    FROM main.cards
+    GROUP BY frameVersion
+    HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0
+)
+SELECT frameVersion, card_count
+FROM eligible_frames
+WHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames)
+ORDER BY frameVersion
+LIMIT 1000

Result preview (up to 20 rows; full row count below)

{
+  "columns": [
+    "frameVersion",
+    "card_count"
+  ],
+  "row_count": 1,
+  "preview": [
+    [
+      "2015",
+      "25500"
+    ]
+  ],
+  "preview_truncated": false,
+  "csv_sha256": "3d3c6c978944123019b39b78d8ad6a05598689aa1c0b31449a2c58ea9cca79bc"
+}
Every MCP call: arguments and results
[
+  {
+    "id": "item_1",
+    "type": "mcp_tool_call",
+    "server": "lang2sql",
+    "tool": "explore_schema",
+    "arguments": {
+      "table": "cards"
+    },
+    "result": {
+      "content": [
+        {
+          "type": "text",
+          "text": "cards (table)\n- id: INTEGER NOT NULL\n- artist: TEXT\n- asciiName: TEXT\n- availability: TEXT\n- borderColor: TEXT\n- cardKingdomFoilId: TEXT\n- cardKingdomId: TEXT\n- colorIdentity: TEXT\n- colorIndicator: TEXT\n- colors: TEXT\n- convertedManaCost: REAL\n- duelDeck: TEXT\n- edhrecRank: INTEGER\n- faceConvertedManaCost: REAL\n- faceName: TEXT\n- flavorName: TEXT\n- flavorText: TEXT\n- frameEffects: TEXT\n- frameVersion: TEXT\n- hand: TEXT\n- hasAlternativeDeckLimit: INTEGER NOT NULL\n- hasContentWarning: INTEGER NOT NULL\n- hasFoil: INTEGER NOT NULL\n- hasNonFoil: INTEGER NOT NULL\n- isAlternative: INTEGER NOT NULL\n- isFullArt: INTEGER NOT NULL\n- isOnlineOnly: INTEGER NOT NULL\n- isOversized: INTEGER NOT NULL\n- isPromo: INTEGER NOT NULL\n- isReprint: INTEGER NOT NULL\n- isReserved: INTEGER NOT NULL\n- isStarter: INTEGER NOT NULL\n- isStorySpotlight: INTEGER NOT NULL\n- isTextless: INTEGER NOT NULL\n- isTimeshifted: INTEGER NOT NULL\n- keywords: TEXT\n- layout: TEXT\n- leadershipSkills: TEXT\n- life: TEXT\n- loyalty: TEXT\n- manaCost: TEXT\n- mcmId: TEXT\n- mcmMetaId: TEXT\n- mtgArenaId: TEXT\n- mtgjsonV4Id: TEXT\n- mtgoFoilId: TEXT\n- mtgoId: TEXT\n- multiverseId: TEXT\n- name: TEXT\n- number: TEXT\n- originalReleaseDate: TEXT\n- originalText: TEXT\n- originalType: TEXT\n- otherFaceIds: TEXT\n- power: TEXT\n- printings: TEXT\n- promoTypes: TEXT\n- purchaseUrls: TEXT\n- rarity: TEXT\n- scryfallId: TEXT\n- scryfallIllustrationId: TEXT\n- scryfallOracleId: TEXT\n- setCode: TEXT\n- side: TEXT\n- subtypes: TEXT\n- supertypes: TEXT\n- tcgplayerProductId: TEXT\n- text: TEXT\n- toughness: TEXT\n- type: TEXT\n- types: TEXT\n- uuid: TEXT NOT NULL\n- variations: TEXT\n- watermark: TEXT\nPRIMARY KEY (id)"
+        }
+      ],
+      "structured_content": null
+    },
+    "error": null,
+    "status": "completed"
+  },
+  {
+    "id": "item_2",
+    "type": "mcp_tool_call",
+    "server": "lang2sql",
+    "tool": "resolve_business_terms",
+    "arguments": {
+      "terms": []
+    },
+    "result": {
+      "content": [
+        {
+          "type": "text",
+          "text": "{\"definition_check_id\": \"bNn9kqljbgP1aAf6YsraX68jFxsulWYRoRIWqBoy7UI\", \"definitions\": [], \"instruction\": \"For oracle_view the operator has confirmed the contract: call run_sql with this definition_check_id, period_start and exclusive period_end, without sql. An explicit calendar year/month is sufficient to derive these dates. Ask only if the period or business meaning is actually unclear. For text definitions use SQL. Discover schema and use qualified table names before run_sql. A receipt is not proof of SQL semantic correctness.\"}"
+        }
+      ],
+      "structured_content": null
+    },
+    "error": null,
+    "status": "completed"
+  },
+  {
+    "id": "item_3",
+    "type": "mcp_tool_call",
+    "server": "lang2sql",
+    "tool": "run_sql",
+    "arguments": {
+      "definition_check_id": "bNn9kqljbgP1aAf6YsraX68jFxsulWYRoRIWqBoy7UI",
+      "sql": "SELECT frameVersion, COUNT(*) AS total, COUNT(*) FILTER (WHERE convertedManaCost = 0) AS zero_cost FROM main.cards GROUP BY frameVersion"
+    },
+    "result": {
+      "content": [
+        {
+          "type": "text",
+          "text": "5 row(s):\nResult coverage: fetched_rows=5; displayed_rows=5; fetch_truncated=false; display_truncated=false; sql_rewritten=true; query_timeout_enforced=true; query_timeout_scope=sqlite_vm. Counts refer to the executed SQL, not the source table size.\nObserved value types (displayed rows): frameVersion=str; total=int; zero_cost=int\nframeVersion | total | zero_cost\n--- | --- | ---\n1993 | 5510 | 577\n1997 | 9257 | 1032\n2003 | 16462 | 2351\n2015 | 25500 | 3359\nfuture | 93 | 8\nSQL: SELECT frameVersion, COUNT(*) AS total, COUNT(*) FILTER (WHERE convertedManaCost = 0) AS zero_cost FROM main.cards GROUP BY frameVersion\nLIMIT 1000"
+        }
+      ],
+      "structured_content": null
+    },
+    "error": null,
+    "status": "completed"
+  },
+  {
+    "id": "item_4",
+    "type": "mcp_tool_call",
+    "server": "lang2sql",
+    "tool": "resolve_business_terms",
+    "arguments": {
+      "terms": []
+    },
+    "result": {
+      "content": [
+        {
+          "type": "text",
+          "text": "{\"definition_check_id\": \"g0k4Z8huSFdHct95IIEjjNeAGezWg-zzR8uTOicDhEE\", \"definitions\": [], \"instruction\": \"For oracle_view the operator has confirmed the contract: call run_sql with this definition_check_id, period_start and exclusive period_end, without sql. An explicit calendar year/month is sufficient to derive these dates. Ask only if the period or business meaning is actually unclear. For text definitions use SQL. Discover schema and use qualified table names before run_sql. A receipt is not proof of SQL semantic correctness.\"}"
+        }
+      ],
+      "structured_content": null
+    },
+    "error": null,
+    "status": "completed"
+  },
+  {
+    "id": "item_5",
+    "type": "mcp_tool_call",
+    "server": "lang2sql",
+    "tool": "run_sql",
+    "arguments": {
+      "definition_check_id": "g0k4Z8huSFdHct95IIEjjNeAGezWg-zzR8uTOicDhEE",
+      "expected_columns": [
+        "frameVersion",
+        "card_count"
+      ],
+      "sql": "WITH eligible_frames AS (\n    SELECT\n        frameVersion,\n        COUNT(*) AS card_count,\n        CASE frameVersion\n            WHEN 'future' THEN 2007\n            WHEN '2015' THEN 2014\n            ELSE CAST(frameVersion AS INTEGER)\n        END AS introduction_year\n    FROM main.cards\n    GROUP BY frameVersion\n    HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0\n)\nSELECT frameVersion, card_count\nFROM eligible_frames\nWHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames)\nORDER BY frameVersion\nLIMIT 1000"
+    },
+    "result": {
+      "content": [
+        {
+          "type": "text",
+          "text": "1 row(s):\nOutput columns validated (projection only).\nResult coverage: fetched_rows=1; displayed_rows=1; fetch_truncated=false; display_truncated=false; sql_rewritten=false; query_timeout_enforced=true; query_timeout_scope=sqlite_vm. Counts refer to the executed SQL, not the source table size.\nObserved value types (displayed rows): frameVersion=str; card_count=int\nframeVersion | card_count\n--- | ---\n2015 | 25500\nSQL: WITH eligible_frames AS (\n    SELECT\n        frameVersion,\n        COUNT(*) AS card_count,\n        CASE frameVersion\n            WHEN 'future' THEN 2007\n            WHEN '2015' THEN 2014\n            ELSE CAST(frameVersion AS INTEGER)\n        END AS introduction_year\n    FROM main.cards\n    GROUP BY frameVersion\n    HAVING COUNT(*) FILTER (WHERE convertedManaCost = 0) > 0\n)\nSELECT frameVersion, card_count\nFROM eligible_frames\nWHERE introduction_year = (SELECT MAX(introduction_year) FROM eligible_frames)\nORDER BY frameVersion\nLIMIT 1000"
+        }
+      ],
+      "structured_content": null
+    },
+    "error": null,
+    "status": "completed"
+  }
+]
\ No newline at end of file diff --git a/bench/accuracy/mcp-review-results/card-frame-document/manifest.json b/bench/accuracy/mcp-review-results/card-frame-document/manifest.json new file mode 100644 index 00000000..5f107855 --- /dev/null +++ b/bench/accuracy/mcp-review-results/card-frame-document/manifest.json @@ -0,0 +1,533 @@ +{ + "benchmark": "BIRD Mini-Dev SQLite 500 (2026-10-25)", + "upstream_commit": "5b256b5a9c17478f06ed6912612e9a14d17065c8", + "question_file_sha256": "926af2a0d1b47e5d0d15a7aa8a34d4721007f4550a881555b6a89496b54a2606", + "evaluator_sha256": "da1bbcd4530be83692d7c650c814ea9704bb710d0c953eb75d02ccb38233cf89", + "cases": [ + { + "instance_id": "bird069", + "db": "card_games", + "question": "I'm putting together a showcase of zero-mana-cost cards. What is the newest frame version used by any card with a converted mana cost of 0? Please give me that frame version value, and the number of cards in the database that use that frame version. The count should cover all cards in the database, not just the zero-cost ones. If several frame versions tie as the newest, give me each of them with its own count.", + "evidence": "Frame version: the edition of the card frame style a printing uses." + } + ], + "db_sha256": { + "california_schools": "c0903eec662e63068fd1d14403d3d6c1d473287fc10c4356333ea58f878db983", + "card_games": "c98bdb57fe7474da798b407785544b9af0daaad5d61fd21e2a73309493bc1227", + "codebase_community": "92101be6d2a9f6adceea59d38f6d1c556087f9eea1432432a21268cb1348036d", + "debit_card_specializing": "b3d149ad05746dbbe5116e229e17e18f09c39db43cf117d9ef3441753608b691", + "european_football_2": "f72f5c9b990371417288a67b27a02e601ef904d45525c2c9f7931fb01001c536", + "financial": "d15d89cdb068a202b6f2b99342af44dffc1d52545b39ceaf62efdc0ba570101e", + "formula_1": "79770caf966707e35516fa566e24b40ae515c74ec1ec4631235245645b87b24d", + "student_club": "eb89bcfe97eefa386a27904ec5aa15159811a7eac894ec659a36e48fa9f76b77", + "superhero": "75e94a2c3236ee3bb2c01fb97a1c4b4c1c269bcefd4eab1d04be323d2d0825b1", + "thrombosis_prediction": "87583183c3dc472fba04de702965560a9d7c0a548836613f242317e0eeb83f00", + "toxicology": "4df4094208e0799d5e5f0e2b5bc5c415cf87b1208ebaf8f4c14c7af445b682c5" + }, + "suite": "bird", + "development_ids": [ + "bird058", + "bird024", + "bird451", + "bird229", + "bird146", + "bird389", + "bird152", + "bird353", + "bird064", + "bird087", + "bird260", + "bird449", + "bird249", + "bird470", + "bird379", + "bird179", + "bird036", + "bird429", + "bird459", + "bird423" + ], + "holdout_ids": [ + "bird023", + "bird238", + "bird358", + "bird324", + "bird155", + "bird267", + "bird110", + "bird192", + "bird226", + "bird365", + "bird128", + "bird381", + "bird305", + "bird408", + "bird001", + "bird413", + "bird120", + "bird432", + "bird160", + "bird027", + "bird199", + "bird095", + "bird407", + "bird091", + "bird489", + "bird209", + "bird194", + "bird313", + "bird015", + "bird051", + "bird270", + "bird130", + "bird427", + "bird167", + "bird360", + "bird061", + "bird450", + "bird097", + "bird032", + "bird341", + "bird006", + "bird156", + "bird471", + "bird119", + "bird369", + "bird256", + "bird057", + "bird222", + "bird361", + "bird205", + "bird356", + "bird279", + "bird412", + "bird488", + "bird496", + "bird295", + "bird404", + "bird390", + "bird417", + "bird440", + "bird211", + "bird487", + "bird005", + "bird299", + "bird397", + "bird346", + "bird315", + "bird484", + "bird472", + "bird162", + "bird428", + "bird254", + "bird349", + "bird017", + "bird446", + "bird232", + "bird236", + "bird071", + "bird063", + "bird244", + "bird062", + "bird157", + "bird480", + "bird185", + "bird248", + "bird463", + "bird035", + "bird345", + "bird088", + "bird072", + "bird443", + "bird135", + "bird474", + "bird275", + "bird495", + "bird148", + "bird444", + "bird331", + "bird060", + "bird431", + "bird416", + "bird117", + "bird410", + "bird079", + "bird326", + "bird105", + "bird436", + "bird383", + "bird139", + "bird350", + "bird182", + "bird485", + "bird132", + "bird245", + "bird424", + "bird292", + "bird098", + "bird030", + "bird329", + "bird430", + "bird191", + "bird455", + "bird434", + "bird348", + "bird026", + "bird011", + "bird089", + "bird212", + "bird103", + "bird083", + "bird008", + "bird074", + "bird050", + "bird106", + "bird259", + "bird376", + "bird067", + "bird193", + "bird055", + "bird044", + "bird264", + "bird198", + "bird003", + "bird075", + "bird380", + "bird033", + "bird025", + "bird301", + "bird196", + "bird114", + "bird077", + "bird303", + "bird204", + "bird366", + "bird240", + "bird123", + "bird195", + "bird333", + "bird158", + "bird112", + "bird469", + "bird493", + "bird368", + "bird306", + "bird462", + "bird490", + "bird285", + "bird246", + "bird373", + "bird273", + "bird289", + "bird276", + "bird168", + "bird342", + "bird492", + "bird387", + "bird337", + "bird189", + "bird184", + "bird401", + "bird352", + "bird200", + "bird280", + "bird002", + "bird048", + "bird186", + "bird174", + "bird498", + "bird141", + "bird239", + "bird039", + "bird216", + "bird022", + "bird332", + "bird294", + "bird045", + "bird169", + "bird172", + "bird040", + "bird242", + "bird107", + "bird250", + "bird382", + "bird491", + "bird347", + "bird076", + "bird497", + "bird116", + "bird374", + "bird262", + "bird453", + "bird171", + "bird043", + "bird217", + "bird178", + "bird257", + "bird386", + "bird396", + "bird181", + "bird439", + "bird419", + "bird415", + "bird111", + "bird164", + "bird414", + "bird406", + "bird296", + "bird101", + "bird409", + "bird251", + "bird118", + "bird268", + "bird086", + "bird010", + "bird056", + "bird127", + "bird210", + "bird122", + "bird161", + "bird367", + "bird218", + "bird457", + "bird144", + "bird372", + "bird286", + "bird370", + "bird154", + "bird124", + "bird084", + "bird177", + "bird099", + "bird143", + "bird435", + "bird402", + "bird336", + "bird479", + "bird125", + "bird290", + "bird335", + "bird094", + "bird300", + "bird482", + "bird466", + "bird214", + "bird281", + "bird392", + "bird082", + "bird233", + "bird013", + "bird478", + "bird153", + "bird420", + "bird477", + "bird096", + "bird258", + "bird247", + "bird494", + "bird351", + "bird344", + "bird081", + "bird241", + "bird473", + "bird355", + "bird049", + "bird384", + "bird037", + "bird145", + "bird377", + "bird224", + "bird481", + "bird009", + "bird159", + "bird411", + "bird421", + "bird458", + "bird448", + "bird029", + "bird137", + "bird163", + "bird134", + "bird225", + "bird468", + "bird034", + "bird080", + "bird271", + "bird100", + "bird263", + "bird325", + "bird398", + "bird093", + "bird452", + "bird066", + "bird031", + "bird287", + "bird007", + "bird235", + "bird312", + "bird340", + "bird362", + "bird028", + "bird019", + "bird298", + "bird138", + "bird418", + "bird359", + "bird046", + "bird113", + "bird230", + "bird073", + "bird202", + "bird070", + "bird433", + "bird265", + "bird322", + "bird021", + "bird314", + "bird311", + "bird394", + "bird004", + "bird391", + "bird140", + "bird425", + "bird321", + "bird282", + "bird221", + "bird183", + "bird228", + "bird078", + "bird467", + "bird012", + "bird147", + "bird197", + "bird109", + "bird266", + "bird316", + "bird283", + "bird378", + "bird483", + "bird441", + "bird085", + "bird310", + "bird475", + "bird297", + "bird261", + "bird388", + "bird339", + "bird170", + "bird447", + "bird129", + "bird486", + "bird136", + "bird052", + "bird375", + "bird288", + "bird456", + "bird165", + "bird476", + "bird219", + "bird338", + "bird499", + "bird059", + "bird255", + "bird464", + "bird302", + "bird357", + "bird142", + "bird393", + "bird328", + "bird215", + "bird042", + "bird284", + "bird277", + "bird102", + "bird272", + "bird020", + "bird307", + "bird330", + "bird304", + "bird442", + "bird253", + "bird000", + "bird454", + "bird363", + "bird223", + "bird047", + "bird220", + "bird231", + "bird400", + "bird465", + "bird385", + "bird309", + "bird206", + "bird445", + "bird461", + "bird317", + "bird237", + "bird399", + "bird422", + "bird460", + "bird175", + "bird318", + "bird108", + "bird069", + "bird068", + "bird092", + "bird173", + "bird234", + "bird090", + "bird014", + "bird151", + "bird213", + "bird018", + "bird133", + "bird187", + "bird269", + "bird131", + "bird203", + "bird308", + "bird180", + "bird054", + "bird405", + "bird395", + "bird364", + "bird121", + "bird371", + "bird293", + "bird038", + "bird426", + "bird252", + "bird104", + "bird190", + "bird188", + "bird354", + "bird201", + "bird207", + "bird437", + "bird291", + "bird334", + "bird274", + "bird065", + "bird403", + "bird278", + "bird126", + "bird176", + "bird208", + "bird053", + "bird150", + "bird320", + "bird323", + "bird115", + "bird327", + "bird166", + "bird149", + "bird438", + "bird041", + "bird343", + "bird319", + "bird016", + "bird227", + "bird243" + ], + "split_seed": 20261126 +} diff --git a/bench/accuracy/mcp-review-results/card-frame-document/protocol.json b/bench/accuracy/mcp-review-results/card-frame-document/protocol.json new file mode 100644 index 00000000..4b3b43ed --- /dev/null +++ b/bench/accuracy/mcp-review-results/card-frame-document/protocol.json @@ -0,0 +1,17 @@ +{ + "revision": "c0b5ff54b3edce5b02d405e042eda9a34832e03f", + "baseline": "/Users/seyoung/workspace/benchmarks/codex-mcp-bird-full-context-validation-20261127/checkpoints/001/bird", + "ids": [ + "bird069" + ], + "model": "gpt-6.2-astra/high", + "expected_cases": 1, + "production_source_tree_identical": true, + "condition": "Explicitly supplemental public-document context, not original BIRD metadata. Four cited primary-source summaries appended only to card_games.", + "input": "Original task and evidence; no prior answer, gold, grade, analyst SQL or DB-linkage audit. No live web access for the model.", + "limits": [ + "One currently failed case; not full accuracy.", + "Different input context means this is not an upstream baseline result.", + "Single attempt, no unchanged retry." + ] +} diff --git a/bench/accuracy/mcp-review-results/card-frame-document/settings.json b/bench/accuracy/mcp-review-results/card-frame-document/settings.json new file mode 100644 index 00000000..e478ebd4 --- /dev/null +++ b/bench/accuracy/mcp-review-results/card-frame-document/settings.json @@ -0,0 +1,32 @@ +{ + "profiles": [ + { + "name": "codex-mcp", + "model": "gpt-6.2-astra", + "reasoning_effort": "high" + } + ], + "backend": "ChatGPT login -> Codex CLI -> production Lang2SQL MCP", + "revision": "c0b5ff54b3edce5b02d405e042eda9a34832e03f", + "codex_version": "codex-cli 0.170.0", + "sources": { + "bench/accuracy/codex_mcp.py": "4812960452c27952ee3873575d97fb2dceaccafbdc57cca94afa3770f50297fc", + "src/lang2sql/frontends/mcp/server.py": "0836ca4631f321c3f3a2c7524e71f6f31e60ac77286633833af6810d3443ddcb" + }, + "schema_document_sha256": "68be30a7d9e1101d2373ecbf23966200e9cb0a13fb7fa48a3a6eac267e860d67", + "case_selection": { + "split": "all", + "input_cases": 1, + "selected_cases": 1, + "expected_cases": 1 + }, + "review_source": null, + "failure_selection": null, + "split": "all", + "concurrency": 1, + "case_timeout": 600.0, + "sql_timeout": 30, + "max_rows": 100000, + "api_calls": null, + "usage_unit": "one Codex CLI invocation per question; internal model-call count unavailable" +} diff --git a/bench/accuracy/mcp-review-results/card-frame-document/sha256.json b/bench/accuracy/mcp-review-results/card-frame-document/sha256.json new file mode 100644 index 00000000..01e88c0f --- /dev/null +++ b/bench/accuracy/mcp-review-results/card-frame-document/sha256.json @@ -0,0 +1,18 @@ +{ + "analysis.json": "99896ce25848466487df266392a275011d2fb477a23039d272db26970f9b0bfe", + "codex-mcp/csv/bird069.csv": "3d3c6c978944123019b39b78d8ad6a05598689aa1c0b31449a2c58ea9cca79bc", + "codex-mcp/events/bird069.answer.txt": "0af99e14fd9d32b141d61691fb21ef09a0a91f3eba53dc58f199568ceb1fbb09", + "codex-mcp/events/bird069.jsonl": "1985b9b493f6890c20c7c3ca858f51b097dcdef473986b46a5bc678049b08feb", + "codex-mcp/events/bird069.prompt.txt": "43e5f46bf069de068b5c7c15bfb1084dd4163cfcbb3d18673a66172363f8b1e3", + "codex-mcp/events/bird069.stderr": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "codex-mcp/records/bird069.json": "4b3e29431299ef31c05c9dea0b3c1bc65d7a95aab397e647700e649ed254c057", + "codex-mcp/scores.json": "04047cd2c5856294de9fdc45fd2802826cce134bbf1e7270cb438d6f48807c68", + "codex-mcp/sql/bird069.sql": "059a164416eff9b82ffc10d49cd97482d0a0eb899f652366f7b76603d9483a79", + "codex-mcp/status.json": "1e4941f230cba386b70f8793338652d997defd18a4fd7a506f3b2a57bf3c46ec", + "comparison/comparison.json": "9ff7db905a4ae8c98884dc11cab38e85ca24425fba8b4b30b3046ab1f4eee2f5", + "comparison/index.html": "51387f2b86f9d6e83c58e2b54a5c0dae5ebd94cff70b3a950561ffd9bdbc099e", + "manifest.json": "35a36ec42a61dc3646e36848fb381bbd1c1db67219135b74c960f75213624cb3", + "protocol.json": "8a88120463c2830b839f6bbb8f5cfc466aa0d0fdda1cea8451cb387b4f41af52", + "settings.json": "b8f18e89e58a9df6a57c3a8e3864fd91caddc87db45a0780c9046df6b540c39a", + "summary.json": "c2e70d4a98f94e810170577bdc4875048efc680796036987c763c95e565e03fd" +} diff --git a/bench/accuracy/mcp-review-results/card-frame-document/summary.json b/bench/accuracy/mcp-review-results/card-frame-document/summary.json new file mode 100644 index 00000000..6c4374a9 --- /dev/null +++ b/bench/accuracy/mcp-review-results/card-frame-document/summary.json @@ -0,0 +1,8 @@ +[ + { + "profile": "codex-mcp", + "correct": 1, + "total": 1, + "accuracy": 1.0 + } +]