{
  "format": "attestql/audit/counterexample/2",
  "question": {
    "question_id": "1029",
    "question_set": "questions",
    "question_text": "What are the speed in which attacks are put together of the top 4 teams with the highest build Up Play Speed?",
    "evidence_text": "speed in which attacks are put together refers to buildUpPlaySpeed;highest build up play speed refers to MAX(buildUpPlaySpeed)"
  },
  "question_set_version": "sha256:7ad58addc070b425cabfc9d67bbd9c95840253160cf3b73d672e9aeb4897f5ff",
  "sources": {
    "gold": {
      "path": "demo/questions.json",
      "digest": "sha256:7ad58addc070b425cabfc9d67bbd9c95840253160cf3b73d672e9aeb4897f5ff",
      "origin": null,
      "date": null
    },
    "second": {
      "path": "demo/predictions.json",
      "digest": "sha256:497ab56b10daa81359a51f3be419fe16e5b796b0cc33cb1aff6c24c9aa853780",
      "origin": null,
      "date": null
    }
  },
  "replay_rule": "R-ORD",
  "verdict": {
    "result": "not_equal",
    "mismatched": [],
    "reading": "NOT_EQUAL states that these two statements disagree on this data under this rule. It does not state which of them is wrong."
  },
  "bird_ex": {
    "value": 0,
    "equal": false,
    "method": "set(second_rows) == set(gold_rows), REAL cells as Python float as sqlite3 returns them, so Python equality holds 1 == 1.0 == True as the benchmark's own scorer does",
    "source": "https://github.com/bird-bench/mini_dev/blob/main/evaluation/evaluation_ex.py",
    "gold_rows": 4,
    "second_rows": 4,
    "gold_distinct_rows": 4,
    "second_distinct_rows": 4
  },
  "test_suite_ex": {
    "value": 0,
    "equal": false,
    "method": "result_eq: equal row counts and equal column counts, each row unordered as a quick rejection, then the two equal as a list when the gold text holds ORDER BY and as a multiset otherwise, under some permutation of the columns; DISTINCT is not stripped and re-executed, and the cells are SQLite's as sqlite3 returns them",
    "source": "ruiqi-zhong/test-suite-sql-eval, exec_eval.py, result_eq, at commit 48cb78ec: https://github.com/ruiqi-zhong/test-suite-sql-eval/blob/48cb78ecf7f610620206283846c76751b18a1326/exec_eval.py",
    "order_matters": true,
    "gold_rows": 4,
    "second_rows": 4,
    "gold_columns": 1,
    "second_columns": 1
  },
  "mechanism": {
    "class": "other",
    "gold_types": [
      "INTEGER"
    ],
    "second_types": [
      "INTEGER"
    ],
    "multiset_equal": false,
    "set_equal": false,
    "order_equal": false,
    "shorter_result_is_a_prefix": false,
    "reading": "The class states what makes these two results unequal under this rule, read off the two results and nothing else. It does not state which of the two statements is wrong."
  },
  "gold": {
    "executed_sql": "SELECT t1.buildUpPlaySpeed FROM Team_Attributes AS t1 INNER JOIN Team AS t2 ON t1.team_api_id = t2.team_api_id ORDER BY t1.buildUpPlaySpeed ASC LIMIT 4",
    "own_ordering": [
      {
        "expression": "t1.buildUpPlaySpeed",
        "descending": false,
        "nulls": "first"
      }
    ],
    "result": {
      "columns": [
        {
          "name": "buildupplayspeed",
          "declared_type": "INTEGER"
        }
      ],
      "row_count": 4,
      "truncated": false,
      "rows_shown": 4,
      "rows": [
        [
          {
            "type": "int",
            "value": 20
          }
        ],
        [
          {
            "type": "int",
            "value": 23
          }
        ],
        [
          {
            "type": "int",
            "value": 31
          }
        ],
        [
          {
            "type": "int",
            "value": 44
          }
        ]
      ],
      "result_hash": "sha256:8d975647a753e3980b6c60f43d0c5be69ccc5e1d95812a126b413ff3f7c9034b"
    },
    "record": "evidence-gold.json"
  },
  "second": {
    "executed_sql": "SELECT t1.buildUpPlaySpeed FROM Team_Attributes AS t1 INNER JOIN Team AS t2 ON t1.team_api_id = t2.team_api_id ORDER BY t1.buildUpPlaySpeed DESC LIMIT 4",
    "own_ordering": [
      {
        "expression": "t1.buildUpPlaySpeed",
        "descending": true,
        "nulls": "last"
      }
    ],
    "result": {
      "columns": [
        {
          "name": "buildupplayspeed",
          "declared_type": "INTEGER"
        }
      ],
      "row_count": 4,
      "truncated": false,
      "rows_shown": 4,
      "rows": [
        [
          {
            "type": "int",
            "value": 80
          }
        ],
        [
          {
            "type": "int",
            "value": 77
          }
        ],
        [
          {
            "type": "int",
            "value": 70
          }
        ],
        [
          {
            "type": "int",
            "value": 62
          }
        ]
      ],
      "result_hash": "sha256:946bfbe80492484efc15469782b3de7863c508f6cf64751f24a08c9969f48a06"
    },
    "record": "evidence-second.json"
  },
  "canonical_ordering": [
    {
      "column": "t1.buildUpPlaySpeed",
      "descending": false
    }
  ],
  "differing_rows": {
    "in_gold_not_in_second": [
      {
        "row": [
          {
            "type": "int",
            "value": 20
          }
        ],
        "count": 1
      },
      {
        "row": [
          {
            "type": "int",
            "value": 23
          }
        ],
        "count": 1
      },
      {
        "row": [
          {
            "type": "int",
            "value": 31
          }
        ],
        "count": 1
      },
      {
        "row": [
          {
            "type": "int",
            "value": 44
          }
        ],
        "count": 1
      }
    ],
    "in_gold_not_in_second_total": 4,
    "in_second_not_in_gold": [
      {
        "row": [
          {
            "type": "int",
            "value": 62
          }
        ],
        "count": 1
      },
      {
        "row": [
          {
            "type": "int",
            "value": 70
          }
        ],
        "count": 1
      },
      {
        "row": [
          {
            "type": "int",
            "value": 77
          }
        ],
        "count": 1
      },
      {
        "row": [
          {
            "type": "int",
            "value": 80
          }
        ],
        "count": 1
      }
    ],
    "in_second_not_in_gold_total": 4,
    "rows_shown_per_side": 25
  },
  "result_hashes": {
    "gold": "sha256:8d975647a753e3980b6c60f43d0c5be69ccc5e1d95812a126b413ff3f7c9034b",
    "second": "sha256:946bfbe80492484efc15469782b3de7863c508f6cf64751f24a08c9969f48a06"
  },
  "backend_identity": "SQLite 3.53.4 | file=/private/tmp/attestql-site-sandbox/demo/fixture.sqlite | size=69632",
  "fixture": {
    "schema_digest": "sha256:cde781704d8964f1f849b605020421757de5d35c6150b8507ce45948b9f69cb8",
    "row_counts": {
      "main.team": 10,
      "main.team_attributes": 10
    },
    "content_digests": {},
    "source_file_sha256": ""
  },
  "run_id": "audit-5ac1b5ac-ceba-418a-841e-577381666b11"
}
