{
  "format": "attestql/audit/counterexample/2",
  "question": {
    "question_id": "213",
    "question_set": "mini_dev_sqlite from https://bird-bench.oss-cn-beijing.aliyuncs.com/minidev.zip (sha256 cc48ba16838204e4e214512030cb572eeb5f7bcdd999bae4b9b6ff12ec13b92f, downloaded 2026-09-07), member minidev/MINIDEV/mini_dev_sqlite.json",
    "question_text": "What type of bond is there between the atoms TR004_8 and TR004_20?",
    "evidence_text": "type of bond refers to bond_type; between the atoms TR004_8 and TR004_20 refers to atom_id = 'TR004_8' AND atom_id2 = 'TR004_20' OR another way around"
  },
  "question_set_version": "sha256:4ba5fa8de55856222f484d380d2ba872b380bf79d825de70478e2120cb0fc43b",
  "sources": {
    "gold": {
      "path": "data/questions/mini_dev_sqlite.json",
      "digest": "sha256:4ba5fa8de55856222f484d380d2ba872b380bf79d825de70478e2120cb0fc43b",
      "origin": "https://bird-bench.oss-cn-beijing.aliyuncs.com/minidev.zip (sha256 cc48ba16838204e4e214512030cb572eeb5f7bcdd999bae4b9b6ff12ec13b92f, downloaded 2026-09-07), member minidev/MINIDEV/mini_dev_sqlite.json",
      "date": "2024-06-19"
    },
    "second": {
      "path": "data/preds-sqlite/predict_mini_dev_gpt-35-turbo_sqlite.json",
      "digest": "sha256:cfb1ec56c697378c74b91a87718209a939c4bc45d8bb5f0ab06bc95e8684773b",
      "origin": "https://raw.githubusercontent.com/bird-bench/mini_dev/b3d4bcbbae9a96934ad812551eb400c7a3b23c12/llm/exp_result/sql_output_kg/predict_mini_dev_gpt-35-turbo_sqlite.json",
      "date": "2024-06-19"
    }
  },
  "replay_rule": "R-SET",
  "verdict": {
    "result": "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": 1,
    "equal": true,
    "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": 2,
    "second_rows": 2,
    "gold_distinct_rows": 1,
    "second_distinct_rows": 1
  },
  "test_suite_ex": {
    "value": 1,
    "equal": true,
    "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": false,
    "gold_rows": 2,
    "second_rows": 2,
    "gold_columns": 1,
    "second_columns": 1
  },
  "mechanism": null,
  "gold": {
    "executed_sql": "SELECT T1.bond_type FROM bond AS T1 INNER JOIN connected AS T2 ON T1.bond_id = T2.bond_id WHERE T2.atom_id = 'TR004_8' AND T2.atom_id2 = 'TR004_20' OR T2.atom_id2 = 'TR004_8' AND T2.atom_id = 'TR004_20'",
    "own_ordering": [],
    "result": {
      "columns": [
        {
          "name": "bond_type",
          "declared_type": "TEXT"
        }
      ],
      "row_count": 2,
      "truncated": false,
      "rows_shown": 2,
      "rows": [
        [
          {
            "type": "str",
            "value": "-"
          }
        ],
        [
          {
            "type": "str",
            "value": "-"
          }
        ]
      ],
      "result_hash": "sha256:7eff1c681a33d5c0d969f9f663847c0f2a4c61ace076e266a7edf0b97215cd1b"
    },
    "record": "evidence-gold.json"
  },
  "second": {
    "executed_sql": "SELECT b.bond_type\nFROM connected c\nJOIN bond b ON c.bond_id = b.bond_id\nWHERE (c.atom_id = 'TR004_8' AND c.atom_id2 = 'TR004_20') OR (c.atom_id = 'TR004_20' AND c.atom_id2 = 'TR004_8')",
    "own_ordering": [],
    "result": {
      "columns": [
        {
          "name": "bond_type",
          "declared_type": "TEXT"
        }
      ],
      "row_count": 2,
      "truncated": false,
      "rows_shown": 2,
      "rows": [
        [
          {
            "type": "str",
            "value": "-"
          }
        ],
        [
          {
            "type": "str",
            "value": "-"
          }
        ]
      ],
      "result_hash": "sha256:7eff1c681a33d5c0d969f9f663847c0f2a4c61ace076e266a7edf0b97215cd1b"
    },
    "record": "evidence-second.json"
  },
  "canonical_ordering": [],
  "differing_rows": {
    "in_gold_not_in_second": [],
    "in_gold_not_in_second_total": 0,
    "in_second_not_in_gold": [],
    "in_second_not_in_gold_total": 0,
    "rows_shown_per_side": 25
  },
  "result_hashes": {
    "gold": "sha256:7eff1c681a33d5c0d969f9f663847c0f2a4c61ace076e266a7edf0b97215cd1b",
    "second": "sha256:7eff1c681a33d5c0d969f9f663847c0f2a4c61ace076e266a7edf0b97215cd1b"
  },
  "backend_identity": "SQLite 3.53.4 | file=/private/tmp/attestql-runs/data/minidev/dev_databases/toxicology/toxicology.sqlite | size=2678784",
  "fixture": {
    "schema_digest": "sha256:57215530d3268ac7c6c8f02d63132dc7c83a816802cd60046648ecf89d1e66a0",
    "row_counts": {
      "main.bond": 9156,
      "main.connected": 18312
    },
    "content_digests": {},
    "source_file_sha256": "sha256:35ef27ae6bdfda530e125ed369666ac0abb8bc8c0bcc0ad09407f547ecb61a93"
  },
  "run_id": "audit-0869a025-ee25-40f2-b5dc-301081c04ae1"
}
