{
  "version": 1,
  "checked_at": "2026-10-14T20:43:17.057590+00:00",
  "distribution": {
    "name": "data-repository",
    "version": "0.1.0",
    "url": "https://pypi.org/project/data-repository/0.1.0/",
    "wheel_filename": "data_repository-0.1.0-py3-none-any.whl",
    "wheel_sha256": "033438832783370e70e4127e7b07e2ddf22486d66297f9455f782651d99d8edf",
    "requires_python": ">=3.8"
  },
  "accepted_change": "https://github.com/neuralinkcorp/datarepo/pull/57",
  "source_retention": {
    "commit": "12d3b33946a83272d7eb5c3f92e4b69ac63b4de1",
    "file": "src/datarepo/core/tables/clickhouse_table.py",
    "url": "https://github.com/neuralinkcorp/datarepo/blob/12d3b33946a83272d7eb5c3f92e4b69ac63b4de1/src/datarepo/core/tables/clickhouse_table.py",
    "review": "The source retains unary null predicates and unsupported-operator rejection.",
    "runtime_tested": false
  },
  "environment": {
    "python": "3.12.3",
    "platform": "macOS arm64",
    "dependencies": {
      "boto3": "1.43.114",
      "pyarrow": "26.0.0",
      "clickhouse-connect": "1.10.0",
      "polars": "1.12.0",
      "deltalake": "0.25.5"
    }
  },
  "verification": {
    "isolated_python": true,
    "outside_source_checkout": true,
    "loaded_module_bytes_match_wheel": true,
    "passed": 2,
    "failed": 5,
    "skipped": 0,
    "backend_queries_executed": 0,
    "python_socket_attempts_observed": 0
  },
  "cases": [
    {
      "name": "no_filter_control",
      "expected_query": "SELECT `id` FROM `default`.`contract_rows`",
      "expected_exception": null,
      "actual_query": "SELECT `id` FROM `default`.`contract_rows`",
      "actual_exception": null,
      "passed": true
    },
    {
      "name": "comparison_control",
      "expected_query": "SELECT `id` FROM `default`.`contract_rows` WHERE (`id` = 2)",
      "expected_exception": null,
      "actual_query": "SELECT `id` FROM `default`.`contract_rows` WHERE (`id` = 2)",
      "actual_exception": null,
      "passed": true
    },
    {
      "name": "is_null",
      "expected_query": "SELECT `id` FROM `default`.`contract_rows` WHERE (`x` IS NULL)",
      "expected_exception": null,
      "actual_query": "SELECT `id` FROM `default`.`contract_rows`",
      "actual_exception": null,
      "passed": false
    },
    {
      "name": "is_not_null",
      "expected_query": "SELECT `id` FROM `default`.`contract_rows` WHERE (`x` IS NOT NULL)",
      "expected_exception": null,
      "actual_query": "SELECT `id` FROM `default`.`contract_rows`",
      "actual_exception": null,
      "passed": false
    },
    {
      "name": "null_and_id",
      "expected_query": "SELECT `id` FROM `default`.`contract_rows` WHERE (`x` IS NULL AND `id` = 1)",
      "expected_exception": null,
      "actual_query": "SELECT `id` FROM `default`.`contract_rows` WHERE (`id` = 1)",
      "actual_exception": null,
      "passed": false
    },
    {
      "name": "null_or_id",
      "expected_query": "SELECT `id` FROM `default`.`contract_rows` WHERE (`x` IS NULL) OR (`id` = 2)",
      "expected_exception": null,
      "actual_query": "SELECT `id` FROM `default`.`contract_rows` WHERE (`id` = 2)",
      "actual_exception": null,
      "passed": false
    },
    {
      "name": "reject_unsupported_operator",
      "expected_query": null,
      "expected_exception": "ValueError",
      "actual_query": "SELECT `id` FROM `default`.`contract_rows`",
      "actual_exception": null,
      "passed": false
    }
  ],
  "limitations": [
    "These checks exercise the installed package's generated SQL; no ClickHouse backend ran.",
    "The other five accepted change contracts were not tested in this artifact check.",
    "Current source retention was reviewed separately; this is not a source-build runtime result.",
    "A public release containing the accepted correction has not been verified."
  ]
}
