{
  "format": "attestql/audit/counterexample/2",
  "question": {
    "question_id": "207",
    "question_set": "questions",
    "question_text": "What elements are in a double type bond?",
    "evidence_text": "double type bond refers to bond_type = '=';"
  },
  "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-SET",
  "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": 3,
    "second_rows": 2,
    "gold_distinct_rows": 3,
    "second_distinct_rows": 2
  },
  "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": false,
    "gold_rows": 3,
    "second_rows": 2,
    "gold_columns": 1,
    "second_columns": 1
  },
  "mechanism": {
    "class": "truncation",
    "gold_types": [
      "TEXT"
    ],
    "second_types": [
      "TEXT"
    ],
    "multiset_equal": false,
    "set_equal": false,
    "order_equal": false,
    "shorter_result_is_a_prefix": true,
    "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 DISTINCT T1.element FROM atom AS T1 INNER JOIN bond AS T2 ON T1.molecule_id = T2.molecule_id INNER JOIN connected AS T3 ON T1.atom_id = T3.atom_id WHERE T2.bond_type = '='",
    "own_ordering": [],
    "result": {
      "columns": [
        {
          "name": "element",
          "declared_type": "TEXT"
        }
      ],
      "row_count": 3,
      "truncated": false,
      "rows_shown": 3,
      "rows": [
        [
          {
            "type": "str",
            "value": "c"
          }
        ],
        [
          {
            "type": "str",
            "value": "o"
          }
        ],
        [
          {
            "type": "str",
            "value": "n"
          }
        ]
      ],
      "result_hash": "sha256:029fb5dbc54b4b7234684a95a9d6e26ec41b884c6e7ce239fabb69a0ae9d6764"
    },
    "record": "evidence-gold.json"
  },
  "second": {
    "executed_sql": "SELECT DISTINCT T1.element FROM atom AS T1 JOIN connected AS T2 ON T1.atom_id = T2.atom_id JOIN bond AS T3 ON T2.bond_id = T3.bond_id WHERE T3.bond_type = '='",
    "own_ordering": [],
    "result": {
      "columns": [
        {
          "name": "element",
          "declared_type": "TEXT"
        }
      ],
      "row_count": 2,
      "truncated": false,
      "rows_shown": 2,
      "rows": [
        [
          {
            "type": "str",
            "value": "c"
          }
        ],
        [
          {
            "type": "str",
            "value": "o"
          }
        ]
      ],
      "result_hash": "sha256:9d2e4c969dafd20791a3829f3bbd056403b619bcedd6a6105e58228c98fa2bee"
    },
    "record": "evidence-second.json"
  },
  "canonical_ordering": [],
  "differing_rows": {
    "in_gold_not_in_second": [
      {
        "row": [
          {
            "type": "str",
            "value": "n"
          }
        ],
        "count": 1
      }
    ],
    "in_gold_not_in_second_total": 1,
    "in_second_not_in_gold": [],
    "in_second_not_in_gold_total": 0,
    "rows_shown_per_side": 25
  },
  "result_hashes": {
    "gold": "sha256:029fb5dbc54b4b7234684a95a9d6e26ec41b884c6e7ce239fabb69a0ae9d6764",
    "second": "sha256:9d2e4c969dafd20791a3829f3bbd056403b619bcedd6a6105e58228c98fa2bee"
  },
  "backend_identity": "SQLite 3.53.4 | file=/private/tmp/attestql-site-sandbox/demo/fixture.sqlite | size=69632",
  "fixture": {
    "schema_digest": "sha256:c0d10ad3b9e4119035fdf3bf953e3693755ec5bfabd479c79d8a31d73407c19e",
    "row_counts": {
      "main.atom": 5,
      "main.bond": 3,
      "main.connected": 6
    },
    "content_digests": {},
    "source_file_sha256": ""
  },
  "run_id": "audit-5ac1b5ac-ceba-418a-841e-577381666b11"
}
