diff --git a/docs/rust-parity-exceptions.json b/docs/rust-parity-exceptions.json index 6cda173de..469be2526 100644 --- a/docs/rust-parity-exceptions.json +++ b/docs/rust-parity-exceptions.json @@ -1,37 +1,37 @@ { "schema_version": 3, "summary": { - "source_records": 740, + "source_records": 866, "by_kind": { - "engine-control": 244, - "engine-matrix": 94, - "implementation-import": 83, - "importorskip": 202, - "integration-marker": 13, + "engine-control": 306, + "engine-matrix": 100, + "implementation-import": 96, + "importorskip": 243, + "integration-marker": 14, "legacy-adapter-import": 6, "public-layer-import": 20, "skip": 65, - "skipif": 13 + "skipif": 16 }, - "exception_records": 366, - "observation_records": 374, + "exception_records": 444, + "observation_records": 422, "exceptions_by_category": { - "external-service": 42, - "intentional-Python-only": 35, - "optional-host": 235, - "real-gap": 54 + "external-service": 45, + "intentional-Python-only": 33, + "optional-host": 276, + "real-gap": 90 }, "exceptions_by_direction": { - "both-engines": 279, - "python-only-exclusion": 14, - "rust-coverage-exclusion": 73 + "both-engines": 329, + "python-only-exclusion": 9, + "rust-coverage-exclusion": 106 }, - "declared_test_functions": 6511, - "collected_nodeids": 11876, + "declared_test_functions": 7165, + "collected_nodeids": 14597, "direct_helper_tests": { "native_counterpart_or_route": 84, - "intentional_python_implementation": 126, - "unresolved_native_coverage": 129 + "intentional_python_implementation": 129, + "unresolved_native_coverage": 158 } }, "limitations": [ @@ -50,52 +50,57 @@ }, { "path": ".github/workflows/ci.yml", - "line": 19, + "line": 20, "source": "SQLCTX_ENGINE: ${{ matrix.engine }}" }, { "path": ".github/workflows/ci.yml", - "line": 24, + "line": 25, "source": "engine: [python]" }, { "path": ".github/workflows/ci.yml", - "line": 27, + "line": 28, "source": "engine: rust" }, { "path": ".github/workflows/ci.yml", - "line": 101, + "line": 102, "source": "run: uv run --with adbc-driver-sqlite pytest -v --test-engine python --cov-fail-under=76 --junitxml=test-results.xml" }, { "path": ".github/workflows/ci.yml", - "line": 105, + "line": 106, "source": "run: uv run --with adbc-driver-sqlite pytest -v --test-engine rust --no-cov --junitxml=test-results.xml" }, { "path": ".github/workflows/ci.yml", - "line": 185, + "line": 194, "source": "uv run --no-sync pytest" }, { "path": ".github/workflows/ci.yml", - "line": 193, + "line": 202, "source": "-o addopts=\"-m 'not integration'\"" }, { "path": ".github/workflows/ci.yml", - "line": 366, + "line": 210, + "source": "uv run --no-sync pytest tests/test_cli_*.py tests/test_manpage.py -q -o addopts=\"-m 'not integration'\"" + }, + { + "path": ".github/workflows/ci.yml", + "line": 461, "source": "run: uv run pytest tests/native_compat -v" }, { "path": ".github/workflows/ci.yml", - "line": 712, + "line": 807, "source": "import pytest" }, { "path": ".github/workflows/ci.yml", - "line": 718, + "line": 813, "source": "raise SystemExit(pytest.main([\"--no-cov\", \"-q\", \"tests/semantic_conformance\"]))" }, { @@ -120,47 +125,72 @@ }, { "path": ".github/workflows/integration.yml", - "line": 135, + "line": 88, + "source": "OSSIE_INTEGRATION_BACKEND=duckdb uv run pytest -m integration tests/db/test_ossie_integration.py -v" + }, + { + "path": ".github/workflows/integration.yml", + "line": 89, + "source": "OSSIE_INTEGRATION_BACKEND=postgres uv run pytest -m integration tests/db/test_ossie_integration.py -v" + }, + { + "path": ".github/workflows/integration.yml", + "line": 150, "source": "uv run pytest --test-engine python -m integration tests/db/test_bigquery_integration.py -v" }, { "path": ".github/workflows/integration.yml", - "line": 136, + "line": 151, "source": "uv run pytest --test-engine rust -m integration tests/db/test_bigquery_integration.py -v" }, { "path": ".github/workflows/integration.yml", - "line": 179, + "line": 172, + "source": "uv run pytest -m integration tests/db/test_ossie_integration.py -k \"$ossie_route\" -v" + }, + { + "path": ".github/workflows/integration.yml", + "line": 216, "source": "uv run --with \"fakesnow==0.11.11\" pytest --test-engine python -m integration tests/db/test_snowflake_integration.py -v" }, { "path": ".github/workflows/integration.yml", - "line": 180, + "line": 217, "source": "uv run --with \"fakesnow==0.11.11\" pytest --test-engine rust -m integration tests/db/test_snowflake_integration.py -v" }, { "path": ".github/workflows/integration.yml", - "line": 240, + "line": 224, + "source": "uv run --with \"fakesnow==0.11.11\" pytest -m integration tests/db/test_ossie_integration.py -v" + }, + { + "path": ".github/workflows/integration.yml", + "line": 284, "source": "uv run pytest --test-engine python -m integration tests/db/test_clickhouse_integration.py -v" }, { "path": ".github/workflows/integration.yml", - "line": 241, + "line": 285, "source": "uv run pytest --test-engine rust -m integration tests/db/test_clickhouse_integration.py -v" }, { "path": ".github/workflows/integration.yml", - "line": 351, + "line": 295, + "source": "uv run pytest -m integration tests/db/test_ossie_integration.py -v" + }, + { + "path": ".github/workflows/integration.yml", + "line": 405, "source": "uv run pytest --test-engine python -m integration tests/db/test_adbc_ci_smoke.py -v" }, { "path": ".github/workflows/integration.yml", - "line": 352, + "line": 406, "source": "uv run pytest --test-engine rust -m integration tests/db/test_adbc_ci_smoke.py -v" }, { "path": ".github/workflows/publish.yml", - "line": 180, + "line": 184, "source": "uv run pytest -v --cov-fail-under=76" }, { @@ -301,6 +331,17 @@ "rationale": "reason-2", "affected_scope": "scope-11" }, + { + "path": "tests/adapters/gooddata/test_key_fidelity.py", + "line": 9, + "scope": "", + "kind": "implementation-import", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "from sqlctx.sql.generator import SQLGenerator", + "rationale": "reason-2", + "affected_scope": "scope-12" + }, { "path": "tests/adapters/metricflow/test_parsing.py", "line": 10, @@ -310,7 +351,49 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-12" + "affected_scope": "scope-13" + }, + { + "path": "tests/adapters/official/test_official.py", + "line": 262, + "scope": "test_real_offline_cli_import_export_and_query", + "kind": "skip", + "category": "external-service", + "exclusion_direction": "both-engines", + "conditions": [ + "not executable" + ], + "source": "pytest.skip(f\"Install official ossie-{vendor} or set SQLCTX_TEST_{vendor.upper()}_CLI\")", + "rationale": "reason-4", + "affected_scope": "scope-14" + }, + { + "path": "tests/adapters/official/test_official.py", + "line": 462, + "scope": "real_adapter", + "kind": "skip", + "category": "external-service", + "exclusion_direction": "both-engines", + "conditions": [ + "not executable" + ], + "source": "pytest.skip(f\"Install official ossie-{vendor} or set SQLCTX_TEST_{vendor.upper()}_CLI\")", + "rationale": "reason-4", + "affected_scope": "scope-15" + }, + { + "path": "tests/adapters/omni/test_fidelity_regressions.py", + "line": 15, + "scope": "test_native_layout_topics_and_non_equi_join_roundtrip", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "conditions": [ + "engine == 'rust'" + ], + "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires the native Rust extension\")", + "rationale": "reason-5", + "affected_scope": "scope-16" }, { "path": "tests/adapters/osi/conftest.py", @@ -320,8 +403,8 @@ "category": "real-gap", "exclusion_direction": "rust-coverage-exclusion", "source": "os.environ.get(\"SQLCTX_OSI_BACKEND\", \"python\")", - "rationale": "reason-3", - "affected_scope": "scope-13" + "rationale": "reason-6", + "affected_scope": "scope-17" }, { "path": "tests/adapters/osi/conftest.py", @@ -331,8 +414,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-13" + "rationale": "reason-5", + "affected_scope": "scope-17" }, { "path": "tests/adapters/osi/test_parsing.py", @@ -342,8 +425,8 @@ "category": "real-gap", "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.adapters.osi import LegacyOSIAdapter as OSIAdapter", - "rationale": "reason-5", - "affected_scope": "scope-14" + "rationale": "reason-7", + "affected_scope": "scope-18" }, { "path": "tests/adapters/osi/test_query_execution.py", @@ -353,8 +436,8 @@ "category": "real-gap", "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.adapters.osi import LegacyOSIAdapter as OSIAdapter", - "rationale": "reason-5", - "affected_scope": "scope-15" + "rationale": "reason-7", + "affected_scope": "scope-19" }, { "path": "tests/adapters/osi/test_rust_parity.py", @@ -364,8 +447,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-16" + "rationale": "reason-5", + "affected_scope": "scope-20" }, { "path": "tests/adapters/sqlctx_adapter/test_parsing.py", @@ -376,7 +459,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-17" + "affected_scope": "scope-21" }, { "path": "tests/adapters/tableau/test_real_world.py", @@ -387,7 +470,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-18" + "affected_scope": "scope-22" }, { "path": "tests/adapters/tableau/test_real_world.py", @@ -400,8 +483,8 @@ "not REAL_WORLD.exists()" ], "source": "pytest.skip(\"real_world fixtures not present\")", - "rationale": "reason-6", - "affected_scope": "scope-19" + "rationale": "reason-8", + "affected_scope": "scope-23" }, { "path": "tests/adapters/tableau/test_relation_types.py", @@ -414,8 +497,8 @@ "not real_world.exists()" ], "source": "pytest.skip(\"real_world fixtures not present\")", - "rationale": "reason-6", - "affected_scope": "scope-20" + "rationale": "reason-8", + "affected_scope": "scope-24" }, { "path": "tests/adapters/test_added_fixture_coverage.py", @@ -425,8 +508,8 @@ "category": "real-gap", "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.adapters.osi import LegacyOSIAdapter as OSIAdapter", - "rationale": "reason-5", - "affected_scope": "scope-21" + "rationale": "reason-7", + "affected_scope": "scope-25" }, { "path": "tests/adapters/test_added_fixture_coverage.py", @@ -437,29 +520,90 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-22" + "affected_scope": "scope-26" + }, + { + "path": "tests/adapters/test_export_roundtrip.py", + "line": 385, + "scope": "test_export_round_trips_or_reports_each_loss", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "conditions": [ + "target in OPTIONAL_DEPENDENCY" + ], + "source": "pytest.importorskip(OPTIONAL_DEPENDENCY[target])", + "rationale": "reason-5", + "affected_scope": "scope-27" + }, + { + "path": "tests/adapters/test_export_roundtrip.py", + "line": 450, + "scope": "test_official_bridge_refuses_the_reference_model_by_name", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(OPTIONAL_DEPENDENCY[target])", + "rationale": "reason-5", + "affected_scope": "scope-28" }, { "path": "tests/adapters/test_fixture_functionality_contracts.py", - "line": 21, + "line": 22, "scope": "", "kind": "legacy-adapter-import", "category": "real-gap", "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.adapters.osi import LegacyOSIAdapter as OSIAdapter", - "rationale": "reason-5", - "affected_scope": "scope-23" + "rationale": "reason-7", + "affected_scope": "scope-29" }, { "path": "tests/adapters/test_fixture_functionality_contracts.py", - "line": 27, + "line": 28, "scope": "", "kind": "implementation-import", "category": "real-gap", "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-24" + "affected_scope": "scope-30" + }, + { + "path": "tests/adapters/tmdl/test_aggregation_semantics.py", + "line": 7, + "scope": "", + "kind": "implementation-import", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "from sqlctx.sql.generator import SQLGenerator", + "rationale": "reason-2", + "affected_scope": "scope-31" + }, + { + "path": "tests/adapters/tmdl/test_aggregation_semantics.py", + "line": 13, + "scope": "parser_mode", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "conditions": [ + "request.param == 'native'" + ], + "source": "pytest.importorskip(\"sqlctx_dax\")", + "rationale": "reason-5", + "affected_scope": "scope-31" + }, + { + "path": "tests/adapters/tmdl/test_export_fidelity.py", + "line": 11, + "scope": "", + "kind": "implementation-import", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "from sqlctx.sql.generator import SQLGenerator", + "rationale": "reason-2", + "affected_scope": "scope-32" }, { "path": "tests/adapters/tmdl/test_parsing.py", @@ -470,7 +614,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-25" + "affected_scope": "scope-33" }, { "path": "tests/adapters/tmdl/test_parsing.py", @@ -480,8 +624,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.skip(\"sqlctx_dax not installed\")", - "rationale": "reason-6", - "affected_scope": "scope-26" + "rationale": "reason-8", + "affected_scope": "scope-34" }, { "path": "tests/adapters/tmdl/test_parsing.py", @@ -494,151 +638,151 @@ "'native module is not available' in str(exc)" ], "source": "pytest.skip(\"sqlctx_dax native module not available\")", - "rationale": "reason-6", - "affected_scope": "scope-26" + "rationale": "reason-8", + "affected_scope": "scope-34" }, { "path": "tests/adapters/tmdl/test_parsing.py", - "line": 920, + "line": 921, "scope": "test_tmdl_inactive_relationship_is_preserved_and_excluded_from_graph_paths", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax\")", - "rationale": "reason-4", - "affected_scope": "scope-27" + "rationale": "reason-5", + "affected_scope": "scope-35" }, { "path": "tests/adapters/tmdl/test_parsing.py", - "line": 947, + "line": 948, "scope": "test_tmdl_invalid_relationship_edges_are_skipped", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax\")", - "rationale": "reason-4", - "affected_scope": "scope-28" + "rationale": "reason-5", + "affected_scope": "scope-36" }, { "path": "tests/adapters/tmdl/test_parsing.py", - "line": 1145, + "line": 1146, "scope": "test_tmdl_warning_fixture_collects_relationship_warnings", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax\")", - "rationale": "reason-4", - "affected_scope": "scope-29" + "rationale": "reason-5", + "affected_scope": "scope-37" }, { "path": "tests/adapters/tmdl/test_parsing.py", - "line": 2110, + "line": 2112, "scope": "test_tmdl_export_preserves_native_dax_authored_sources", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax\")", - "rationale": "reason-4", - "affected_scope": "scope-30" + "rationale": "reason-5", + "affected_scope": "scope-38" }, { "path": "tests/adapters/tmdl/test_parsing.py", - "line": 2894, + "line": 2896, "scope": "test_tmdl_dax_reduction_semantics", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax\")", - "rationale": "reason-4", - "affected_scope": "scope-31" + "rationale": "reason-5", + "affected_scope": "scope-39" }, { "path": "tests/adapters/tmdl/test_parsing.py", - "line": 2947, + "line": 2949, "scope": "test_tmdl_real_fixture_reductions_reference_real_columns", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax\")", - "rationale": "reason-4", - "affected_scope": "scope-32" + "rationale": "reason-5", + "affected_scope": "scope-40" }, { "path": "tests/adapters/tmdl/test_parsing.py", - "line": 2960, + "line": 2962, "scope": "test_tmdl_deeply_nested_dax_does_not_crash_import", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax\")", - "rationale": "reason-4", - "affected_scope": "scope-33" + "rationale": "reason-5", + "affected_scope": "scope-41" }, { "path": "tests/adapters/tmdl/test_parsing.py", - "line": 2996, + "line": 2998, "scope": "test_tmdl_keyless_many_to_many_joins_without_keying_off_endpoints", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax\")", - "rationale": "reason-4", - "affected_scope": "scope-34" + "rationale": "reason-5", + "affected_scope": "scope-42" }, { "path": "tests/adapters/tmdl/test_parsing.py", - "line": 3058, + "line": 3060, "scope": "test_tmdl_keyless_many_to_many_metric_raises_clear_error", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax\")", - "rationale": "reason-4", - "affected_scope": "scope-35" + "rationale": "reason-5", + "affected_scope": "scope-43" }, { "path": "tests/adapters/tmdl/test_parsing.py", - "line": 3108, + "line": 3110, "scope": "test_tmdl_many_to_many_on_non_primary_key_column", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax\")", - "rationale": "reason-4", - "affected_scope": "scope-36" + "rationale": "reason-5", + "affected_scope": "scope-44" }, { "path": "tests/adapters/tmdl/test_parsing.py", - "line": 3173, + "line": 3175, "scope": "test_tmdl_one_to_one_recovers_keyless_source_key", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax\")", - "rationale": "reason-4", - "affected_scope": "scope-37" + "rationale": "reason-5", + "affected_scope": "scope-45" }, { "path": "tests/adapters/tmdl/test_parsing.py", - "line": 3229, + "line": 3231, "scope": "test_tmdl_one_to_one_alternate_key_does_not_shadow_real_key", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax\")", - "rationale": "reason-4", - "affected_scope": "scope-38" + "rationale": "reason-5", + "affected_scope": "scope-46" }, { "path": "tests/adapters/tmdl/test_parsing.py", - "line": 3297, + "line": 3299, "scope": "test_tmdl_ambiguous_one_side_target_not_recovered_from_endpoint", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax\")", - "rationale": "reason-4", - "affected_scope": "scope-39" + "rationale": "reason-5", + "affected_scope": "scope-47" }, { "path": "tests/core/test_cross_surface_equivalence.py", @@ -648,8 +792,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"fastapi\")", - "rationale": "reason-4", - "affected_scope": "scope-40" + "rationale": "reason-5", + "affected_scope": "scope-48" }, { "path": "tests/core/test_cross_surface_equivalence.py", @@ -659,8 +803,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"httpx\")", - "rationale": "reason-4", - "affected_scope": "scope-40" + "rationale": "reason-5", + "affected_scope": "scope-48" }, { "path": "tests/core/test_cross_surface_equivalence.py", @@ -670,8 +814,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"riffq\", reason=\"PG wire server requires the optional 'riffq' dependency\")", - "rationale": "reason-4", - "affected_scope": "scope-41" + "rationale": "reason-5", + "affected_scope": "scope-49" }, { "path": "tests/core/test_cross_surface_equivalence.py", @@ -681,19 +825,30 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-41" + "rationale": "reason-5", + "affected_scope": "scope-49" }, { - "path": "tests/core/test_invariant_filters.py", - "line": 221, - "scope": "test_legacy_python_sql_generator_falls_back_for_invariants", - "kind": "engine-control", - "category": "intentional-Python-only", + "path": "tests/core/test_directed_relationships.py", + "line": 10, + "scope": "", + "kind": "implementation-import", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "from sqlctx.sql.generator import SQLGenerator", + "rationale": "reason-2", + "affected_scope": "scope-50" + }, + { + "path": "tests/core/test_invariant_filters.py", + "line": 221, + "scope": "test_legacy_python_sql_generator_falls_back_for_invariants", + "kind": "engine-control", + "category": "intentional-Python-only", "exclusion_direction": "rust-coverage-exclusion", "source": "_layer(engine=\"python\")", - "rationale": "reason-8", - "affected_scope": "scope-42" + "rationale": "reason-10", + "affected_scope": "scope-51" }, { "path": "tests/core/test_relationship_role_aliases.py", @@ -704,7 +859,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-43" + "affected_scope": "scope-52" }, { "path": "tests/core/test_relationship_role_aliases.py", @@ -714,8 +869,8 @@ "category": "intentional-Python-only", "exclusion_direction": "rust-coverage-exclusion", "source": "SemanticLayer(engine=\"python\")", - "rationale": "reason-8", - "affected_scope": "scope-44" + "rationale": "reason-10", + "affected_scope": "scope-53" }, { "path": "tests/core/test_relationship_role_aliases.py", @@ -725,8 +880,63 @@ "category": "intentional-Python-only", "exclusion_direction": "rust-coverage-exclusion", "source": "SemanticLayer(engine=\"python\")", - "rationale": "reason-8", - "affected_scope": "scope-45" + "rationale": "reason-10", + "affected_scope": "scope-54" + }, + { + "path": "tests/core/test_required_filters.py", + "line": 14, + "scope": "", + "kind": "implementation-import", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "from sqlctx.sql.query_rewriter import QueryRewriter", + "rationale": "reason-2", + "affected_scope": "scope-55" + }, + { + "path": "tests/core/test_required_filters.py", + "line": 19, + "scope": "required_layer", + "kind": "engine-control", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "SemanticLayer(auto_register=False, engine=\"python\")", + "rationale": "reason-13", + "affected_scope": "scope-56" + }, + { + "path": "tests/core/test_required_filters.py", + "line": 227, + "scope": "test_api_returns_400_and_accepts_date_picker", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"fastapi\")", + "rationale": "reason-5", + "affected_scope": "scope-57" + }, + { + "path": "tests/core/test_required_filters.py", + "line": 228, + "scope": "test_api_returns_400_and_accepts_date_picker", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"pyarrow\")", + "rationale": "reason-5", + "affected_scope": "scope-57" + }, + { + "path": "tests/core/test_required_filters.py", + "line": 229, + "scope": "test_api_returns_400_and_accepts_date_picker", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"httpx\")", + "rationale": "reason-5", + "affected_scope": "scope-57" }, { "path": "tests/core/test_result_cache.py", @@ -736,8 +946,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-46" + "rationale": "reason-5", + "affected_scope": "scope-58" }, { "path": "tests/core/test_runtime_defaults.py", @@ -747,8 +957,8 @@ "category": "intentional-Python-only", "exclusion_direction": "rust-coverage-exclusion", "source": "SemanticLayer(engine=\"python\")", - "rationale": "reason-8", - "affected_scope": "scope-47" + "rationale": "reason-10", + "affected_scope": "scope-59" }, { "path": "tests/core/test_rust_engine_mode.py", @@ -758,8 +968,19 @@ "category": "intentional-Python-only", "exclusion_direction": "rust-coverage-exclusion", "source": "SemanticLayer(engine=\"python\")", - "rationale": "reason-8", - "affected_scope": "scope-48" + "rationale": "reason-10", + "affected_scope": "scope-60" + }, + { + "path": "tests/core/test_rust_query_correctness_regressions.py", + "line": 7, + "scope": "", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"sqlctx_rs\")", + "rationale": "reason-5", + "affected_scope": "scope-61" }, { "path": "tests/core/test_security_advisor_regressions.py", @@ -769,8 +990,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "_pytest.importorskip(\"riffq\")", - "rationale": "reason-4", - "affected_scope": "scope-49" + "rationale": "reason-5", + "affected_scope": "scope-62" }, { "path": "tests/core/test_security_advisor_regressions.py", @@ -781,7 +1002,18 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.query_rewriter import QueryRewriter", "rationale": "reason-2", - "affected_scope": "scope-50" + "affected_scope": "scope-63" + }, + { + "path": "tests/dates/test_frozen_time.py", + "line": 219, + "scope": "test_rust_engine_output_is_frozen", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires the built Rust extension\")", + "rationale": "reason-5", + "affected_scope": "scope-64" }, { "path": "tests/dates/test_query_timezone.py", @@ -792,7 +1024,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-51" + "affected_scope": "scope-65" }, { "path": "tests/dates/test_time_comparison.py", @@ -803,7 +1035,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-52" + "affected_scope": "scope-66" }, { "path": "tests/dax/test_ast.py", @@ -813,8 +1045,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax.ast\")", - "rationale": "reason-4", - "affected_scope": "scope-53" + "rationale": "reason-5", + "affected_scope": "scope-67" }, { "path": "tests/dax/test_ast.py", @@ -827,8 +1059,8 @@ "'native module is not available' in str(exc)" ], "source": "pytest.skip(\"sqlctx_dax native module not available\")", - "rationale": "reason-6", - "affected_scope": "scope-54" + "rationale": "reason-8", + "affected_scope": "scope-68" }, { "path": "tests/dax/test_ast.py", @@ -841,8 +1073,8 @@ "'native module is not available' in str(exc)" ], "source": "pytest.skip(\"sqlctx_dax native module not available\")", - "rationale": "reason-6", - "affected_scope": "scope-55" + "rationale": "reason-8", + "affected_scope": "scope-69" }, { "path": "tests/dax/test_ast.py", @@ -855,8 +1087,8 @@ "'native module is not available' in str(exc)" ], "source": "pytest.skip(\"sqlctx_dax native module not available\")", - "rationale": "reason-6", - "affected_scope": "scope-56" + "rationale": "reason-8", + "affected_scope": "scope-70" }, { "path": "tests/dax/test_ast.py", @@ -869,8 +1101,8 @@ "'native module is not available' in str(exc)" ], "source": "pytest.skip(\"sqlctx_dax native module not available\")", - "rationale": "reason-6", - "affected_scope": "scope-57" + "rationale": "reason-8", + "affected_scope": "scope-71" }, { "path": "tests/dax/test_ast.py", @@ -883,8 +1115,8 @@ "'native module is not available' in str(exc)" ], "source": "pytest.skip(\"sqlctx_dax native module not available\")", - "rationale": "reason-6", - "affected_scope": "scope-58" + "rationale": "reason-8", + "affected_scope": "scope-72" }, { "path": "tests/dax/test_ast.py", @@ -897,8 +1129,8 @@ "'native module is not available' in str(exc)" ], "source": "pytest.skip(\"sqlctx_dax native module not available\")", - "rationale": "reason-6", - "affected_scope": "scope-59" + "rationale": "reason-8", + "affected_scope": "scope-73" }, { "path": "tests/dax/test_ast.py", @@ -911,8 +1143,8 @@ "'native module is not available' in str(exc)" ], "source": "pytest.skip(\"sqlctx_dax native module not available\")", - "rationale": "reason-6", - "affected_scope": "scope-60" + "rationale": "reason-8", + "affected_scope": "scope-74" }, { "path": "tests/dax/test_ast.py", @@ -925,8 +1157,8 @@ "'native module is not available' in str(exc)" ], "source": "pytest.skip(\"sqlctx_dax native module not available\")", - "rationale": "reason-6", - "affected_scope": "scope-61" + "rationale": "reason-8", + "affected_scope": "scope-75" }, { "path": "tests/dax/test_ast.py", @@ -939,8 +1171,8 @@ "'native module is not available' in str(exc)" ], "source": "pytest.skip(\"sqlctx_dax native module not available\")", - "rationale": "reason-6", - "affected_scope": "scope-62" + "rationale": "reason-8", + "affected_scope": "scope-76" }, { "path": "tests/dax/test_ast.py", @@ -953,8 +1185,8 @@ "'native module is not available' in str(exc)" ], "source": "pytest.skip(\"sqlctx_dax native module not available\")", - "rationale": "reason-6", - "affected_scope": "scope-63" + "rationale": "reason-8", + "affected_scope": "scope-77" }, { "path": "tests/dax/test_engine_conformance.py", @@ -964,8 +1196,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax.ast\")", - "rationale": "reason-4", - "affected_scope": "scope-64" + "rationale": "reason-5", + "affected_scope": "scope-78" }, { "path": "tests/dax/test_engine_conformance.py", @@ -975,8 +1207,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-64" + "rationale": "reason-5", + "affected_scope": "scope-78" }, { "path": "tests/dax/test_engine_conformance.py", @@ -986,8 +1218,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow.ipc\")", - "rationale": "reason-4", - "affected_scope": "scope-64" + "rationale": "reason-5", + "affected_scope": "scope-78" }, { "path": "tests/dax/test_engine_conformance.py", @@ -1000,8 +1232,8 @@ "os.environ.get('SQLCTX_DAX_ENGINE_CONFORMANCE') != '1'" ], "source": "pytest.skip(\"set SQLCTX_DAX_ENGINE_CONFORMANCE=1 to probe Power BI\")", - "rationale": "reason-15", - "affected_scope": "scope-65" + "rationale": "reason-4", + "affected_scope": "scope-79" }, { "path": "tests/dax/test_engine_conformance.py", @@ -1011,8 +1243,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.integration", - "rationale": "reason-16", - "affected_scope": "scope-65" + "rationale": "reason-18", + "affected_scope": "scope-79" }, { "path": "tests/dax/test_external_powerbi_fixtures.py", @@ -1022,8 +1254,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax\")", - "rationale": "reason-4", - "affected_scope": "scope-66" + "rationale": "reason-5", + "affected_scope": "scope-80" }, { "path": "tests/dax/test_external_powerbi_fixtures.py", @@ -1036,8 +1268,8 @@ "'native module is not available' in str(exc)" ], "source": "pytest.skip(\"sqlctx_dax native module not available\")", - "rationale": "reason-6", - "affected_scope": "scope-66" + "rationale": "reason-8", + "affected_scope": "scope-80" }, { "path": "tests/dax/test_online_conformance.py", @@ -1047,8 +1279,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax.ast\")", - "rationale": "reason-4", - "affected_scope": "scope-67" + "rationale": "reason-5", + "affected_scope": "scope-81" }, { "path": "tests/dax/test_online_conformance.py", @@ -1058,8 +1290,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.skipif(\n os.environ.get(\"SQLCTX_DAX_ONLINE_CONFORMANCE\") != \"1\",\n reason=\"set SQLCTX_DAX_ONLINE_CONFORMANCE=1 to probe DAX Formatter\",\n)", - "rationale": "reason-15", - "affected_scope": "scope-67" + "rationale": "reason-4", + "affected_scope": "scope-81" }, { "path": "tests/dax/test_query_corpus.py", @@ -1069,8 +1301,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_dax\")", - "rationale": "reason-4", - "affected_scope": "scope-68" + "rationale": "reason-5", + "affected_scope": "scope-82" }, { "path": "tests/dax/test_query_corpus.py", @@ -1083,8 +1315,8 @@ "'native module is not available' in str(exc)" ], "source": "pytest.skip(\"sqlctx_dax native module not available\")", - "rationale": "reason-6", - "affected_scope": "scope-68" + "rationale": "reason-8", + "affected_scope": "scope-82" }, { "path": "tests/db/test_adbc_adapter.py", @@ -1097,8 +1329,8 @@ "not SQLITE_TESTS_AVAILABLE" ], "source": "pytest.skip(SQLITE_TESTS_SKIP_REASON)", - "rationale": "reason-6", - "affected_scope": "scope-69" + "rationale": "reason-8", + "affected_scope": "scope-83" }, { "path": "tests/db/test_adbc_adapter.py", @@ -1111,8 +1343,8 @@ "not SQLITE_TESTS_AVAILABLE" ], "source": "pytest.skip(SQLITE_TESTS_SKIP_REASON)", - "rationale": "reason-6", - "affected_scope": "scope-70" + "rationale": "reason-8", + "affected_scope": "scope-84" }, { "path": "tests/db/test_adbc_adapter.py", @@ -1122,8 +1354,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-71" + "rationale": "reason-5", + "affected_scope": "scope-85" }, { "path": "tests/db/test_adbc_adapter.py", @@ -1136,8 +1368,8 @@ "not SQLITE_TESTS_AVAILABLE" ], "source": "pytest.skip(SQLITE_TESTS_SKIP_REASON)", - "rationale": "reason-6", - "affected_scope": "scope-72" + "rationale": "reason-8", + "affected_scope": "scope-86" }, { "path": "tests/db/test_adbc_adapter.py", @@ -1147,8 +1379,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"adbc_driver_manager.dbapi\")", - "rationale": "reason-4", - "affected_scope": "scope-73" + "rationale": "reason-5", + "affected_scope": "scope-87" }, { "path": "tests/db/test_adbc_adapter.py", @@ -1158,8 +1390,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"adbc_driver_sqlite\")", - "rationale": "reason-4", - "affected_scope": "scope-73" + "rationale": "reason-5", + "affected_scope": "scope-87" }, { "path": "tests/db/test_adbc_adapter.py", @@ -1172,8 +1404,8 @@ "not SQLITE_TESTS_AVAILABLE" ], "source": "pytest.skip(SQLITE_TESTS_SKIP_REASON)", - "rationale": "reason-6", - "affected_scope": "scope-74" + "rationale": "reason-8", + "affected_scope": "scope-88" }, { "path": "tests/db/test_adbc_adapter.py", @@ -1186,8 +1418,8 @@ "not SQLITE_TESTS_AVAILABLE" ], "source": "pytest.skip(SQLITE_TESTS_SKIP_REASON)", - "rationale": "reason-6", - "affected_scope": "scope-75" + "rationale": "reason-8", + "affected_scope": "scope-89" }, { "path": "tests/db/test_adbc_adapter.py", @@ -1200,8 +1432,8 @@ "not SQLITE_TESTS_AVAILABLE" ], "source": "pytest.skip(SQLITE_TESTS_SKIP_REASON)", - "rationale": "reason-6", - "affected_scope": "scope-76" + "rationale": "reason-8", + "affected_scope": "scope-90" }, { "path": "tests/db/test_adbc_adapter.py", @@ -1214,8 +1446,8 @@ "not SQLITE_TESTS_AVAILABLE" ], "source": "pytest.skip(SQLITE_TESTS_SKIP_REASON)", - "rationale": "reason-6", - "affected_scope": "scope-77" + "rationale": "reason-8", + "affected_scope": "scope-91" }, { "path": "tests/db/test_adbc_ci_smoke.py", @@ -1225,8 +1457,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.integration", - "rationale": "reason-16", - "affected_scope": "scope-78" + "rationale": "reason-18", + "affected_scope": "scope-92" }, { "path": "tests/db/test_adbc_ci_smoke.py", @@ -1236,8 +1468,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.skipif(os.getenv(\"ADBC_TEST\") != \"1\", reason=\"Set ADBC_TEST=1 to run ADBC CI smoke tests\")", - "rationale": "reason-15", - "affected_scope": "scope-78" + "rationale": "reason-4", + "affected_scope": "scope-92" }, { "path": "tests/db/test_adbc_ci_smoke.py", @@ -1250,8 +1482,8 @@ "not db" ], "source": "pytest.skip(\"ADBC_DB is not set\")", - "rationale": "reason-15", - "affected_scope": "scope-78" + "rationale": "reason-4", + "affected_scope": "scope-92" }, { "path": "tests/db/test_adbc_ci_smoke.py", @@ -1264,8 +1496,8 @@ "not expected" ], "source": "pytest.skip(f\"Unsupported ADBC_DB={db!r}\")", - "rationale": "reason-15", - "affected_scope": "scope-79" + "rationale": "reason-4", + "affected_scope": "scope-93" }, { "path": "tests/db/test_adbc_ci_smoke.py", @@ -1279,8 +1511,8 @@ "not uri" ], "source": "pytest.skip(\"POSTGRES_URL is not set\")", - "rationale": "reason-15", - "affected_scope": "scope-78" + "rationale": "reason-4", + "affected_scope": "scope-92" }, { "path": "tests/db/test_adbc_ci_smoke.py", @@ -1290,8 +1522,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.skip(f\"Unsupported ADBC_DB={db!r}\")", - "rationale": "reason-15", - "affected_scope": "scope-78" + "rationale": "reason-4", + "affected_scope": "scope-92" }, { "path": "tests/db/test_adbc_ci_smoke.py", @@ -1301,8 +1533,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.skip(f\"No working ADBC driver for {db!r}. {details}\")", - "rationale": "reason-6", - "affected_scope": "scope-78" + "rationale": "reason-8", + "affected_scope": "scope-92" }, { "path": "tests/db/test_bigquery_adapter.py", @@ -1312,9 +1544,9 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-80" - }, + "rationale": "reason-5", + "affected_scope": "scope-94" + }, { "path": "tests/db/test_bigquery_adapter.py", "line": 547, @@ -1323,8 +1555,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-81" + "rationale": "reason-5", + "affected_scope": "scope-95" }, { "path": "tests/db/test_bigquery_cli_e2e.py", @@ -1334,8 +1566,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.integration", - "rationale": "reason-16", - "affected_scope": "scope-82" + "rationale": "reason-18", + "affected_scope": "scope-96" }, { "path": "tests/db/test_bigquery_cli_e2e.py", @@ -1345,8 +1577,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.skipif(\n os.getenv(\"BIGQUERY_TEST\") != \"1\",\n reason=\"Set BIGQUERY_TEST=1 and run docker compose up -d bigquery to run BigQuery integration tests\",\n )", - "rationale": "reason-15", - "affected_scope": "scope-82" + "rationale": "reason-4", + "affected_scope": "scope-96" }, { "path": "tests/db/test_bigquery_integration.py", @@ -1356,8 +1588,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.integration", - "rationale": "reason-16", - "affected_scope": "scope-83" + "rationale": "reason-18", + "affected_scope": "scope-97" }, { "path": "tests/db/test_bigquery_integration.py", @@ -1367,8 +1599,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.skipif(\n os.getenv(\"BIGQUERY_TEST\") != \"1\",\n reason=\"Set BIGQUERY_TEST=1 and run docker compose up -d bigquery to run BigQuery integration tests\",\n )", - "rationale": "reason-15", - "affected_scope": "scope-83" + "rationale": "reason-4", + "affected_scope": "scope-97" }, { "path": "tests/db/test_bigquery_integration.py", @@ -1378,74 +1610,140 @@ "category": "real-gap", "exclusion_direction": "both-engines", "source": "pytest.mark.skip(reason=\"FORMAT_DATE appears to hang with BigQuery emulator\")", - "rationale": "reason-17", - "affected_scope": "scope-84" + "rationale": "reason-19", + "affected_scope": "scope-98" }, { "path": "tests/db/test_clickhouse_adapter.py", - "line": 248, - "scope": "test_clickhouse_execute_native_arrow", + "line": 252, + "scope": "test_clickhouse_execute_parquet", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-85" + "rationale": "reason-5", + "affected_scope": "scope-99" }, { "path": "tests/db/test_clickhouse_adapter.py", - "line": 315, + "line": 301, "scope": "test_clickhouse_result_native_arrow_fetch_record_batch", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-86" + "rationale": "reason-5", + "affected_scope": "scope-100" }, { "path": "tests/db/test_clickhouse_adapter.py", - "line": 330, + "line": 316, "scope": "test_clickhouse_result_native_arrow_fetchone", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-87" + "rationale": "reason-5", + "affected_scope": "scope-101" }, { "path": "tests/db/test_clickhouse_adapter.py", - "line": 342, + "line": 328, "scope": "test_clickhouse_result_native_arrow_fetchall", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-88" + "rationale": "reason-5", + "affected_scope": "scope-102" }, { "path": "tests/db/test_clickhouse_adapter.py", - "line": 356, + "line": 342, "scope": "test_clickhouse_result_native_arrow_empty", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-89" + "rationale": "reason-5", + "affected_scope": "scope-103" }, { "path": "tests/db/test_clickhouse_adapter.py", - "line": 371, - "scope": "test_clickhouse_executemany_native_arrow", + "line": 357, + "scope": "test_clickhouse_executemany_parquet", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-90" + "rationale": "reason-5", + "affected_scope": "scope-104" + }, + { + "path": "tests/db/test_clickhouse_adapter.py", + "line": 398, + "scope": "_parquet_bytes", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"pyarrow.parquet\")", + "rationale": "reason-5", + "affected_scope": "scope-105" + }, + { + "path": "tests/db/test_clickhouse_adapter.py", + "line": 407, + "scope": "test_clickhouse_temporal_results", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"pyarrow\")", + "rationale": "reason-5", + "affected_scope": "scope-106" + }, + { + "path": "tests/db/test_clickhouse_adapter.py", + "line": 473, + "scope": "test_clickhouse_temporal_results_json", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"pyarrow\")", + "rationale": "reason-5", + "affected_scope": "scope-107" + }, + { + "path": "tests/db/test_clickhouse_adapter.py", + "line": 474, + "scope": "test_clickhouse_temporal_results_json", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"mcp\")", + "rationale": "reason-5", + "affected_scope": "scope-107" + }, + { + "path": "tests/db/test_clickhouse_adapter.py", + "line": 503, + "scope": "test_clickhouse_resultless_mutations_execute_once", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"pyarrow\")", + "rationale": "reason-5", + "affected_scope": "scope-108" + }, + { + "path": "tests/db/test_clickhouse_adapter.py", + "line": 530, + "scope": "test_clickhouse_post_execution_errors_are_not_retried", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"pyarrow\")", + "rationale": "reason-5", + "affected_scope": "scope-109" }, { "path": "tests/db/test_clickhouse_cli_e2e.py", @@ -1455,8 +1753,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.integration", - "rationale": "reason-16", - "affected_scope": "scope-91" + "rationale": "reason-18", + "affected_scope": "scope-110" }, { "path": "tests/db/test_clickhouse_cli_e2e.py", @@ -1466,8 +1764,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.skipif(\n os.getenv(\"CLICKHOUSE_TEST\") != \"1\",\n reason=\"Set CLICKHOUSE_TEST=1 and run docker compose up -d clickhouse to run ClickHouse integration tests\",\n )", - "rationale": "reason-15", - "affected_scope": "scope-91" + "rationale": "reason-4", + "affected_scope": "scope-110" }, { "path": "tests/db/test_clickhouse_integration.py", @@ -1477,8 +1775,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.integration", - "rationale": "reason-16", - "affected_scope": "scope-92" + "rationale": "reason-18", + "affected_scope": "scope-111" }, { "path": "tests/db/test_clickhouse_integration.py", @@ -1488,8 +1786,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.skipif(\n os.getenv(\"CLICKHOUSE_TEST\") != \"1\",\n reason=\"Set CLICKHOUSE_TEST=1 and run docker compose up -d clickhouse to run ClickHouse integration tests\",\n )", - "rationale": "reason-15", - "affected_scope": "scope-92" + "rationale": "reason-4", + "affected_scope": "scope-111" }, { "path": "tests/db/test_clickhouse_integration.py", @@ -1499,8 +1797,8 @@ "category": "real-gap", "exclusion_direction": "both-engines", "source": "pytest.mark.skip(reason=\"Date functions test - consistent with BigQuery/Postgres/Snowflake\")", - "rationale": "reason-17", - "affected_scope": "scope-93" + "rationale": "reason-19", + "affected_scope": "scope-112" }, { "path": "tests/db/test_databricks_adapter.py", @@ -1510,8 +1808,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-94" + "rationale": "reason-5", + "affected_scope": "scope-113" }, { "path": "tests/db/test_databricks_adapter.py", @@ -1521,8 +1819,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-95" + "rationale": "reason-5", + "affected_scope": "scope-114" }, { "path": "tests/db/test_databricks_adapter.py", @@ -1532,8 +1830,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-96" + "rationale": "reason-5", + "affected_scope": "scope-115" }, { "path": "tests/db/test_databricks_adapter.py", @@ -1543,8 +1841,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-97" + "rationale": "reason-5", + "affected_scope": "scope-116" }, { "path": "tests/db/test_databricks_integration.py", @@ -1554,8 +1852,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.integration", - "rationale": "reason-16", - "affected_scope": "scope-98" + "rationale": "reason-18", + "affected_scope": "scope-117" }, { "path": "tests/db/test_databricks_integration.py", @@ -1565,8 +1863,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.skipif(\n os.getenv(\"DATABRICKS_TEST\") != \"1\",\n reason=\"Set DATABRICKS_TEST=1 and DATABRICKS_URL to run Databricks integration tests (requires real Databricks workspace)\",\n )", - "rationale": "reason-15", - "affected_scope": "scope-98" + "rationale": "reason-4", + "affected_scope": "scope-117" }, { "path": "tests/db/test_databricks_integration.py", @@ -1579,8 +1877,8 @@ "not DATABRICKS_URL and os.getenv('DATABRICKS_TEST') == '1'" ], "source": "pytest.skip(\"DATABRICKS_URL must be set to run Databricks tests\", allow_module_level=True)", - "rationale": "reason-15", - "affected_scope": "scope-98" + "rationale": "reason-4", + "affected_scope": "scope-117" }, { "path": "tests/db/test_duckdb_adapter.py", @@ -1590,8 +1888,96 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-99" + "rationale": "reason-5", + "affected_scope": "scope-118" + }, + { + "path": "tests/db/test_duckdb_compat.py", + "line": 12, + "scope": "test_duckdb_arrow_reader_api_compatibility", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"pyarrow\")", + "rationale": "reason-5", + "affected_scope": "scope-119" + }, + { + "path": "tests/db/test_duckdb_compat.py", + "line": 25, + "scope": "test_duckdb_independent_cursor_arrow_results", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"pyarrow\")", + "rationale": "reason-5", + "affected_scope": "scope-120" + }, + { + "path": "tests/db/test_ossie_integration.py", + "line": 27, + "scope": "", + "kind": "integration-marker", + "category": "external-service", + "exclusion_direction": "both-engines", + "source": "pytest.mark.integration", + "rationale": "reason-18", + "affected_scope": "scope-121" + }, + { + "path": "tests/db/test_ossie_integration.py", + "line": 28, + "scope": "", + "kind": "skipif", + "category": "real-gap", + "exclusion_direction": "both-engines", + "source": "pytest.mark.skipif(not BACKEND, reason=\"Set OSSIE_INTEGRATION_BACKEND to opt in\")", + "rationale": "reason-20", + "affected_scope": "scope-121" + }, + { + "path": "tests/db/test_ossie_integration.py", + "line": 266, + "scope": "test_semantic_view_on_database", + "kind": "engine-matrix", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "pytest.mark.parametrize(\"route\", [\"python\", \"public_rust\"])", + "rationale": "reason-21", + "affected_scope": "scope-122" + }, + { + "path": "tests/db/test_ossie_integration.py", + "line": 267, + "scope": "test_semantic_view_on_database", + "kind": "skipif", + "category": "real-gap", + "exclusion_direction": "both-engines", + "source": "pytest.mark.skipif(\n BACKEND == \"bigquery\",\n reason=\"Semantic view lifecycle coverage targets DuckDB, PostgreSQL, Snowflake and ClickHouse\",\n)", + "rationale": "reason-20", + "affected_scope": "scope-122" + }, + { + "path": "tests/db/test_ossie_integration.py", + "line": 287, + "scope": "test_ossie_cli_on_core_database", + "kind": "skipif", + "category": "real-gap", + "exclusion_direction": "both-engines", + "source": "pytest.mark.skipif(BACKEND not in {\"duckdb\", \"postgres\"}, reason=\"CLI smoke targets the two required core databases\")", + "rationale": "reason-20", + "affected_scope": "scope-123" + }, + { + "path": "tests/db/test_ossie_integration.py", + "line": 413, + "scope": "test_wide_structured_ordering_keeps_backend_semantics_on_database", + "kind": "engine-matrix", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "pytest.mark.parametrize(\"route\", [\"python\", \"public_rust\"])", + "rationale": "reason-21", + "affected_scope": "scope-124" }, { "path": "tests/db/test_postgres_adapter.py", @@ -1601,8 +1987,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-100" + "rationale": "reason-5", + "affected_scope": "scope-125" }, { "path": "tests/db/test_postgres_adapter.py", @@ -1612,8 +1998,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-101" + "rationale": "reason-5", + "affected_scope": "scope-126" }, { "path": "tests/db/test_postgres_cli_e2e.py", @@ -1623,8 +2009,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.integration", - "rationale": "reason-16", - "affected_scope": "scope-102" + "rationale": "reason-18", + "affected_scope": "scope-127" }, { "path": "tests/db/test_postgres_cli_e2e.py", @@ -1634,30 +2020,30 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.skipif(\n os.getenv(\"POSTGRES_TEST\") != \"1\",\n reason=\"Set POSTGRES_TEST=1 to run Postgres integration tests\",\n )", - "rationale": "reason-15", - "affected_scope": "scope-102" + "rationale": "reason-4", + "affected_scope": "scope-127" }, { "path": "tests/db/test_postgres_integration.py", - "line": 14, + "line": 16, "scope": "", "kind": "integration-marker", "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.integration", - "rationale": "reason-16", - "affected_scope": "scope-103" + "rationale": "reason-18", + "affected_scope": "scope-128" }, { "path": "tests/db/test_postgres_integration.py", - "line": 15, + "line": 17, "scope": "", "kind": "skipif", "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.skipif(\n os.getenv(\"POSTGRES_TEST\") != \"1\",\n reason=\"Set POSTGRES_TEST=1 and run docker compose up -d to run Postgres integration tests\",\n )", - "rationale": "reason-15", - "affected_scope": "scope-103" + "rationale": "reason-4", + "affected_scope": "scope-128" }, { "path": "tests/db/test_semantic_layer_adapters.py", @@ -1667,8 +2053,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.skip(\"PostgreSQL adapter available, tested in integration tests\")", - "rationale": "reason-18", - "affected_scope": "scope-104" + "rationale": "reason-22", + "affected_scope": "scope-129" }, { "path": "tests/db/test_snowflake_adapter.py", @@ -1678,8 +2064,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-105" + "rationale": "reason-5", + "affected_scope": "scope-130" }, { "path": "tests/db/test_snowflake_adapter.py", @@ -1689,8 +2075,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-106" + "rationale": "reason-5", + "affected_scope": "scope-131" }, { "path": "tests/db/test_snowflake_adapter.py", @@ -1700,8 +2086,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-107" + "rationale": "reason-5", + "affected_scope": "scope-132" }, { "path": "tests/db/test_snowflake_adapter.py", @@ -1711,8 +2097,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-108" + "rationale": "reason-5", + "affected_scope": "scope-133" }, { "path": "tests/db/test_snowflake_adapter.py", @@ -1722,8 +2108,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-109" + "rationale": "reason-5", + "affected_scope": "scope-134" }, { "path": "tests/db/test_snowflake_cli_e2e.py", @@ -1733,8 +2119,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.integration", - "rationale": "reason-16", - "affected_scope": "scope-110" + "rationale": "reason-18", + "affected_scope": "scope-135" }, { "path": "tests/db/test_snowflake_cli_e2e.py", @@ -1744,8 +2130,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.skipif(\n os.getenv(\"SNOWFLAKE_TEST\") != \"1\",\n reason=\"Set SNOWFLAKE_TEST=1 to run Snowflake integration tests with fakesnow\",\n )", - "rationale": "reason-15", - "affected_scope": "scope-110" + "rationale": "reason-4", + "affected_scope": "scope-135" }, { "path": "tests/db/test_snowflake_cli_e2e.py", @@ -1755,8 +2141,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"snowflake.connector\")", - "rationale": "reason-4", - "affected_scope": "scope-110" + "rationale": "reason-5", + "affected_scope": "scope-135" }, { "path": "tests/db/test_snowflake_integration.py", @@ -1766,8 +2152,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.integration", - "rationale": "reason-16", - "affected_scope": "scope-111" + "rationale": "reason-18", + "affected_scope": "scope-136" }, { "path": "tests/db/test_snowflake_integration.py", @@ -1777,8 +2163,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.skipif(\n os.getenv(\"SNOWFLAKE_TEST\") != \"1\",\n reason=\"Set SNOWFLAKE_TEST=1 to run Snowflake integration tests with fakesnow\",\n )", - "rationale": "reason-15", - "affected_scope": "scope-111" + "rationale": "reason-4", + "affected_scope": "scope-136" }, { "path": "tests/db/test_snowflake_integration.py", @@ -1788,8 +2174,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.skip(f\"fakesnow not compatible with installed sqlglot: {exc}\")", - "rationale": "reason-6", - "affected_scope": "scope-111" + "rationale": "reason-8", + "affected_scope": "scope-136" }, { "path": "tests/db/test_snowflake_integration.py", @@ -1802,8 +2188,8 @@ "'WITH ORDINALITY not implemented' in str(exc)" ], "source": "pytest.skip(f\"fakesnow not compatible with installed DuckDB: {exc}\")", - "rationale": "reason-6", - "affected_scope": "scope-111" + "rationale": "reason-8", + "affected_scope": "scope-136" }, { "path": "tests/db/test_snowflake_integration.py", @@ -1816,8 +2202,8 @@ "'WITH ORDINALITY not implemented' in str(exc)" ], "source": "pytest.skip(f\"fakesnow not compatible with installed DuckDB: {exc}\")", - "rationale": "reason-6", - "affected_scope": "scope-111" + "rationale": "reason-8", + "affected_scope": "scope-136" }, { "path": "tests/db/test_snowflake_integration.py", @@ -1827,8 +2213,8 @@ "category": "real-gap", "exclusion_direction": "both-engines", "source": "pytest.mark.skip(reason=\"Date functions test - consistent with BigQuery/Postgres\")", - "rationale": "reason-17", - "affected_scope": "scope-112" + "rationale": "reason-19", + "affected_scope": "scope-137" }, { "path": "tests/db/test_spark_adapter.py", @@ -1838,8 +2224,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-113" + "rationale": "reason-5", + "affected_scope": "scope-138" }, { "path": "tests/db/test_spark_cli_e2e.py", @@ -1849,8 +2235,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.integration", - "rationale": "reason-16", - "affected_scope": "scope-114" + "rationale": "reason-18", + "affected_scope": "scope-139" }, { "path": "tests/db/test_spark_cli_e2e.py", @@ -1860,8 +2246,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.skipif(\n os.getenv(\"SPARK_TEST\") != \"1\",\n reason=\"Set SPARK_TEST=1 and run docker compose up -d spark to run Spark integration tests\",\n )", - "rationale": "reason-15", - "affected_scope": "scope-114" + "rationale": "reason-4", + "affected_scope": "scope-139" }, { "path": "tests/db/test_spark_integration.py", @@ -1871,8 +2257,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.integration", - "rationale": "reason-16", - "affected_scope": "scope-115" + "rationale": "reason-18", + "affected_scope": "scope-140" }, { "path": "tests/db/test_spark_integration.py", @@ -1882,8 +2268,8 @@ "category": "external-service", "exclusion_direction": "both-engines", "source": "pytest.mark.skipif(\n os.getenv(\"SPARK_TEST\") != \"1\",\n reason=\"Set SPARK_TEST=1 and run docker compose up -d spark to run Spark integration tests\",\n )", - "rationale": "reason-15", - "affected_scope": "scope-115" + "rationale": "reason-4", + "affected_scope": "scope-140" }, { "path": "tests/db/test_spark_integration.py", @@ -1893,8 +2279,195 @@ "category": "real-gap", "exclusion_direction": "both-engines", "source": "pytest.mark.skip(reason=\"Date functions test - consistent with BigQuery/Postgres/Snowflake\")", - "rationale": "reason-17", - "affected_scope": "scope-116" + "rationale": "reason-19", + "affected_scope": "scope-141" + }, + { + "path": "tests/interchange/ossie/test_latest_logical.py", + "line": 54, + "scope": "test_latest_dataset_metrics_preserve_fields_source_columns_and_count_rows", + "kind": "engine-control", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "SemanticLayer.from_catalog(lowered.catalog, engine=\"python\", fallback=False, auto_register=False)", + "rationale": "reason-13", + "affected_scope": "scope-142" + }, + { + "path": "tests/interchange/ossie/test_latest_logical.py", + "line": 71, + "scope": "test_dataset_metric_names_are_local_and_can_repeat_across_datasets", + "kind": "engine-control", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "SemanticLayer.from_catalog(lowered.catalog, engine=\"python\", fallback=False, auto_register=False)", + "rationale": "reason-13", + "affected_scope": "scope-143" + }, + { + "path": "tests/interchange/ossie/test_latest_portable.py", + "line": 31, + "scope": "_layer", + "kind": "engine-control", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "SemanticLayer.from_catalog(lowered.catalog, engine=\"python\", fallback=False, auto_register=False)", + "rationale": "reason-13", + "affected_scope": "scope-144" + }, + { + "path": "tests/interchange/ossie/test_latest_query_interface.py", + "line": 13, + "scope": "", + "kind": "implementation-import", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "from sqlctx.sql.query_rewriter import QueryRewriter", + "rationale": "reason-2", + "affected_scope": "scope-145" + }, + { + "path": "tests/interchange/ossie/test_latest_relational_array_dialects.py", + "line": 10, + "scope": "", + "kind": "implementation-import", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "from sqlctx.sql.query_rewriter import QueryRewriter", + "rationale": "reason-2", + "affected_scope": "scope-146" + }, + { + "path": "tests/interchange/ossie/test_latest_relational_edges.py", + "line": 96, + "scope": "test_direct_rewriter_rejects_unsupported_security_controls", + "kind": "implementation-import", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "from sqlctx.sql.query_rewriter import QueryRewriter", + "rationale": "reason-2", + "affected_scope": "scope-147" + }, + { + "path": "tests/interchange/ossie/test_latest_relational_edges.py", + "line": 115, + "scope": "test_sql_measure_definitions_need_no_imported_model", + "kind": "implementation-import", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "from sqlctx.sql.query_rewriter import QueryRewriter", + "rationale": "reason-2", + "affected_scope": "scope-148" + }, + { + "path": "tests/interchange/ossie/test_latest_relational_edges.py", + "line": 126, + "scope": "test_qualified_physical_relation_does_not_bind_same_named_semantic_model", + "kind": "implementation-import", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "from sqlctx.sql.query_rewriter import QueryRewriter", + "rationale": "reason-2", + "affected_scope": "scope-149" + }, + { + "path": "tests/interchange/ossie/test_latest_synthesis.py", + "line": 60, + "scope": "test_latest_export_expands_derived_dependencies_and_preserves_native_inputs", + "kind": "engine-control", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "SemanticLayer.from_catalog(lowered.catalog, engine=\"python\", fallback=False, auto_register=False)", + "rationale": "reason-13", + "affected_scope": "scope-150" + }, + { + "path": "tests/interchange/ossie/test_latest_synthesis.py", + "line": 154, + "scope": "test_latest_imported_dataset_metric_scopes_survive_graph_synthesis", + "kind": "engine-control", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "SemanticLayer.from_catalog(lowered.catalog, engine=\"python\", fallback=False, auto_register=False)", + "rationale": "reason-13", + "affected_scope": "scope-151" + }, + { + "path": "tests/interchange/ossie/test_latest_synthesis.py", + "line": 186, + "scope": "test_latest_export_preserves_quoted_physical_inputs_in_declared_fields", + "kind": "engine-control", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "SemanticLayer.from_catalog(lowered.catalog, engine=\"python\", fallback=False, auto_register=False)", + "rationale": "reason-13", + "affected_scope": "scope-152" + }, + { + "path": "tests/interchange/ossie/test_latest_wide_edge_cases.py", + "line": 121, + "scope": "test_cross_output_dialect_preserves_stored_array_index_and_metric_inputs", + "kind": "engine-control", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "SemanticLayer.from_catalog(lowered.catalog, engine=\"python\", fallback=False)", + "rationale": "reason-13", + "affected_scope": "scope-153" + }, + { + "path": "tests/interchange/ossie/test_layer2_conformance.py", + "line": 19, + "scope": "", + "kind": "implementation-import", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "from sqlctx.sql.query_rewriter import QueryRewriter", + "rationale": "reason-2", + "affected_scope": "scope-154" + }, + { + "path": "tests/interchange/ossie/test_layer3_api_contract.py", + "line": 35, + "scope": "test_native_binding_error_does_not_fall_back_to_python", + "kind": "engine-control", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "SemanticLayer(engine=\"python\", auto_register=False)", + "rationale": "reason-13", + "affected_scope": "scope-155" + }, + { + "path": "tests/interchange/ossie/test_layer3_api_contract.py", + "line": 48, + "scope": "test_strict_wide_rejects_unhandled_security_context", + "kind": "engine-control", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "SemanticLayer(engine=\"python\", auto_register=False)", + "rationale": "reason-13", + "affected_scope": "scope-156" + }, + { + "path": "tests/interchange/ossie/test_layer3_api_contract.py", + "line": 58, + "scope": "test_strict_wide_rejects_visibility_enforcement_even_without_policy_models", + "kind": "engine-control", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "SemanticLayer(engine=\"python\", auto_register=False, enforce_visibility=True)", + "rationale": "reason-13", + "affected_scope": "scope-157" + }, + { + "path": "tests/interchange/ossie/test_layer3_api_contract.py", + "line": 74, + "scope": "test_wide_compile_preserves_graph_input_dialect_when_output_changes", + "kind": "engine-control", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "SemanticLayer(engine=\"python\", auto_register=False, freeze_current_time=False)", + "rationale": "reason-13", + "affected_scope": "scope-158" }, { "path": "tests/interchange/ossie/test_ossie_engine_conformance.py", @@ -1907,8 +2480,8 @@ "route == 'public_rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires a source-built Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-117" + "rationale": "reason-5", + "affected_scope": "scope-159" }, { "path": "tests/interchange/ossie/test_ossie_engine_conformance.py", @@ -1921,30 +2494,74 @@ "engine == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires a source-built Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-118" + "rationale": "reason-5", + "affected_scope": "scope-160" + }, + { + "path": "tests/interchange/ossie/test_portable_filtered_count.py", + "line": 55, + "scope": "test_layer2_filtered_count_window_reaches_target_emitter", + "kind": "engine-matrix", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "pytest.mark.parametrize(\"route\", [\"python\", \"public_rust\", \"native_rust\"])", + "rationale": "reason-21", + "affected_scope": "scope-161" + }, + { + "path": "tests/interchange/ossie/test_portable_filtered_count.py", + "line": 62, + "scope": "test_layer2_filtered_count_window_reaches_target_emitter", + "kind": "implementation-import", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "from sqlctx.sql.query_rewriter import QueryRewriter", + "rationale": "reason-2", + "affected_scope": "scope-161" + }, + { + "path": "tests/interchange/ossie/test_review_distinct_anchor.py", + "line": 32, + "scope": "test_distinct_constant_counts_keep_source_population", + "kind": "engine-matrix", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "pytest.mark.parametrize(\"route\", [\"python\", \"public_rust\", \"native_rust\"])", + "rationale": "reason-21", + "affected_scope": "scope-162" + }, + { + "path": "tests/interchange/ossie/test_review_relational_boundaries.py", + "line": 7, + "scope": "", + "kind": "implementation-import", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "from sqlctx.sql.query_rewriter import QueryRewriter", + "rationale": "reason-2", + "affected_scope": "scope-163" }, { "path": "tests/metrics/test_advanced.py", - "line": 10, + "line": 12, "scope": "", "kind": "implementation-import", "category": "real-gap", "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-119" + "affected_scope": "scope-164" }, { "path": "tests/metrics/test_cohort.py", - "line": 10, + "line": 12, "scope": "", "kind": "implementation-import", "category": "real-gap", "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-120" + "affected_scope": "scope-165" }, { "path": "tests/metrics/test_conversion_source_parity.py", @@ -1957,8 +2574,8 @@ "engine == 'python'" ], "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-121" + "rationale": "reason-5", + "affected_scope": "scope-166" }, { "path": "tests/metrics/test_conversion_source_parity.py", @@ -1968,8 +2585,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-122" + "rationale": "reason-5", + "affected_scope": "scope-167" }, { "path": "tests/metrics/test_conversion_source_parity.py", @@ -1982,8 +2599,8 @@ "engine == 'python'" ], "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-123" + "rationale": "reason-5", + "affected_scope": "scope-168" }, { "path": "tests/metrics/test_conversion_source_parity.py", @@ -1996,52 +2613,52 @@ "engine == 'python'" ], "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-124" + "rationale": "reason-5", + "affected_scope": "scope-169" }, { "path": "tests/metrics/test_cumulative.py", - "line": 480, + "line": 481, "scope": "test_time_comparison_over_derived_cumulative_chain", "kind": "implementation-import", "category": "real-gap", "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-125" + "affected_scope": "scope-170" }, { "path": "tests/metrics/test_cumulative.py", - "line": 540, + "line": 541, "scope": "test_time_comparison_over_ratio_cumulative_chain", "kind": "implementation-import", "category": "real-gap", "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-126" + "affected_scope": "scope-171" }, { "path": "tests/metrics/test_cumulative.py", - "line": 600, + "line": 601, "scope": "test_time_comparison_with_dependency_free_expression_metric", "kind": "implementation-import", "category": "real-gap", "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-127" + "affected_scope": "scope-172" }, { "path": "tests/metrics/test_filters.py", - "line": 7, + "line": 9, "scope": "", "kind": "implementation-import", "category": "intentional-Python-only", "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-128" + "affected_scope": "scope-173" }, { "path": "tests/metrics/test_non_additive_guard.py", @@ -2052,7 +2669,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-129" + "affected_scope": "scope-174" }, { "path": "tests/metrics/test_retention.py", @@ -2063,7 +2680,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-130" + "affected_scope": "scope-175" }, { "path": "tests/metrics/test_snapshot_wrapper_parity.py", @@ -2076,8 +2693,8 @@ "engine == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-131" + "rationale": "reason-5", + "affected_scope": "scope-176" }, { "path": "tests/metrics/test_snapshot_wrapper_parity.py", @@ -2090,8 +2707,8 @@ "engine == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-132" + "rationale": "reason-5", + "affected_scope": "scope-177" }, { "path": "tests/metrics/test_symmetric_aggs.py", @@ -2102,7 +2719,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-133" + "affected_scope": "scope-178" }, { "path": "tests/queries/test_cross_model_calculated_grain.py", @@ -2113,7 +2730,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-134" + "affected_scope": "scope-179" }, { "path": "tests/queries/test_deterministic_join_anchor.py", @@ -2124,7 +2741,32 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-135" + "affected_scope": "scope-180" + }, + { + "path": "tests/queries/test_multi_fact_combine.py", + "line": 15, + "scope": "_shop_layer", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "conditions": [ + "engine == 'rust'" + ], + "source": "pytest.importorskip(\"sqlctx_rs\")", + "rationale": "reason-5", + "affected_scope": "scope-181" + }, + { + "path": "tests/queries/test_query_correctness_regressions.py", + "line": 12, + "scope": "python_layer", + "kind": "engine-control", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "SemanticLayer(engine=\"python\", auto_register=False)", + "rationale": "reason-13", + "affected_scope": "scope-182" }, { "path": "tests/queries/test_relationship_key_validation.py", @@ -2137,8 +2779,8 @@ "engine == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-136" + "rationale": "reason-5", + "affected_scope": "scope-183" }, { "path": "tests/queries/test_rust_query_rewriter_route.py", @@ -2149,7 +2791,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.query_rewriter import QueryRewriter", "rationale": "reason-2", - "affected_scope": "scope-137" + "affected_scope": "scope-184" }, { "path": "tests/queries/test_rust_sql_rewriter_parity.py", @@ -2159,8 +2801,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires the built Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-138" + "rationale": "reason-5", + "affected_scope": "scope-185" }, { "path": "tests/queries/test_rust_yardstick_parity.py", @@ -2170,8 +2812,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires the built Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-139" + "rationale": "reason-5", + "affected_scope": "scope-186" }, { "path": "tests/queries/test_semantic_sql_planner.py", @@ -2182,7 +2824,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.query_rewriter import QueryRewriter", "rationale": "reason-2", - "affected_scope": "scope-140" + "affected_scope": "scope-187" }, { "path": "tests/queries/test_sql_fallback_policy.py", @@ -2193,7 +2835,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.query_rewriter import QueryRewriter", "rationale": "reason-2", - "affected_scope": "scope-141" + "affected_scope": "scope-188" }, { "path": "tests/queries/test_temporal_sql_projection.py", @@ -2204,7 +2846,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.query_rewriter import QueryRewriter", "rationale": "reason-2", - "affected_scope": "scope-142" + "affected_scope": "scope-189" }, { "path": "tests/queries/test_yardstick_measures_replay.py", @@ -2217,12 +2859,12 @@ "not _env_flag('SQLCTX_YARDSTICK_UPSTREAM_TESTS')" ], "source": "pytest.skip(\"Set SQLCTX_YARDSTICK_UPSTREAM_TESTS=1 to fetch and replay live upstream Yardstick tests\")", - "rationale": "reason-15", - "affected_scope": "scope-143" + "rationale": "reason-4", + "affected_scope": "scope-190" }, { "path": "tests/queries/test_yardstick_measures_replay.py", - "line": 774, + "line": 805, "scope": "_replay_yardstick_sql_test", "kind": "skip", "category": "optional-host", @@ -2231,8 +2873,8 @@ "not path.exists()" ], "source": "pytest.skip(f\"Yardstick SQL test file not found: {path}\")", - "rationale": "reason-6", - "affected_scope": "scope-144" + "rationale": "reason-8", + "affected_scope": "scope-191" }, { "path": "tests/semantic_conformance/test_absent_counts.py", @@ -2245,8 +2887,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Absent count acceptance requires the installed Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-145" + "rationale": "reason-5", + "affected_scope": "scope-192" }, { "path": "tests/semantic_conformance/test_active_consumption_cli.py", @@ -2259,8 +2901,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"CLI acceptance requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-146" + "rationale": "reason-5", + "affected_scope": "scope-193" }, { "path": "tests/semantic_conformance/test_active_explores.py", @@ -2273,8 +2915,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Explore acceptance requires the real extension\")", - "rationale": "reason-4", - "affected_scope": "scope-147" + "rationale": "reason-5", + "affected_scope": "scope-194" }, { "path": "tests/semantic_conformance/test_aggregate_aliases.py", @@ -2287,8 +2929,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Alias acceptance requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-148" + "rationale": "reason-5", + "affected_scope": "scope-195" }, { "path": "tests/semantic_conformance/test_aggregate_aliases.py", @@ -2298,8 +2940,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Alias rejection requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-149" + "rationale": "reason-5", + "affected_scope": "scope-196" }, { "path": "tests/semantic_conformance/test_aggregate_breadth_parity.py", @@ -2312,8 +2954,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-150" + "rationale": "reason-5", + "affected_scope": "scope-197" }, { "path": "tests/semantic_conformance/test_approximate_distinct.py", @@ -2326,36 +2968,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-151" - }, - { - "path": "tests/semantic_conformance/test_approximate_distinct.py", - "line": 186, - "scope": "test_approximate_dialect_rendering_and_population_results", - "kind": "skip", - "category": "real-gap", - "exclusion_direction": "python-only-exclusion", - "conditions": [ - "layer.engine == 'python' and shape in {'complete', 'complete_filtered', 'nested_complete'} and (dialect == 'redshift')" - ], - "source": "pytest.skip(\"Python reparses completed Redshift aggregates with its generic SQL parser\")", - "rationale": "reason-17", - "affected_scope": "scope-152" - }, - { - "path": "tests/semantic_conformance/test_approximate_distinct.py", - "line": 288, - "scope": "test_redshift_nested_approximate_expressions_use_independent_parser", - "kind": "skip", - "category": "real-gap", - "exclusion_direction": "python-only-exclusion", - "conditions": [ - "layer.engine != 'rust'" - ], - "source": "pytest.skip(\"Rust target emission; Python reparses Redshift using its generic parser\")", - "rationale": "reason-17", - "affected_scope": "scope-153" + "rationale": "reason-5", + "affected_scope": "scope-198" }, { "path": "tests/semantic_conformance/test_cli.py", @@ -2368,8 +2982,8 @@ "engine == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"The real Rust extension must be installed for acceptance\")", - "rationale": "reason-4", - "affected_scope": "scope-154" + "rationale": "reason-5", + "affected_scope": "scope-199" }, { "path": "tests/semantic_conformance/test_cohort_parity.py", @@ -2382,8 +2996,8 @@ "engine == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Cohort acceptance requires the real extension\")", - "rationale": "reason-4", - "affected_scope": "scope-155" + "rationale": "reason-5", + "affected_scope": "scope-200" }, { "path": "tests/semantic_conformance/test_complete_filters.py", @@ -2396,23 +3010,23 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Complete filter acceptance requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-156" + "rationale": "reason-5", + "affected_scope": "scope-201" }, { "path": "tests/semantic_conformance/test_complete_filters.py", - "line": 146, + "line": 144, "scope": "test_unproven_complete_filter_shapes_fail_explicitly", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Complete filter rejection requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-157" + "rationale": "reason-5", + "affected_scope": "scope-202" }, { "path": "tests/semantic_conformance/test_complete_filters.py", - "line": 183, + "line": 181, "scope": "test_complete_filter_formulas_execute_with_physical_inputs", "kind": "importorskip", "category": "optional-host", @@ -2421,12 +3035,12 @@ "engine == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-158" + "rationale": "reason-5", + "affected_scope": "scope-203" }, { "path": "tests/semantic_conformance/test_complete_filters.py", - "line": 215, + "line": 213, "scope": "test_invalid_complete_sql_keeps_database_validation", "kind": "importorskip", "category": "optional-host", @@ -2435,96 +3049,96 @@ "engine == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-159" + "rationale": "reason-5", + "affected_scope": "scope-204" }, { "path": "tests/semantic_conformance/test_complete_filters.py", - "line": 235, + "line": 233, "scope": "test_foreign_filter_population_fails_explicitly", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Complete filter rejection requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-160" + "rationale": "reason-5", + "affected_scope": "scope-205" }, { "path": "tests/semantic_conformance/test_complete_filters.py", - "line": 575, + "line": 586, "scope": "test_complete_row_count_generator_reuse_observes_graph_changes", "kind": "engine-matrix", "category": "intentional-Python-only", "exclusion_direction": "rust-coverage-exclusion", "source": "pytest.mark.parametrize(\"layer\", [\"python\"], indirect=True)", - "rationale": "reason-91", - "affected_scope": "scope-161" + "rationale": "reason-95", + "affected_scope": "scope-206" }, { "path": "tests/semantic_conformance/test_complete_filters.py", - "line": 577, + "line": 588, "scope": "test_complete_row_count_generator_reuse_observes_graph_changes", "kind": "implementation-import", "category": "intentional-Python-only", "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-161" + "affected_scope": "scope-206" }, { "path": "tests/semantic_conformance/test_complete_filters.py", - "line": 628, + "line": 639, "scope": "test_complete_row_count_role_queries_preserve_caller_caches", "kind": "engine-matrix", "category": "intentional-Python-only", "exclusion_direction": "rust-coverage-exclusion", "source": "pytest.mark.parametrize(\"layer\", [\"python\"], indirect=True)", - "rationale": "reason-92", - "affected_scope": "scope-162" + "rationale": "reason-96", + "affected_scope": "scope-207" }, { "path": "tests/semantic_conformance/test_complete_filters.py", - "line": 630, + "line": 641, "scope": "test_complete_row_count_role_queries_preserve_caller_caches", "kind": "implementation-import", "category": "intentional-Python-only", "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-162" + "affected_scope": "scope-207" }, { "path": "tests/semantic_conformance/test_complete_filters.py", - "line": 665, + "line": 676, "scope": "test_unowned_graph_complete_count_remains_explicitly_unsupported", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-163" + "rationale": "reason-5", + "affected_scope": "scope-208" }, { "path": "tests/semantic_conformance/test_complete_filters.py", - "line": 679, + "line": 690, "scope": "test_tsql_complete_row_count_retains_existing_path", "kind": "engine-matrix", "category": "real-gap", "exclusion_direction": "rust-coverage-exclusion", "source": "pytest.mark.parametrize(\"layer\", [\"python\"], indirect=True)", - "rationale": "reason-93", - "affected_scope": "scope-164" + "rationale": "reason-21", + "affected_scope": "scope-209" }, { "path": "tests/semantic_conformance/test_complete_filters.py", - "line": 682, + "line": 693, "scope": "test_tsql_complete_row_count_retains_existing_path", "kind": "implementation-import", "category": "real-gap", "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-164" + "affected_scope": "scope-209" }, { "path": "tests/semantic_conformance/test_complete_filters_postgres.py", @@ -2537,8 +3151,8 @@ "not dsn" ], "source": "pytest.skip(\"PostgreSQL execution requires SQLCTX_TEST_POSTGRES_DSN\")", - "rationale": "reason-15", - "affected_scope": "scope-165" + "rationale": "reason-4", + "affected_scope": "scope-210" }, { "path": "tests/semantic_conformance/test_complete_filters_postgres.py", @@ -2551,12 +3165,12 @@ "not dsn" ], "source": "pytest.skip(\"PostgreSQL execution requires SQLCTX_TEST_POSTGRES_DSN\")", - "rationale": "reason-15", - "affected_scope": "scope-166" + "rationale": "reason-4", + "affected_scope": "scope-211" }, { "path": "tests/semantic_conformance/test_complete_filters_postgres.py", - "line": 134, + "line": 137, "scope": "test_postgres_filtered_complete_row_count", "kind": "skip", "category": "external-service", @@ -2565,12 +3179,12 @@ "not dsn" ], "source": "pytest.skip(\"PostgreSQL execution requires SQLCTX_TEST_POSTGRES_DSN\")", - "rationale": "reason-15", - "affected_scope": "scope-167" + "rationale": "reason-4", + "affected_scope": "scope-212" }, { "path": "tests/semantic_conformance/test_complete_filters_postgres.py", - "line": 177, + "line": 180, "scope": "test_postgres_filtered_owned_count_family", "kind": "skip", "category": "external-service", @@ -2579,8 +3193,8 @@ "not dsn" ], "source": "pytest.skip(\"PostgreSQL execution requires SQLCTX_TEST_POSTGRES_DSN\")", - "rationale": "reason-15", - "affected_scope": "scope-168" + "rationale": "reason-4", + "affected_scope": "scope-213" }, { "path": "tests/semantic_conformance/test_computed_keys.py", @@ -2589,20 +3203,23 @@ "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", + "conditions": [ + "request.param == 'rust'" + ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Computed-key acceptance requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-169" + "rationale": "reason-5", + "affected_scope": "scope-214" }, { "path": "tests/semantic_conformance/test_computed_keys.py", - "line": 220, + "line": 216, "scope": "test_omitted_native_relationship_key_does_not_classify_ordinary_id", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-170" + "rationale": "reason-5", + "affected_scope": "scope-215" }, { "path": "tests/semantic_conformance/test_conversion_parity.py", @@ -2615,8 +3232,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Conversion acceptance requires the real extension\")", - "rationale": "reason-4", - "affected_scope": "scope-171" + "rationale": "reason-5", + "affected_scope": "scope-216" }, { "path": "tests/semantic_conformance/test_cross_relationship_parity.py", @@ -2629,23 +3246,23 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Cross relationship parity requires the real extension\")", - "rationale": "reason-4", - "affected_scope": "scope-172" + "rationale": "reason-5", + "affected_scope": "scope-217" }, { "path": "tests/semantic_conformance/test_cross_source_windows.py", - "line": 15, + "line": 16, "scope": "test_native_window_expression_preserves_quoted_input_across_dialects", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-173" + "rationale": "reason-5", + "affected_scope": "scope-218" }, { "path": "tests/semantic_conformance/test_cross_source_windows.py", - "line": 43, + "line": 44, "scope": "layer", "kind": "importorskip", "category": "optional-host", @@ -2654,23 +3271,23 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Cross-source window acceptance requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-174" + "rationale": "reason-5", + "affected_scope": "scope-219" }, { "path": "tests/semantic_conformance/test_default_time_differential.py", - "line": 7, + "line": 9, "scope": "", "kind": "implementation-import", "category": "real-gap", "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-175" + "affected_scope": "scope-220" }, { "path": "tests/semantic_conformance/test_default_time_differential.py", - "line": 14, + "line": 15, "scope": "layer", "kind": "importorskip", "category": "optional-host", @@ -2679,8 +3296,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires real native extension\")", - "rationale": "reason-4", - "affected_scope": "scope-176" + "rationale": "reason-5", + "affected_scope": "scope-221" }, { "path": "tests/semantic_conformance/test_dialect_boundary.py", @@ -2693,8 +3310,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires matching native extension\")", - "rationale": "reason-4", - "affected_scope": "scope-177" + "rationale": "reason-5", + "affected_scope": "scope-222" }, { "path": "tests/semantic_conformance/test_dialect_boundary.py", @@ -2707,8 +3324,8 @@ "layer.engine != 'rust'" ], "source": "pytest.skip(\"Native boundary syntax contract; target-dialect result oracle is shared above\")", - "rationale": "reason-95", - "affected_scope": "scope-178" + "rationale": "reason-97", + "affected_scope": "scope-223" }, { "path": "tests/semantic_conformance/test_dialect_boundary.py", @@ -2721,8 +3338,8 @@ "layer.engine != 'rust'" ], "source": "pytest.skip(\"Native rewrite boundary contract\")", - "rationale": "reason-95", - "affected_scope": "scope-179" + "rationale": "reason-97", + "affected_scope": "scope-224" }, { "path": "tests/semantic_conformance/test_dialect_boundary.py", @@ -2735,8 +3352,8 @@ "layer.engine != 'rust'" ], "source": "pytest.skip(\"Native input validation contract\")", - "rationale": "reason-95", - "affected_scope": "scope-180" + "rationale": "reason-97", + "affected_scope": "scope-225" }, { "path": "tests/semantic_conformance/test_dialect_boundary.py", @@ -2749,8 +3366,8 @@ "layer.engine != 'rust'" ], "source": "pytest.skip(\"Native source-dialect literal contract\")", - "rationale": "reason-95", - "affected_scope": "scope-181" + "rationale": "reason-97", + "affected_scope": "scope-226" }, { "path": "tests/semantic_conformance/test_direct_many_relationships.py", @@ -2763,12 +3380,12 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Direct relationship parity requires the real extension\")", - "rationale": "reason-4", - "affected_scope": "scope-182" + "rationale": "reason-5", + "affected_scope": "scope-227" }, { "path": "tests/semantic_conformance/test_feature_parity.py", - "line": 24, + "line": 23, "scope": "engine", "kind": "importorskip", "category": "optional-host", @@ -2777,8 +3394,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Migration acceptance requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-183" + "rationale": "reason-5", + "affected_scope": "scope-228" }, { "path": "tests/semantic_conformance/test_filtered_count_family.py", @@ -2791,41 +3408,41 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Count family acceptance requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-184" + "rationale": "reason-5", + "affected_scope": "scope-229" }, { "path": "tests/semantic_conformance/test_filtered_count_family.py", - "line": 228, + "line": 240, "scope": "test_owned_count_generator_sees_live_graph_changes", "kind": "engine-matrix", "category": "intentional-Python-only", "exclusion_direction": "rust-coverage-exclusion", "source": "pytest.mark.parametrize(\"engine\", [\"python\"])", - "rationale": "reason-91", - "affected_scope": "scope-185" + "rationale": "reason-95", + "affected_scope": "scope-230" }, { "path": "tests/semantic_conformance/test_filtered_count_family.py", - "line": 230, + "line": 242, "scope": "test_owned_count_generator_sees_live_graph_changes", "kind": "implementation-import", "category": "intentional-Python-only", "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-185" + "affected_scope": "scope-230" }, { "path": "tests/semantic_conformance/test_filtered_count_family.py", - "line": 270, + "line": 282, "scope": "test_count_family_does_not_admit_other_filter_scopes", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-186" + "rationale": "reason-5", + "affected_scope": "scope-231" }, { "path": "tests/semantic_conformance/test_filtered_row_expressions.py", @@ -2838,8 +3455,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Row-expression acceptance requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-187" + "rationale": "reason-5", + "affected_scope": "scope-232" }, { "path": "tests/semantic_conformance/test_filtered_row_expressions.py", @@ -2852,8 +3469,8 @@ "not dsn" ], "source": "pytest.skip(\"PostgreSQL execution requires SQLCTX_TEST_POSTGRES_DSN\")", - "rationale": "reason-15", - "affected_scope": "scope-188" + "rationale": "reason-4", + "affected_scope": "scope-233" }, { "path": "tests/semantic_conformance/test_generated_differential.py", @@ -2866,8 +3483,8 @@ "os.environ.get('SQLCTX_DIFFERENTIAL_REQUIRE_RUST', '0') == '1'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Differential execution requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-189" + "rationale": "reason-5", + "affected_scope": "scope-234" }, { "path": "tests/semantic_conformance/test_graph_population_ownership.py", @@ -2880,8 +3497,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-190" + "rationale": "reason-5", + "affected_scope": "scope-235" }, { "path": "tests/semantic_conformance/test_graph_population_ownership.py", @@ -2891,8 +3508,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-191" + "rationale": "reason-5", + "affected_scope": "scope-236" }, { "path": "tests/semantic_conformance/test_many_role_results.py", @@ -2902,12 +3519,12 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-192" + "rationale": "reason-5", + "affected_scope": "scope-237" }, { "path": "tests/semantic_conformance/test_multistep_conversion_parity.py", - "line": 13, + "line": 14, "scope": "layer", "kind": "importorskip", "category": "optional-host", @@ -2916,8 +3533,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Funnel acceptance requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-193" + "rationale": "reason-5", + "affected_scope": "scope-238" }, { "path": "tests/semantic_conformance/test_nested_policy_sql.py", @@ -2927,8 +3544,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Nested policy SQL requires the installed Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-194" + "rationale": "reason-5", + "affected_scope": "scope-239" }, { "path": "tests/semantic_conformance/test_null_fill.py", @@ -2941,8 +3558,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Null-fill acceptance requires the matching Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-195" + "rationale": "reason-5", + "affected_scope": "scope-240" }, { "path": "tests/semantic_conformance/test_ossie_aggregate_inputs.py", @@ -2952,8 +3569,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires the source-built Rust runtime\")", - "rationale": "reason-4", - "affected_scope": "scope-196" + "rationale": "reason-5", + "affected_scope": "scope-241" }, { "path": "tests/semantic_conformance/test_ossie_aggregate_inputs.py", @@ -2963,8 +3580,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-197" + "rationale": "reason-5", + "affected_scope": "scope-242" }, { "path": "tests/semantic_conformance/test_parameterized_segments.py", @@ -2977,8 +3594,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires matching native extension\")", - "rationale": "reason-4", - "affected_scope": "scope-198" + "rationale": "reason-5", + "affected_scope": "scope-243" }, { "path": "tests/semantic_conformance/test_policy_aggregate_parity.py", @@ -2991,8 +3608,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Population acceptance requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-199" + "rationale": "reason-5", + "affected_scope": "scope-244" }, { "path": "tests/semantic_conformance/test_policy_cli.py", @@ -3002,8 +3619,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Policy CLI acceptance requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-200" + "rationale": "reason-5", + "affected_scope": "scope-245" }, { "path": "tests/semantic_conformance/test_postgres_policies.py", @@ -3016,8 +3633,8 @@ "not dsn" ], "source": "pytest.skip(\"PostgreSQL policy execution requires SQLCTX_TEST_POSTGRES_DSN\")", - "rationale": "reason-15", - "affected_scope": "scope-201" + "rationale": "reason-4", + "affected_scope": "scope-246" }, { "path": "tests/semantic_conformance/test_query_catalogs.py", @@ -3030,8 +3647,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Catalog acceptance requires the real extension\")", - "rationale": "reason-4", - "affected_scope": "scope-202" + "rationale": "reason-5", + "affected_scope": "scope-247" }, { "path": "tests/semantic_conformance/test_query_catalogs.py", @@ -3041,8 +3658,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-203" + "rationale": "reason-5", + "affected_scope": "scope-248" }, { "path": "tests/semantic_conformance/test_query_catalogs.py", @@ -3052,8 +3669,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-204" + "rationale": "reason-5", + "affected_scope": "scope-249" }, { "path": "tests/semantic_conformance/test_query_options_parity.py", @@ -3066,8 +3683,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires the actual Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-205" + "rationale": "reason-5", + "affected_scope": "scope-250" }, { "path": "tests/semantic_conformance/test_query_timezone_parity.py", @@ -3080,12 +3697,12 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-206" + "rationale": "reason-5", + "affected_scope": "scope-251" }, { "path": "tests/semantic_conformance/test_reference.py", - "line": 41, + "line": 40, "scope": "test_compiler_results", "kind": "importorskip", "category": "optional-host", @@ -3094,8 +3711,8 @@ "engine == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"The real Rust extension must be installed for acceptance\")", - "rationale": "reason-4", - "affected_scope": "scope-207" + "rationale": "reason-5", + "affected_scope": "scope-252" }, { "path": "tests/semantic_conformance/test_relationship_role_parity.py", @@ -3108,8 +3725,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Scoped role acceptance requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-208" + "rationale": "reason-5", + "affected_scope": "scope-253" }, { "path": "tests/semantic_conformance/test_relative_date_operators.py", @@ -3122,8 +3739,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires the built Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-209" + "rationale": "reason-5", + "affected_scope": "scope-254" }, { "path": "tests/semantic_conformance/test_retention_parity.py", @@ -3136,8 +3753,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Retention parity requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-210" + "rationale": "reason-5", + "affected_scope": "scope-255" }, { "path": "tests/semantic_conformance/test_rewriter_ci_regressions.py", @@ -3150,22 +3767,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-211" - }, - { - "path": "tests/semantic_conformance/test_rewriter_ci_regressions.py", - "line": 115, - "scope": "test_subquery_local_alias_can_shadow_outer_semantic_source", - "kind": "skip", - "category": "intentional-Python-only", - "exclusion_direction": "python-only-exclusion", - "conditions": [ - "layer.engine != 'rust'" - ], - "source": "pytest.skip(\"Native subquery scope regression\")", - "rationale": "reason-95", - "affected_scope": "scope-212" + "rationale": "reason-5", + "affected_scope": "scope-256" }, { "path": "tests/semantic_conformance/test_rewriter_count_keys.py", @@ -3178,12 +3781,12 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-213" + "rationale": "reason-5", + "affected_scope": "scope-257" }, { "path": "tests/semantic_conformance/test_rollup_reconstruction.py", - "line": 14, + "line": 23, "scope": "layer", "kind": "importorskip", "category": "optional-host", @@ -3192,12 +3795,12 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Rollup execution requires the matching Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-214" + "rationale": "reason-5", + "affected_scope": "scope-258" }, { "path": "tests/semantic_conformance/test_rollup_reconstruction.py", - "line": 66, + "line": 75, "scope": "build", "kind": "importorskip", "category": "optional-host", @@ -3206,12 +3809,12 @@ "rust" ], "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-215" + "rationale": "reason-5", + "affected_scope": "scope-259" }, { "path": "tests/semantic_conformance/test_rollup_reconstruction.py", - "line": 342, + "line": 461, "scope": "test_postgres_rollup_reconstruction_executes", "kind": "skip", "category": "external-service", @@ -3220,12 +3823,12 @@ "not dsn" ], "source": "pytest.skip(\"PostgreSQL execution requires SQLCTX_TEST_POSTGRES_DSN\")", - "rationale": "reason-15", - "affected_scope": "scope-216" + "rationale": "reason-4", + "affected_scope": "scope-260" }, { "path": "tests/semantic_conformance/test_rollup_reconstruction.py", - "line": 449, + "line": 583, "scope": "test_colliding_join_dimension_outputs_keep_raw_contract", "kind": "skip", "category": "intentional-Python-only", @@ -3234,33 +3837,19 @@ "layer.engine != 'rust'" ], "source": "pytest.skip(\"Native output-name collision contract\")", - "rationale": "reason-95", - "affected_scope": "scope-217" - }, - { - "path": "tests/semantic_conformance/test_rollup_reconstruction.py", - "line": 466, - "scope": "test_join_rollup_preserves_local_and_role_source_population", - "kind": "skip", - "category": "intentional-Python-only", - "exclusion_direction": "python-only-exclusion", - "conditions": [ - "layer.engine != 'rust'" - ], - "source": "pytest.skip(\"Native effective-anchor routing regression\")", - "rationale": "reason-95", - "affected_scope": "scope-218" + "rationale": "reason-97", + "affected_scope": "scope-261" }, { "path": "tests/semantic_conformance/test_rollup_routing.py", - "line": 15, + "line": 14, "scope": "layer", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Rollup acceptance requires the matching Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-219" + "rationale": "reason-5", + "affected_scope": "scope-262" }, { "path": "tests/semantic_conformance/test_selected_table_calculations.py", @@ -3273,8 +3862,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires real native extension\")", - "rationale": "reason-4", - "affected_scope": "scope-220" + "rationale": "reason-5", + "affected_scope": "scope-263" }, { "path": "tests/semantic_conformance/test_selected_table_calculations.py", @@ -3284,8 +3873,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires real native extension\")", - "rationale": "reason-4", - "affected_scope": "scope-221" + "rationale": "reason-5", + "affected_scope": "scope-264" }, { "path": "tests/semantic_conformance/test_selected_table_calculations.py", @@ -3298,8 +3887,8 @@ "not dsn" ], "source": "pytest.skip(\"PostgreSQL execution requires SQLCTX_TEST_POSTGRES_DSN\")", - "rationale": "reason-15", - "affected_scope": "scope-222" + "rationale": "reason-4", + "affected_scope": "scope-265" }, { "path": "tests/semantic_conformance/test_semantic_sql_binding.py", @@ -3312,8 +3901,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires the built Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-223" + "rationale": "reason-5", + "affected_scope": "scope-266" }, { "path": "tests/semantic_conformance/test_sibling_fanout_parity.py", @@ -3326,8 +3915,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Sibling fanout acceptance requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-224" + "rationale": "reason-5", + "affected_scope": "scope-267" }, { "path": "tests/semantic_conformance/test_snapshot_parity.py", @@ -3340,8 +3929,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Snapshot parity requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-225" + "rationale": "reason-5", + "affected_scope": "scope-268" }, { "path": "tests/semantic_conformance/test_snowflake_dates.py", @@ -3351,8 +3940,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires matching native extension\")", - "rationale": "reason-4", - "affected_scope": "scope-226" + "rationale": "reason-5", + "affected_scope": "scope-269" }, { "path": "tests/semantic_conformance/test_source_null_ordering.py", @@ -3365,8 +3954,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires real native extension\")", - "rationale": "reason-4", - "affected_scope": "scope-227" + "rationale": "reason-5", + "affected_scope": "scope-270" }, { "path": "tests/semantic_conformance/test_source_null_ordering.py", @@ -3376,12 +3965,23 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires real native extension\")", - "rationale": "reason-4", - "affected_scope": "scope-228" + "rationale": "reason-5", + "affected_scope": "scope-271" + }, + { + "path": "tests/semantic_conformance/test_source_null_ordering.py", + "line": 127, + "scope": "test_minimized_four_route_nullable_limit", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"sqlctx_rs\")", + "rationale": "reason-5", + "affected_scope": "scope-272" }, { "path": "tests/semantic_conformance/test_special_population.py", - "line": 12, + "line": 13, "scope": "layer", "kind": "importorskip", "category": "optional-host", @@ -3390,8 +3990,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Population parity requires the real Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-229" + "rationale": "reason-5", + "affected_scope": "scope-273" }, { "path": "tests/semantic_conformance/test_temporal_dialect_fallback.py", @@ -3404,8 +4004,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Temporal dialect parity requires the Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-230" + "rationale": "reason-5", + "affected_scope": "scope-274" }, { "path": "tests/semantic_conformance/test_temporal_null_fill.py", @@ -3418,12 +4018,12 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Temporal fill requires matching installed Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-231" + "rationale": "reason-5", + "affected_scope": "scope-275" }, { "path": "tests/semantic_conformance/test_time_key_projection.py", - "line": 12, + "line": 13, "scope": "layer", "kind": "importorskip", "category": "optional-host", @@ -3432,26 +4032,12 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\")", - "rationale": "reason-4", - "affected_scope": "scope-232" - }, - { - "path": "tests/semantic_conformance/test_time_key_projection.py", - "line": 68, - "scope": "test_time_identity_stays_unbucketed_for_join_and_fanout", - "kind": "skip", - "category": "real-gap", - "exclusion_direction": "python-only-exclusion", - "conditions": [ - "layer.engine != 'rust'" - ], - "source": "pytest.skip(\"Python joins physical keys; native computed-key identity has its own independent oracle\")", - "rationale": "reason-17", - "affected_scope": "scope-233" + "rationale": "reason-5", + "affected_scope": "scope-276" }, { "path": "tests/semantic_conformance/test_window_output_parity.py", - "line": 14, + "line": 13, "scope": "layer", "kind": "importorskip", "category": "optional-host", @@ -3460,12 +4046,12 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Window acceptance requires the Rust extension\")", - "rationale": "reason-4", - "affected_scope": "scope-234" + "rationale": "reason-5", + "affected_scope": "scope-277" }, { "path": "tests/semantic_conformance/test_window_output_parity.py", - "line": 263, + "line": 262, "scope": "rust_layer", "kind": "skip", "category": "intentional-Python-only", @@ -3474,8 +4060,8 @@ "layer.engine != 'rust'" ], "source": "pytest.skip(\"Strict Rust compiler validation contract\")", - "rationale": "reason-95", - "affected_scope": "scope-235" + "rationale": "reason-97", + "affected_scope": "scope-278" }, { "path": "tests/semantic_conformance/test_yardstick_source_dialects.py", @@ -3488,8 +4074,8 @@ "request.param == 'rust'" ], "source": "pytest.importorskip(\"sqlctx_rs\", reason=\"Requires matching native extension\")", - "rationale": "reason-4", - "affected_scope": "scope-236" + "rationale": "reason-5", + "affected_scope": "scope-279" }, { "path": "tests/semantic_conformance/test_yardstick_source_dialects.py", @@ -3502,8 +4088,8 @@ "layer.engine != 'rust'" ], "source": "pytest.skip(\"Existing native direct-call batch contract; public Python rejects strict batches\")", - "rationale": "reason-95", - "affected_scope": "scope-237" + "rationale": "reason-97", + "affected_scope": "scope-280" }, { "path": "tests/server/test_api_security.py", @@ -3513,8 +4099,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"fastapi\")", - "rationale": "reason-4", - "affected_scope": "scope-238" + "rationale": "reason-5", + "affected_scope": "scope-281" }, { "path": "tests/server/test_api_security.py", @@ -3524,8 +4110,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-238" + "rationale": "reason-5", + "affected_scope": "scope-281" }, { "path": "tests/server/test_api_security.py", @@ -3535,8 +4121,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"httpx\")", - "rationale": "reason-4", - "affected_scope": "scope-238" + "rationale": "reason-5", + "affected_scope": "scope-281" }, { "path": "tests/server/test_api_server.py", @@ -3546,8 +4132,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"fastapi\")", - "rationale": "reason-4", - "affected_scope": "scope-239" + "rationale": "reason-5", + "affected_scope": "scope-282" }, { "path": "tests/server/test_api_server.py", @@ -3557,8 +4143,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-239" + "rationale": "reason-5", + "affected_scope": "scope-282" }, { "path": "tests/server/test_api_server.py", @@ -3568,8 +4154,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"httpx\")", - "rationale": "reason-4", - "affected_scope": "scope-239" + "rationale": "reason-5", + "affected_scope": "scope-282" }, { "path": "tests/server/test_api_server.py", @@ -3582,41 +4168,41 @@ "not ui_static_dir().joinpath('index.html').exists()" ], "source": "pytest.skip(\"web UI bundle not built (run scripts/build_webapp.py)\")", - "rationale": "reason-6", - "affected_scope": "scope-240" + "rationale": "reason-8", + "affected_scope": "scope-283" }, { "path": "tests/server/test_concurrency.py", - "line": 21, + "line": 20, "scope": "", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"fastapi\")", - "rationale": "reason-4", - "affected_scope": "scope-241" + "rationale": "reason-5", + "affected_scope": "scope-284" }, { "path": "tests/server/test_concurrency.py", - "line": 22, + "line": 21, "scope": "", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-241" + "rationale": "reason-5", + "affected_scope": "scope-284" }, { "path": "tests/server/test_concurrency.py", - "line": 23, + "line": 22, "scope": "", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"httpx\")", - "rationale": "reason-4", - "affected_scope": "scope-241" + "rationale": "reason-5", + "affected_scope": "scope-284" }, { "path": "tests/server/test_connection.py", @@ -3626,8 +4212,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"riffq\")", - "rationale": "reason-4", - "affected_scope": "scope-242" + "rationale": "reason-5", + "affected_scope": "scope-285" }, { "path": "tests/server/test_connection.py", @@ -3637,8 +4223,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-242" + "rationale": "reason-5", + "affected_scope": "scope-285" }, { "path": "tests/server/test_connection.py", @@ -3648,8 +4234,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"riffq\")", - "rationale": "reason-4", - "affected_scope": "scope-243" + "rationale": "reason-5", + "affected_scope": "scope-286" }, { "path": "tests/server/test_connection.py", @@ -3659,8 +4245,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-243" + "rationale": "reason-5", + "affected_scope": "scope-286" }, { "path": "tests/server/test_connection.py", @@ -3670,8 +4256,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"riffq\")", - "rationale": "reason-4", - "affected_scope": "scope-244" + "rationale": "reason-5", + "affected_scope": "scope-287" }, { "path": "tests/server/test_connection.py", @@ -3681,8 +4267,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-244" + "rationale": "reason-5", + "affected_scope": "scope-287" }, { "path": "tests/server/test_connection.py", @@ -3692,8 +4278,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"riffq\")", - "rationale": "reason-4", - "affected_scope": "scope-245" + "rationale": "reason-5", + "affected_scope": "scope-288" }, { "path": "tests/server/test_connection.py", @@ -3703,8 +4289,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-245" + "rationale": "reason-5", + "affected_scope": "scope-288" }, { "path": "tests/server/test_connection.py", @@ -3714,8 +4300,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"riffq\")", - "rationale": "reason-4", - "affected_scope": "scope-246" + "rationale": "reason-5", + "affected_scope": "scope-289" }, { "path": "tests/server/test_connection.py", @@ -3725,8 +4311,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-246" + "rationale": "reason-5", + "affected_scope": "scope-289" }, { "path": "tests/server/test_connection.py", @@ -3736,8 +4322,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"riffq\")", - "rationale": "reason-4", - "affected_scope": "scope-247" + "rationale": "reason-5", + "affected_scope": "scope-290" }, { "path": "tests/server/test_connection.py", @@ -3747,8 +4333,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-247" + "rationale": "reason-5", + "affected_scope": "scope-290" }, { "path": "tests/server/test_connection.py", @@ -3758,8 +4344,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"riffq\")", - "rationale": "reason-4", - "affected_scope": "scope-248" + "rationale": "reason-5", + "affected_scope": "scope-291" }, { "path": "tests/server/test_connection.py", @@ -3769,8 +4355,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-248" + "rationale": "reason-5", + "affected_scope": "scope-291" }, { "path": "tests/server/test_connection.py", @@ -3780,8 +4366,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"riffq\")", - "rationale": "reason-4", - "affected_scope": "scope-249" + "rationale": "reason-5", + "affected_scope": "scope-292" }, { "path": "tests/server/test_connection.py", @@ -3791,30 +4377,143 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-249" + "rationale": "reason-5", + "affected_scope": "scope-292" }, { "path": "tests/server/test_connection.py", - "line": 308, + "line": 315, "scope": "test_empty_pg_catalog_is_valid", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"riffq\")", - "rationale": "reason-4", - "affected_scope": "scope-250" + "rationale": "reason-5", + "affected_scope": "scope-293" }, { "path": "tests/server/test_connection.py", - "line": 309, + "line": 316, "scope": "test_empty_pg_catalog_is_valid", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-250" + "rationale": "reason-5", + "affected_scope": "scope-293" + }, + { + "path": "tests/server/test_connection.py", + "line": 351, + "scope": "_plain_pg_connection", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"riffq\")", + "rationale": "reason-5", + "affected_scope": "scope-294" + }, + { + "path": "tests/server/test_connection.py", + "line": 352, + "scope": "_plain_pg_connection", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"pyarrow\")", + "rationale": "reason-5", + "affected_scope": "scope-294" + }, + { + "path": "tests/server/test_connection.py", + "line": 487, + "scope": "test_pg_single_statement_with_separator_text_is_not_a_batch", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"riffq\")", + "rationale": "reason-5", + "affected_scope": "scope-295" + }, + { + "path": "tests/server/test_connection.py", + "line": 523, + "scope": "test_pg_inlines_parameters_as_escaped_literals", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"riffq\")", + "rationale": "reason-5", + "affected_scope": "scope-296" + }, + { + "path": "tests/server/test_connection.py", + "line": 541, + "scope": "test_pg_errors_map_to_sqlstates", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"riffq\")", + "rationale": "reason-5", + "affected_scope": "scope-297" + }, + { + "path": "tests/server/test_pg_wire.py", + "line": 18, + "scope": "", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"riffq\")", + "rationale": "reason-5", + "affected_scope": "scope-298" + }, + { + "path": "tests/server/test_pg_wire.py", + "line": 19, + "scope": "", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"pyarrow\")", + "rationale": "reason-5", + "affected_scope": "scope-298" + }, + { + "path": "tests/server/test_pg_wire.py", + "line": 20, + "scope": "", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"psycopg\")", + "rationale": "reason-5", + "affected_scope": "scope-298" + }, + { + "path": "tests/server/test_pg_wire.py", + "line": 24, + "scope": "", + "kind": "skip", + "category": "real-gap", + "exclusion_direction": "both-engines", + "conditions": [ + "not hasattr(riffq, 'Server')" + ], + "source": "pytest.skip(\"requires the real riffq package\", allow_module_level=True)", + "rationale": "reason-20", + "affected_scope": "scope-298" + }, + { + "path": "tests/server/test_pg_wire.py", + "line": 428, + "scope": "test_demo_mode_starts", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"lkml\")", + "rationale": "reason-5", + "affected_scope": "scope-299" }, { "path": "tests/server/test_transport_security_parity.py", @@ -3824,8 +4523,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"fastapi\")", - "rationale": "reason-4", - "affected_scope": "scope-251" + "rationale": "reason-5", + "affected_scope": "scope-300" }, { "path": "tests/server/test_transport_security_parity.py", @@ -3835,8 +4534,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"httpx\")", - "rationale": "reason-4", - "affected_scope": "scope-251" + "rationale": "reason-5", + "affected_scope": "scope-300" }, { "path": "tests/server/test_transport_security_parity.py", @@ -3846,8 +4545,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-251" + "rationale": "reason-5", + "affected_scope": "scope-300" }, { "path": "tests/templates/test_parameters.py", @@ -3858,7 +4557,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-252" + "affected_scope": "scope-301" }, { "path": "tests/test_adapter_integration.py", @@ -3868,8 +4567,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-253" + "rationale": "reason-5", + "affected_scope": "scope-302" }, { "path": "tests/test_adapter_integration.py", @@ -3879,8 +4578,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"riffq\")", - "rationale": "reason-4", - "affected_scope": "scope-254" + "rationale": "reason-5", + "affected_scope": "scope-303" }, { "path": "tests/test_adapter_integration.py", @@ -3890,8 +4589,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-254" + "rationale": "reason-5", + "affected_scope": "scope-303" }, { "path": "tests/test_adapter_integration.py", @@ -3901,8 +4600,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"riffq\")", - "rationale": "reason-4", - "affected_scope": "scope-255" + "rationale": "reason-5", + "affected_scope": "scope-304" }, { "path": "tests/test_adapter_integration.py", @@ -3912,250 +4611,272 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-255" + "rationale": "reason-5", + "affected_scope": "scope-304" }, { "path": "tests/test_adapter_integration.py", - "line": 183, + "line": 189, "scope": "TestServerConnectionAdapterIntegration::test_connection_handler_uses_adapter_for_pg_namespace", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"riffq\")", - "rationale": "reason-4", - "affected_scope": "scope-256" + "rationale": "reason-5", + "affected_scope": "scope-305" }, { "path": "tests/test_adapter_integration.py", - "line": 184, + "line": 190, "scope": "TestServerConnectionAdapterIntegration::test_connection_handler_uses_adapter_for_pg_namespace", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-256" + "rationale": "reason-5", + "affected_scope": "scope-305" }, { "path": "tests/test_adapter_integration.py", - "line": 237, + "line": 243, "scope": "TestServerCatalogAdapterIntegration::test_start_server_uses_adapter_for_catalog_queries", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"riffq\")", - "rationale": "reason-4", - "affected_scope": "scope-257" + "rationale": "reason-5", + "affected_scope": "scope-306" }, { "path": "tests/test_adapter_integration.py", - "line": 307, + "line": 313, "scope": "TestMCPServerAdapterIntegration::test_mcp_run_query_uses_adapter", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"mcp\")", - "rationale": "reason-4", - "affected_scope": "scope-258" + "rationale": "reason-5", + "affected_scope": "scope-307" }, { "path": "tests/test_adapter_integration.py", - "line": 405, + "line": 411, "scope": "TestWorkbenchAdapterIntegration::test_workbench_command_wiring", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"textual\")", - "rationale": "reason-4", - "affected_scope": "scope-259" + "rationale": "reason-5", + "affected_scope": "scope-308" }, { "path": "tests/test_adapter_integration.py", - "line": 466, + "line": 472, "scope": "TestWidgetAdapterIntegration::test_widget_generator_uses_layer_dialect", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-260" + "rationale": "reason-5", + "affected_scope": "scope-309" }, { "path": "tests/test_adapter_integration.py", - "line": 467, + "line": 473, "scope": "TestWidgetAdapterIntegration::test_widget_generator_uses_layer_dialect", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"anywidget\")", - "rationale": "reason-4", - "affected_scope": "scope-260" + "rationale": "reason-5", + "affected_scope": "scope-309" }, { "path": "tests/test_adapter_integration.py", - "line": 514, + "line": 520, "scope": "TestWidgetAdapterIntegration::test_widget_date_range_query_handles_qualified_table", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-261" + "rationale": "reason-5", + "affected_scope": "scope-310" }, { "path": "tests/test_adapter_integration.py", - "line": 515, + "line": 521, "scope": "TestWidgetAdapterIntegration::test_widget_date_range_query_handles_qualified_table", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"anywidget\")", - "rationale": "reason-4", - "affected_scope": "scope-261" + "rationale": "reason-5", + "affected_scope": "scope-310" }, { "path": "tests/test_adapter_integration.py", - "line": 550, + "line": 556, "scope": "TestWidgetAdapterIntegration::test_widget_sets_time_series_column_in_config", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-262" + "rationale": "reason-5", + "affected_scope": "scope-311" }, { "path": "tests/test_adapter_integration.py", - "line": 551, + "line": 557, "scope": "TestWidgetAdapterIntegration::test_widget_sets_time_series_column_in_config", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"anywidget\")", - "rationale": "reason-4", - "affected_scope": "scope-262" + "rationale": "reason-5", + "affected_scope": "scope-311" }, { "path": "tests/test_adapter_integration.py", - "line": 583, + "line": 589, "scope": "TestWidgetAdapterIntegration::test_widget_binary_transport_populates_binary_traits", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-263" + "rationale": "reason-5", + "affected_scope": "scope-312" }, { "path": "tests/test_adapter_integration.py", - "line": 584, + "line": 590, "scope": "TestWidgetAdapterIntegration::test_widget_binary_transport_populates_binary_traits", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"anywidget\")", - "rationale": "reason-4", - "affected_scope": "scope-263" + "rationale": "reason-5", + "affected_scope": "scope-312" }, { "path": "tests/test_adapter_integration.py", - "line": 620, + "line": 626, "scope": "TestWidgetAdapterIntegration::test_widget_uses_adapter_in_layer_mode", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-264" + "rationale": "reason-5", + "affected_scope": "scope-313" }, { "path": "tests/test_adapter_integration.py", - "line": 621, + "line": 627, "scope": "TestWidgetAdapterIntegration::test_widget_uses_adapter_in_layer_mode", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"anywidget\")", - "rationale": "reason-4", - "affected_scope": "scope-264" + "rationale": "reason-5", + "affected_scope": "scope-313" }, { "path": "tests/test_adapter_integration.py", - "line": 659, + "line": 665, "scope": "TestWidgetAdapterIntegration::test_widget_execute_routes_through_adapter", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-265" + "rationale": "reason-5", + "affected_scope": "scope-314" }, { "path": "tests/test_adapter_integration.py", - "line": 660, + "line": 666, "scope": "TestWidgetAdapterIntegration::test_widget_execute_routes_through_adapter", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"anywidget\")", - "rationale": "reason-4", - "affected_scope": "scope-265" + "rationale": "reason-5", + "affected_scope": "scope-314" }, { "path": "tests/test_adapter_integration.py", - "line": 715, + "line": 721, "scope": "TestWidgetAdapterIntegration::test_widget_dataframe_mode_uses_raw_connection", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-266" + "rationale": "reason-5", + "affected_scope": "scope-315" }, { "path": "tests/test_adapter_integration.py", - "line": 716, + "line": 722, "scope": "TestWidgetAdapterIntegration::test_widget_dataframe_mode_uses_raw_connection", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"anywidget\")", - "rationale": "reason-4", - "affected_scope": "scope-266" + "rationale": "reason-5", + "affected_scope": "scope-315" }, { "path": "tests/test_adapter_integration.py", - "line": 717, + "line": 723, "scope": "TestWidgetAdapterIntegration::test_widget_dataframe_mode_uses_raw_connection", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"polars\")", - "rationale": "reason-4", - "affected_scope": "scope-266" + "rationale": "reason-5", + "affected_scope": "scope-315" }, { "path": "tests/test_adapter_integration.py", - "line": 747, + "line": 753, "scope": "TestWidgetAdapterIntegration::test_widget_execute_arrow_uses_fetch_record_batch", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-267" + "rationale": "reason-5", + "affected_scope": "scope-316" }, { "path": "tests/test_adapter_integration.py", - "line": 748, + "line": 754, "scope": "TestWidgetAdapterIntegration::test_widget_execute_arrow_uses_fetch_record_batch", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"anywidget\")", - "rationale": "reason-4", - "affected_scope": "scope-267" + "rationale": "reason-5", + "affected_scope": "scope-316" + }, + { + "path": "tests/test_adapter_integration.py", + "line": 828, + "scope": "test_widget_dataframe_arrow_uses_supported_duckdb_reader", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"pyarrow\")", + "rationale": "reason-5", + "affected_scope": "scope-317" + }, + { + "path": "tests/test_adapter_integration.py", + "line": 829, + "scope": "test_widget_dataframe_arrow_uses_supported_duckdb_reader", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"anywidget\")", + "rationale": "reason-5", + "affected_scope": "scope-317" }, { "path": "tests/test_bugfix_batch.py", @@ -4166,7 +4887,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-268" + "affected_scope": "scope-318" }, { "path": "tests/test_charts.py", @@ -4176,8 +4897,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.skip(\"altair not installed - chart generation unavailable\")", - "rationale": "reason-6", - "affected_scope": "scope-269" + "rationale": "reason-8", + "affected_scope": "scope-319" }, { "path": "tests/test_charts.py", @@ -4187,8 +4908,8 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.skip(\"altair not installed\")", - "rationale": "reason-6", - "affected_scope": "scope-270" + "rationale": "reason-8", + "affected_scope": "scope-320" }, { "path": "tests/test_charts.py", @@ -4198,74 +4919,162 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.skip(\"altair not installed\")", - "rationale": "reason-6", - "affected_scope": "scope-271" + "rationale": "reason-8", + "affected_scope": "scope-321" + }, + { + "path": "tests/test_charts.py", + "line": 57, + "scope": "test_single_metric_chart_has_real_axis_without_mutating_records", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"altair\")", + "rationale": "reason-5", + "affected_scope": "scope-322" + }, + { + "path": "tests/test_charts.py", + "line": 58, + "scope": "test_single_metric_chart_has_real_axis_without_mutating_records", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"vl_convert\")", + "rationale": "reason-5", + "affected_scope": "scope-322" + }, + { + "path": "tests/test_charts.py", + "line": 71, + "scope": "test_y_only_chart_keeps_requested_metric", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"altair\")", + "rationale": "reason-5", + "affected_scope": "scope-323" + }, + { + "path": "tests/test_charts.py", + "line": 72, + "scope": "test_y_only_chart_keeps_requested_metric", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"vl_convert\")", + "rationale": "reason-5", + "affected_scope": "scope-323" + }, + { + "path": "tests/test_charts.py", + "line": 84, + "scope": "test_all_metrics_with_synthetic_axis_are_rendered", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"altair\")", + "rationale": "reason-5", + "affected_scope": "scope-324" + }, + { + "path": "tests/test_charts.py", + "line": 85, + "scope": "test_all_metrics_with_synthetic_axis_are_rendered", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"vl_convert\")", + "rationale": "reason-5", + "affected_scope": "scope-324" + }, + { + "path": "tests/test_charts.py", + "line": 104, + "scope": "test_x_only_chart_keeps_requested_dimension", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"altair\")", + "rationale": "reason-5", + "affected_scope": "scope-325" + }, + { + "path": "tests/test_charts.py", + "line": 105, + "scope": "test_x_only_chart_keeps_requested_dimension", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"vl_convert\")", + "rationale": "reason-5", + "affected_scope": "scope-325" }, { "path": "tests/test_cli_commands.py", - "line": 442, + "line": 443, "scope": "test_workbench_calls_runner", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"textual\")", - "rationale": "reason-4", - "affected_scope": "scope-272" + "rationale": "reason-5", + "affected_scope": "scope-326" }, { "path": "tests/test_cli_commands.py", - "line": 722, + "line": 726, "scope": "test_api_serve_calls_start_server", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"fastapi\")", - "rationale": "reason-4", - "affected_scope": "scope-273" + "rationale": "reason-5", + "affected_scope": "scope-327" }, { "path": "tests/test_cli_commands.py", - "line": 787, + "line": 791, "scope": "test_api_serve_legacy_warning_precedes_start_server", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"fastapi\")", - "rationale": "reason-4", - "affected_scope": "scope-274" + "rationale": "reason-5", + "affected_scope": "scope-328" }, { "path": "tests/test_cli_commands.py", - "line": 1091, + "line": 1162, "scope": "test_http_entrypoints_forward_trusted_identity", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"fastapi\")", - "rationale": "reason-4", - "affected_scope": "scope-275" + "rationale": "reason-5", + "affected_scope": "scope-329" }, { "path": "tests/test_cli_contract.py", - "line": 917, + "line": 1040, "scope": "test_api_auth_token_can_be_read_from_stdin", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"fastapi\")", - "rationale": "reason-4", - "affected_scope": "scope-276" + "rationale": "reason-5", + "affected_scope": "scope-330" }, { "path": "tests/test_cli_project_contract.py", - "line": 287, + "line": 289, "scope": "test_dashboard_serve_discovers_default_spec_and_project", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"fastapi\")", - "rationale": "reason-4", - "affected_scope": "scope-277" + "rationale": "reason-5", + "affected_scope": "scope-331" }, { "path": "tests/test_cli_t2_contract.py", @@ -4275,52 +5084,99 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"fastapi\")", - "rationale": "reason-4", - "affected_scope": "scope-278" + "rationale": "reason-5", + "affected_scope": "scope-332" }, { "path": "tests/test_dashboard.py", - "line": 150, + "line": 152, "scope": "test_crossfilter_dashboard_asgi_app_routes_requests_without_eager_preagg", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"fastapi\")", - "rationale": "reason-4", - "affected_scope": "scope-279" + "rationale": "reason-5", + "affected_scope": "scope-333" }, { "path": "tests/test_dashboard.py", - "line": 151, + "line": 153, "scope": "test_crossfilter_dashboard_asgi_app_routes_requests_without_eager_preagg", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"httpx\")", - "rationale": "reason-4", - "affected_scope": "scope-279" + "rationale": "reason-5", + "affected_scope": "scope-333" }, { "path": "tests/test_dashboard.py", - "line": 182, + "line": 184, "scope": "test_crossfilter_dashboard_asgi_app_loads_non_initial_tab_specs_lazily", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"fastapi\")", - "rationale": "reason-4", - "affected_scope": "scope-280" + "rationale": "reason-5", + "affected_scope": "scope-334" }, { "path": "tests/test_dashboard.py", - "line": 183, + "line": 185, "scope": "test_crossfilter_dashboard_asgi_app_loads_non_initial_tab_specs_lazily", "kind": "importorskip", "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"httpx\")", - "rationale": "reason-4", - "affected_scope": "scope-280" + "rationale": "reason-5", + "affected_scope": "scope-334" + }, + { + "path": "tests/test_example_result_conversions.py", + "line": 53, + "scope": "test_result_converts_to_arrow_and_polars", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"pyarrow\")", + "rationale": "reason-5", + "affected_scope": "scope-335" + }, + { + "path": "tests/test_example_result_conversions.py", + "line": 54, + "scope": "test_result_converts_to_arrow_and_polars", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"polars\")", + "rationale": "reason-5", + "affected_scope": "scope-335" + }, + { + "path": "tests/test_example_result_conversions.py", + "line": 65, + "scope": "test_result_fetches_rows_and_pandas", + "kind": "importorskip", + "category": "optional-host", + "exclusion_direction": "both-engines", + "source": "pytest.importorskip(\"pandas\")", + "rationale": "reason-5", + "affected_scope": "scope-336" + }, + { + "path": "tests/test_manpage.py", + "line": 79, + "scope": "test_checked_in_manpage_matches_live_cli", + "kind": "skip", + "category": "real-gap", + "exclusion_direction": "both-engines", + "conditions": [ + "('' in rendered) != ('' in checked_in)" + ], + "source": "pytest.skip(\"the installed Typer spells option metavars differently from the checked-in page\")", + "rationale": "reason-20", + "affected_scope": "scope-337" }, { "path": "tests/test_mcp_apps.py", @@ -4330,8 +5186,22 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"mcp\")", - "rationale": "reason-4", - "affected_scope": "scope-281" + "rationale": "reason-5", + "affected_scope": "scope-338" + }, + { + "path": "tests/test_mcp_server.py", + "line": 60, + "scope": "test_registered_query_tools_leave_event_loop_responsive", + "kind": "skip", + "category": "real-gap", + "exclusion_direction": "both-engines", + "conditions": [ + "not hasattr(mcp_mod.mcp, 'call_tool')" + ], + "source": "pytest.skip(\"Real MCP SDK required for tool dispatch coverage\")", + "rationale": "reason-20", + "affected_scope": "scope-339" }, { "path": "tests/test_native_build_cache.py", @@ -4344,8 +5214,8 @@ "uv is None" ], "source": "pytest.skip(\"uv is required to exercise its wheel cache\")", - "rationale": "reason-6", - "affected_scope": "scope-282" + "rationale": "reason-8", + "affected_scope": "scope-340" }, { "path": "tests/test_performance.py", @@ -4356,7 +5226,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.query_rewriter import QueryRewriter", "rationale": "reason-2", - "affected_scope": "scope-283" + "affected_scope": "scope-341" }, { "path": "tests/test_performance.py", @@ -4367,7 +5237,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.query_rewriter import QueryRewriter", "rationale": "reason-2", - "affected_scope": "scope-284" + "affected_scope": "scope-342" }, { "path": "tests/test_performance.py", @@ -4378,7 +5248,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-285" + "affected_scope": "scope-343" }, { "path": "tests/test_performance.py", @@ -4389,7 +5259,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-286" + "affected_scope": "scope-344" }, { "path": "tests/test_performance.py", @@ -4400,7 +5270,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-287" + "affected_scope": "scope-345" }, { "path": "tests/test_performance.py", @@ -4411,7 +5281,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.query_rewriter import QueryRewriter", "rationale": "reason-2", - "affected_scope": "scope-288" + "affected_scope": "scope-346" }, { "path": "tests/test_performance.py", @@ -4422,7 +5292,40 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-289" + "affected_scope": "scope-347" + }, + { + "path": "tests/test_preaggregation_correctness.py", + "line": 16, + "scope": "rollup_layer", + "kind": "engine-control", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "SemanticLayer(auto_register=False, engine=\"python\")", + "rationale": "reason-13", + "affected_scope": "scope-348" + }, + { + "path": "tests/test_preaggregation_correctness.py", + "line": 477, + "scope": "test_rollup_grain_is_bound_to_its_own_time_dimension", + "kind": "engine-control", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "SemanticLayer(auto_register=False, engine=\"python\")", + "rationale": "reason-13", + "affected_scope": "scope-349" + }, + { + "path": "tests/test_preaggregation_correctness.py", + "line": 572, + "scope": "test_finalized_rollup_cannot_regroup_secondary_time_dimension", + "kind": "engine-control", + "category": "real-gap", + "exclusion_direction": "rust-coverage-exclusion", + "source": "SemanticLayer(auto_register=False, engine=\"python\")", + "rationale": "reason-13", + "affected_scope": "scope-350" }, { "path": "tests/test_query_fragment_boundary.py", @@ -4433,7 +5336,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.query_rewriter import QueryRewriter", "rationale": "reason-2", - "affected_scope": "scope-290" + "affected_scope": "scope-351" }, { "path": "tests/test_query_fragment_boundary.py", @@ -4444,7 +5347,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.query_rewriter import QueryRewriter", "rationale": "reason-2", - "affected_scope": "scope-291" + "affected_scope": "scope-352" }, { "path": "tests/test_sql_generation_security.py", @@ -4455,7 +5358,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-292" + "affected_scope": "scope-353" }, { "path": "tests/test_sql_generation_security.py", @@ -4466,7 +5369,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-293" + "affected_scope": "scope-354" }, { "path": "tests/test_sql_generation_security.py", @@ -4477,7 +5380,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-294" + "affected_scope": "scope-355" }, { "path": "tests/test_sql_generation_security.py", @@ -4488,7 +5391,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-295" + "affected_scope": "scope-356" }, { "path": "tests/test_sql_generation_security.py", @@ -4499,7 +5402,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-296" + "affected_scope": "scope-357" }, { "path": "tests/test_sql_generation_security.py", @@ -4510,7 +5413,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.generator import SQLGenerator", "rationale": "reason-2", - "affected_scope": "scope-297" + "affected_scope": "scope-358" }, { "path": "tests/test_workbench_demo.py", @@ -4521,7 +5424,7 @@ "exclusion_direction": "rust-coverage-exclusion", "source": "from sqlctx.sql.query_rewriter import QueryRewriter", "rationale": "reason-2", - "affected_scope": "scope-298" + "affected_scope": "scope-359" }, { "path": "tests/widget/test_widget_examples.py", @@ -4531,311 +5434,19 @@ "category": "optional-host", "exclusion_direction": "both-engines", "source": "pytest.importorskip(\"pyarrow\")", - "rationale": "reason-4", - "affected_scope": "scope-299" + "rationale": "reason-5", + "affected_scope": "scope-360" } ], - "execution_evidence": { - "label": "PR 409 review working tree based on 5ca50124, Python 3.13 / DuckDB 1.5.6 / rebuilt native engine. Full Rust shared lane before the final Python local-calculation and funnel DATE-expectation fixes: 11724 passed, 147 skipped, 2 failed. Both failures were the funnel DATE expectation; after repair its full module passed 45 tests. Final calculation follow-ups: 2913 conformance passes plus those two repaired assertions, 958 metric/query passes, and 520/520 generated inputs agreed.", - "testcases": 11873, - "skipped": 147, - "failures": 2, - "errors": 0, - "skip_reasons": { - "Existing native direct-call batch contract; public Python rejects strict batches": 2, - "Native boundary syntax contract; target-dialect result oracle is shared above": 5, - "Native effective-anchor routing regression": 2, - "Native input validation contract": 1, - "Native output-name collision contract": 1, - "Native rewrite boundary contract": 3, - "Native source-dialect literal contract": 12, - "Native subquery scope regression": 1, - "PostgreSQL adapter available, tested in integration tests": 1, - "PostgreSQL execution requires SQLCTX_TEST_POSTGRES_DSN": 44, - "PostgreSQL policy execution requires SQLCTX_TEST_POSTGRES_DSN": 36, - "Python joins physical keys; native computed-key identity has its own independent oracle": 1, - "Python reparses completed Redshift aggregates with its generic SQL parser": 3, - "Rust target emission; Python reparses Redshift using its generic parser": 3, - "Set SQLCTX_YARDSTICK_UPSTREAM_TESTS=1 to fetch and replay live upstream Yardstick tests": 2, - "Strict Rust compiler validation contract": 9, - "could not import 'anywidget': No module named 'anywidget'": 8, - "could not import 'textual': No module named 'textual'": 2, - "set SQLCTX_DAX_ONLINE_CONFORMANCE=1 to probe DAX Formatter": 11 - }, - "limitations": "JUnit does not enumerate deselected tests. Historical results do not validate current edits.", - "omissions_by_reason": { - "set SQLCTX_DAX_ONLINE_CONFORMANCE=1 to probe DAX Formatter": { - "category": "external-service", - "type": "pytest.skip", - "tests": [ - "tests.dax.test_online_conformance::test_stable_syntax_matches_dax_formatter[expression-=sumx(filter('Sales','Sales'[Amount]>100),'Sales'[Amount])]", - "tests.dax.test_online_conformance::test_stable_syntax_matches_dax_formatter[query-EVALUATE {(1,2),(3,4)}]", - "tests.dax.test_online_conformance::test_stable_syntax_matches_dax_formatter[query-DEFINE MEASURE 'S'[M]=SUM('S'[A]) VAR threshold=10 EVALUATE ROW(\"m\",[M])]", - "tests.dax.test_online_conformance::test_stable_syntax_matches_dax_formatter[query-DEFINE FUNCTION myUdf=(x:NUMERIC)=>x EVALUATE {myUdf(1)}]", - "tests.dax.test_online_conformance::test_stable_syntax_matches_dax_formatter[query-DEFINE TABLE data=ROW(\"Year\",2000,\"IsTotal\",FALSE()) WITH VISUAL SHAPE AXIS ROWS GROUP [Year] TOTAL [IsTotal] ORDER BY [Year] DENSIFY \"IsDensified\" EVALUATE data]", - "tests.dax.test_online_conformance::test_stable_syntax_is_accepted_by_dax_formatter[=dt\"2020-12-15T12:30:59\"]", - "tests.dax.test_online_conformance::test_stable_syntax_is_accepted_by_dax_formatter[EVALUATE DATATABLE(\"A\", INTEGER, \"B\", STRING, {{1, \"x\"}, {2,}})]", - "tests.dax.test_online_conformance::test_stable_syntax_is_accepted_by_dax_formatter[EVALUATE FILTER('Product', ('Product'[Color], 'Product'[Brand]) IN {(\"Red\", \"Contoso\")})]", - "tests.dax.test_online_conformance::test_stable_syntax_is_accepted_by_dax_formatter[\\n DEFINE\\n TABLE data = ROW(\"Year\", 2000, \"IsTotal\", FALSE())\\n WITH VISUAL SHAPE\\n AXIS ROWS GROUP [Year] TOTAL [IsTotal] ORDER BY [Year]\\n DENSIFY \"IsDensified\"\\n EVALUATE data\\n ]", - "tests.dax.test_online_conformance::test_udf_defaults_are_known_sqlbi_lag", - "tests.dax.test_online_conformance::test_local_semantic_checks_are_stricter_than_formatter" - ] - }, - "PostgreSQL adapter available, tested in integration tests": { - "category": "external-service", - "type": "pytest.skip", - "tests": [ - "tests.db.test_semantic_layer_adapters::test_postgres_url_recognized" - ] - }, - "Set SQLCTX_YARDSTICK_UPSTREAM_TESTS=1 to fetch and replay live upstream Yardstick tests": { - "category": "external-service", - "type": "pytest.skip", - "tests": [ - "tests.queries.test_yardstick_measures_replay::test_yardstick_upstream_create_view_definitions", - "tests.queries.test_yardstick_measures_replay::test_yardstick_upstream_sql_replay" - ] - }, - "Python reparses completed Redshift aggregates with its generic SQL parser": { - "category": "real-gap", - "type": "pytest.skip", - "tests": [ - "tests.semantic_conformance.test_approximate_distinct::test_approximate_dialect_rendering_and_population_results[python-complete-redshift-APPROXIMATE COUNT]", - "tests.semantic_conformance.test_approximate_distinct::test_approximate_dialect_rendering_and_population_results[python-complete_filtered-redshift-APPROXIMATE COUNT]", - "tests.semantic_conformance.test_approximate_distinct::test_approximate_dialect_rendering_and_population_results[python-nested_complete-redshift-APPROXIMATE COUNT]" - ] - }, - "Rust target emission; Python reparses Redshift using its generic parser": { - "category": "real-gap", - "type": "pytest.skip", - "tests": [ - "tests.semantic_conformance.test_approximate_distinct::test_redshift_nested_approximate_expressions_use_independent_parser[python-ROUND(COALESCE(APPROX_COUNT_DISTINCT(user_id), 0), 0)]", - "tests.semantic_conformance.test_approximate_distinct::test_redshift_nested_approximate_expressions_use_independent_parser[python-GREATEST(APPROX_COUNT_DISTINCT(user_id), 0)]", - "tests.semantic_conformance.test_approximate_distinct::test_redshift_nested_approximate_expressions_use_independent_parser[python-NULLIF(APPROX_COUNT_DISTINCT(user_id), 0)]" - ] - }, - "PostgreSQL execution requires SQLCTX_TEST_POSTGRES_DSN": { - "category": "external-service", - "type": "pytest.skip", - "tests": [ - "tests.semantic_conformance.test_complete_filters_postgres::test_complete_filters_preserve_identifier_identity[SUM(orders.Amount)-orders.Amount > 0-5]", - "tests.semantic_conformance.test_complete_filters_postgres::test_complete_filters_preserve_identifier_identity[SUM(orders.\"Amount\")-orders.\"Amount\" > 0-30]", - "tests.semantic_conformance.test_complete_filters_postgres::test_complete_filters_preserve_identifier_identity[AVG(orders.Amount)-orders.Amount > 0-2.5]", - "tests.semantic_conformance.test_complete_filters_postgres::test_complete_filters_preserve_identifier_identity[AVG(orders.\"Amount\")-orders.\"Amount\" > 0-15]", - "tests.semantic_conformance.test_complete_filters_postgres::test_complete_filters_preserve_identifier_identity[COUNT(DISTINCT orders.\"Amount\")-orders.\"Amount\" > 0-2]", - "tests.semantic_conformance.test_complete_filters_postgres::test_complete_filters_preserve_identifier_identity[COUNT(DISTINCT orders.Amount)-orders.Amount > 0-2]", - "tests.semantic_conformance.test_complete_filters_postgres::test_complete_filters_preserve_identifier_identity[SUM(orders.Amount)-orders.Amount > 0 AND orders.\"Amount\" = 10 AND orders.label = 'orders.Amount'-2]", - "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_float_fanout_average_preserves_values[none]", - "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_float_fanout_average_preserves_values[average]", - "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_float_fanout_average_preserves_values[sum]", - "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_complete_row_count[grouped]", - "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_complete_row_count[no_matches]", - "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_complete_row_count[empty]", - "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_owned_count_family[grouped-model]", - "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_owned_count_family[grouped-graph]", - "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_owned_count_family[empty-model]", - "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_owned_count_family[empty-graph]", - "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_owned_count_family[no_matches-model]", - "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_owned_count_family[no_matches-graph]", - "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_owned_count_family[fanout-model]", - "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_owned_count_family[fanout-graph]", - "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[False-price * qty - COALESCE(rebate, 0)-expected0-model]", - "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[False-price * qty - COALESCE(rebate, 0)-expected0-graph]", - "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[False-COALESCE(price * qty, 7)-expected1-model]", - "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[False-COALESCE(price * qty, 7)-expected1-graph]", - "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[False-CASE WHEN qty > 0 THEN price * qty ELSE 9 END-expected2-model]", - "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[False-CASE WHEN qty > 0 THEN price * qty ELSE 9 END-expected2-graph]", - "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[True-price * qty - COALESCE(rebate, 0)-expected0-model]", - "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[True-price * qty - COALESCE(rebate, 0)-expected0-graph]", - "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[True-COALESCE(price * qty, 7)-expected1-model]", - "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[True-COALESCE(price * qty, 7)-expected1-graph]", - "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[True-CASE WHEN qty > 0 THEN price * qty ELSE 9 END-expected2-model]", - "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[True-CASE WHEN qty > 0 THEN price * qty ELSE 9 END-expected2-graph]", - "tests.semantic_conformance.test_rollup_reconstruction::test_postgres_rollup_reconstruction_executes[direct]", - "tests.semantic_conformance.test_rollup_reconstruction::test_postgres_rollup_reconstruction_executes[join]", - "tests.semantic_conformance.test_rollup_reconstruction::test_postgres_rollup_reconstruction_executes[lambda]", - "tests.semantic_conformance.test_selected_table_calculations::test_postgres_calculation_results_match_processor[python-population0]", - "tests.semantic_conformance.test_selected_table_calculations::test_postgres_calculation_results_match_processor[python-population1]", - "tests.semantic_conformance.test_selected_table_calculations::test_postgres_calculation_results_match_processor[python-population2]", - "tests.semantic_conformance.test_selected_table_calculations::test_postgres_calculation_results_match_processor[python-population3]", - "tests.semantic_conformance.test_selected_table_calculations::test_postgres_calculation_results_match_processor[rust-population0]", - "tests.semantic_conformance.test_selected_table_calculations::test_postgres_calculation_results_match_processor[rust-population1]", - "tests.semantic_conformance.test_selected_table_calculations::test_postgres_calculation_results_match_processor[rust-population2]", - "tests.semantic_conformance.test_selected_table_calculations::test_postgres_calculation_results_match_processor[rust-population3]" - ] - }, - "Native boundary syntax contract; target-dialect result oracle is shared above": { - "category": "intentional-Python-only", - "type": "pytest.skip", - "tests": [ - "tests.semantic_conformance.test_dialect_boundary::test_native_declared_graph_and_query_syntax[python-bigquery-IFNULL(`amount`, 0)-`orders`.`tenant` = 1-`orders`.`label` DESC NULLS LAST]", - "tests.semantic_conformance.test_dialect_boundary::test_native_declared_graph_and_query_syntax[python-mysql-IFNULL(`amount`, 0)-`orders`.`tenant` = 1-`orders`.`label` DESC]", - "tests.semantic_conformance.test_dialect_boundary::test_native_declared_graph_and_query_syntax[python-tsql-ISNULL([amount], 0)-[orders].[tenant] = 1-[orders].[label] DESC]", - "tests.semantic_conformance.test_dialect_boundary::test_native_declared_graph_and_query_syntax[python-snowflake-COALESCE(\"amount\", 0)-\"orders\".\"tenant\" = 1-\"orders\".\"label\" DESC NULLS LAST]", - "tests.semantic_conformance.test_dialect_boundary::test_native_declared_graph_and_query_syntax[python-postgres-COALESCE(\"amount\", 0)-\"orders\".\"tenant\" = 1-\"orders\".\"label\" DESC NULLS LAST]" - ] - }, - "Native rewrite boundary contract": { - "category": "intentional-Python-only", - "type": "pytest.skip", - "tests": [ - "tests.semantic_conformance.test_dialect_boundary::test_native_rewrite_syntax_and_policy_context[python-bigquery-`]", - "tests.semantic_conformance.test_dialect_boundary::test_native_rewrite_syntax_and_policy_context[python-mysql-`]", - "tests.semantic_conformance.test_dialect_boundary::test_native_rewrite_syntax_and_policy_context[python-postgres-\"]" - ] - }, - "Native input validation contract": { - "category": "intentional-Python-only", - "type": "pytest.skip", - "tests": [ - "tests.semantic_conformance.test_dialect_boundary::test_native_fragment_framing_and_source_snapshot[python]" - ] - }, - "Native source-dialect literal contract": { - "category": "intentional-Python-only", - "type": "pytest.skip", - "tests": [ - "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-a\\\\b-mysql]", - "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-a\\\\b-bigquery]", - "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-a\\\\b-snowflake]", - "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-a\\\\b-spark]", - "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-a\\\\' OR 1=1 ---mysql]", - "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-a\\\\' OR 1=1 ---bigquery]", - "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-a\\\\' OR 1=1 ---snowflake]", - "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-a\\\\' OR 1=1 ---spark]", - "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-O'Brien-mysql]", - "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-O'Brien-bigquery]", - "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-O'Brien-snowflake]", - "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-O'Brien-spark]" - ] - }, - "PostgreSQL policy execution requires SQLCTX_TEST_POSTGRES_DSN": { - "category": "external-service", - "type": "pytest.skip", - "tests": [ - "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[alice-True-10-compile]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[alice-True-10-rewrite]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[O'Brien-True-7-compile]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[O'Brien-True-7-rewrite]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[x' OR '1'='1-True-11-compile]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[x' OR '1'='1-True-11-rewrite]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[back\\\\slash' OR TRUE ---True-13-compile]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[back\\\\slash' OR TRUE ---True-13-rewrite]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[None-False-17-compile]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[None-False-17-rewrite]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_policy_denial_produces_no_sql[None-compile]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_policy_denial_produces_no_sql[None-rewrite]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_policy_denial_produces_no_sql[attributes1-compile]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_policy_denial_produces_no_sql[attributes1-rewrite]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_policy_denial_produces_no_sql[attributes2-compile]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_policy_denial_produces_no_sql[attributes2-rewrite]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_policy_denial_produces_no_sql[attributes3-compile]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_policy_denial_produces_no_sql[attributes3-rewrite]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_visibility_is_enforced_only_when_requested[compile]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_visibility_is_enforced_only_when_requested[rewrite]", - "tests.semantic_conformance.test_postgres_policies::test_other_policy_output_dialects_preserve_population[compile]", - "tests.semantic_conformance.test_postgres_policies::test_other_policy_output_dialects_preserve_population[rewrite]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_translates_year_in_policy_and_invariant[compile]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_translates_year_in_policy_and_invariant[rewrite]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_date_diff_policy_is_not_claimed_equivalent[compile]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_date_diff_policy_is_not_claimed_equivalent[rewrite]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_public_paths_reach_rust_with_transport_syntax[compile]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_public_paths_reach_rust_with_transport_syntax[query]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_public_paths_reach_rust_with_transport_syntax[sql]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_public_paths_reach_rust_with_transport_syntax[rewriter]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_public_denial_does_not_fall_back[compile]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_public_denial_does_not_fall_back[sql]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_transport_normalizes_declared_graph_dialect", - "tests.semantic_conformance.test_postgres_policies::test_explicit_postgres_graph_input_preserves_policy_results", - "tests.semantic_conformance.test_postgres_policies::test_postgres_public_null_ordering_matches_adapter[query]", - "tests.semantic_conformance.test_postgres_policies::test_postgres_public_null_ordering_matches_adapter[sql]" - ] - }, - "Native subquery scope regression": { - "category": "intentional-Python-only", - "type": "pytest.skip", - "tests": [ - "tests.semantic_conformance.test_rewriter_ci_regressions::test_subquery_local_alias_can_shadow_outer_semantic_source[python]" - ] - }, - "Native output-name collision contract": { - "category": "intentional-Python-only", - "type": "pytest.skip", - "tests": [ - "tests.semantic_conformance.test_rollup_reconstruction::test_colliding_join_dimension_outputs_keep_raw_contract[python]" - ] - }, - "Native effective-anchor routing regression": { - "category": "intentional-Python-only", - "type": "pytest.skip", - "tests": [ - "tests.semantic_conformance.test_rollup_reconstruction::test_join_rollup_preserves_local_and_role_source_population[python-local-first]", - "tests.semantic_conformance.test_rollup_reconstruction::test_join_rollup_preserves_local_and_role_source_population[python-role-owner]" - ] - }, - "Python joins physical keys; native computed-key identity has its own independent oracle": { - "category": "real-gap", - "type": "pytest.skip", - "tests": [ - "tests.semantic_conformance.test_time_key_projection::test_time_identity_stays_unbucketed_for_join_and_fanout[python]" - ] - }, - "Strict Rust compiler validation contract": { - "category": "intentional-Python-only", - "type": "pytest.skip", - "tests": [ - "tests.semantic_conformance.test_window_output_parity::test_window_dependency_cycles_return_validation_errors[python-references0]", - "tests.semantic_conformance.test_window_output_parity::test_window_dependency_cycles_return_validation_errors[python-references1]", - "tests.semantic_conformance.test_window_output_parity::test_quoted_output_expression_is_generated_for_bigquery[python]", - "tests.semantic_conformance.test_window_output_parity::test_graph_window_rejects_missing_or_ambiguous_period_metric[python-missing]", - "tests.semantic_conformance.test_window_output_parity::test_graph_window_rejects_missing_or_ambiguous_period_metric[python-daily_amount]", - "tests.semantic_conformance.test_window_output_parity::test_scalar_window_expression_is_typed_unsupported[python-base.daily_amount]", - "tests.semantic_conformance.test_window_output_parity::test_scalar_window_expression_is_typed_unsupported[python-base.daily_amount + 1]", - "tests.semantic_conformance.test_window_output_parity::test_scalar_window_expression_is_typed_unsupported[python-SUM(base.daily_amount) + 1]", - "tests.semantic_conformance.test_window_output_parity::test_scalar_window_expression_is_typed_unsupported[python-ABS(base.daily_amount)]" - ] - }, - "Existing native direct-call batch contract; public Python rejects strict batches": { - "category": "intentional-Python-only", - "type": "pytest.skip", - "tests": [ - "tests.semantic_conformance.test_yardstick_source_dialects::test_native_ordinary_statement_batches_retain_both_results[python-bigquery-`]", - "tests.semantic_conformance.test_yardstick_source_dialects::test_native_ordinary_statement_batches_retain_both_results[python-snowflake-\"]" - ] - }, - "could not import 'textual': No module named 'textual'": { - "category": "optional-host", - "type": "pytest.skip", - "tests": [ - "tests.test_adapter_integration.TestWorkbenchAdapterIntegration::test_workbench_command_wiring", - "tests.test_cli_commands::test_workbench_calls_runner" - ] - }, - "could not import 'anywidget': No module named 'anywidget'": { - "category": "optional-host", - "type": "pytest.skip", - "tests": [ - "tests.test_adapter_integration.TestWidgetAdapterIntegration::test_widget_generator_uses_layer_dialect", - "tests.test_adapter_integration.TestWidgetAdapterIntegration::test_widget_date_range_query_handles_qualified_table", - "tests.test_adapter_integration.TestWidgetAdapterIntegration::test_widget_sets_time_series_column_in_config", - "tests.test_adapter_integration.TestWidgetAdapterIntegration::test_widget_binary_transport_populates_binary_traits", - "tests.test_adapter_integration.TestWidgetAdapterIntegration::test_widget_uses_adapter_in_layer_mode", - "tests.test_adapter_integration.TestWidgetAdapterIntegration::test_widget_execute_routes_through_adapter", - "tests.test_adapter_integration.TestWidgetAdapterIntegration::test_widget_dataframe_mode_uses_raw_connection", - "tests.test_adapter_integration.TestWidgetAdapterIntegration::test_widget_execute_arrow_uses_fetch_record_batch" - ] - } - } - }, - "affected_scopes": { - "scope-1": { - "path": "tests/adapters/bsl/test_parsing.py", - "declared_tests": [ - "TestBSLCurrentSyntaxSupport::test_deferred_calculated_measure_compiles" - ], - "collected_tests": [ - "tests/adapters/bsl/test_parsing.py::TestBSLCurrentSyntaxSupport::test_deferred_calculated_measure_compiles" - ] + "affected_scopes": { + "scope-1": { + "path": "tests/adapters/bsl/test_parsing.py", + "declared_tests": [ + "TestBSLCurrentSyntaxSupport::test_deferred_calculated_measure_compiles" + ], + "collected_tests": [ + "tests/adapters/bsl/test_parsing.py::TestBSLCurrentSyntaxSupport::test_deferred_calculated_measure_compiles" + ] }, "scope-2": { "path": "tests/adapters/bsl/test_parsing.py", @@ -4928,6 +5539,15 @@ ] }, "scope-12": { + "path": "tests/adapters/gooddata/test_key_fidelity.py", + "declared_tests": [ + "test_compound_grain_and_reordered_targets_execute_correct_join" + ], + "collected_tests": [ + "tests/adapters/gooddata/test_key_fidelity.py::test_compound_grain_and_reordered_targets_execute_correct_join" + ] + }, + "scope-13": { "path": "tests/adapters/metricflow/test_parsing.py", "declared_tests": [ "test_metricflow_adapter_join_discovery", @@ -4948,7 +5568,54 @@ "tests/adapters/metricflow/test_parsing.py::test_metricflow_disabled_model_skips_inline_metrics" ] }, - "scope-13": { + "scope-14": { + "path": "tests/adapters/official/test_official.py", + "declared_tests": [ + "test_real_offline_cli_import_export_and_query" + ], + "collected_tests": [ + "tests/adapters/official/test_official.py::test_real_offline_cli_import_export_and_query[lightdash-LightdashAdapter]", + "tests/adapters/official/test_official.py::test_real_offline_cli_import_export_and_query[sigma-SigmaAdapter]" + ] + }, + "scope-15": { + "path": "tests/adapters/official/test_official.py", + "declared_tests": [ + "test_real_calculated_field_reference_cannot_bind_to_physical_collision", + "test_real_explicit_physical_reference_preserves_renamed_column", + "test_real_sigma_export_refuses_corrupted_source_paths_without_publication", + "test_real_sigma_import_refuses_ambiguous_source_components", + "test_real_sigma_simple_source_path_roundtrip" + ], + "collected_tests": [ + "tests/adapters/official/test_official.py::test_real_calculated_field_reference_cannot_bind_to_physical_collision[lightdash]", + "tests/adapters/official/test_official.py::test_real_calculated_field_reference_cannot_bind_to_physical_collision[sigma]", + "tests/adapters/official/test_official.py::test_real_explicit_physical_reference_preserves_renamed_column[lightdash]", + "tests/adapters/official/test_official.py::test_real_explicit_physical_reference_preserves_renamed_column[sigma]", + "tests/adapters/official/test_official.py::test_real_sigma_import_refuses_ambiguous_source_components[path0]", + "tests/adapters/official/test_official.py::test_real_sigma_import_refuses_ambiguous_source_components[path1]", + "tests/adapters/official/test_official.py::test_real_sigma_import_refuses_ambiguous_source_components[path2]", + "tests/adapters/official/test_official.py::test_real_sigma_import_refuses_ambiguous_source_components[path3]", + "tests/adapters/official/test_official.py::test_real_sigma_import_refuses_ambiguous_source_components[path4]", + "tests/adapters/official/test_official.py::test_real_sigma_import_refuses_ambiguous_source_components[path5]", + "tests/adapters/official/test_official.py::test_real_sigma_export_refuses_corrupted_source_paths_without_publication[\"a.b\"]", + "tests/adapters/official/test_official.py::test_real_sigma_export_refuses_corrupted_source_paths_without_publication[schema.\"a.b\"]", + "tests/adapters/official/test_official.py::test_real_sigma_export_refuses_corrupted_source_paths_without_publication[\"My Orders\"]", + "tests/adapters/official/test_official.py::test_real_sigma_export_refuses_corrupted_source_paths_without_publication[\"orders\"]", + "tests/adapters/official/test_official.py::test_real_sigma_simple_source_path_roundtrip" + ] + }, + "scope-16": { + "path": "tests/adapters/omni/test_fidelity_regressions.py", + "declared_tests": [ + "test_native_layout_topics_and_non_equi_join_roundtrip" + ], + "collected_tests": [ + "tests/adapters/omni/test_fidelity_regressions.py::test_native_layout_topics_and_non_equi_join_roundtrip[python]", + "tests/adapters/omni/test_fidelity_regressions.py::test_native_layout_topics_and_non_equi_join_roundtrip[rust]" + ] + }, + "scope-17": { "path": "tests/adapters/osi/conftest.py", "declared_tests": [ "tests/adapters/osi/test_ossie_adapter.py::test_historical_osi_class_spelling_routes_to_canonical_adapter", @@ -5366,7 +6033,7 @@ "tests/adapters/osi/test_rust_parity.py::test_osi_export_resolves_model_inheritance" ] }, - "scope-14": { + "scope-18": { "path": "tests/adapters/osi/test_parsing.py", "declared_tests": [ "TestMdbMemberKnowledgeFixture::test_ai_context_on_all_datasets", @@ -5717,7 +6384,7 @@ "tests/adapters/osi/test_parsing.py::TestMdbMemberKnowledgeFixture::test_event_dataset" ] }, - "scope-15": { + "scope-19": { "path": "tests/adapters/osi/test_query_execution.py", "declared_tests": [ "test_osi_adtech_example_cross_model_metrics_execute", @@ -5728,7 +6395,7 @@ "tests/adapters/osi/test_query_execution.py::test_osi_adtech_example_cross_model_metrics_execute" ] }, - "scope-16": { + "scope-20": { "path": "tests/adapters/osi/test_rust_parity.py", "declared_tests": [ "test_osi_export_parity", @@ -5764,7 +6431,7 @@ "tests/adapters/osi/test_rust_parity.py::test_osi_export_resolves_model_inheritance" ] }, - "scope-17": { + "scope-21": { "path": "tests/adapters/sqlctx_adapter/test_parsing.py", "declared_tests": [ "test_dimension_window_in_sql_generation" @@ -5773,7 +6440,7 @@ "tests/adapters/sqlctx_adapter/test_parsing.py::test_dimension_window_in_sql_generation" ] }, - "scope-18": { + "scope-22": { "path": "tests/adapters/tableau/test_real_world.py", "declared_tests": [ "test_sf_trial_joined_metric_uses_collection_sql", @@ -5784,7 +6451,7 @@ "tests/adapters/tableau/test_real_world.py::test_shapes_joined_dimension_uses_collection_sql" ] }, - "scope-19": { + "scope-23": { "path": "tests/adapters/tableau/test_real_world.py", "declared_tests": [ "test_cast_calcs_table_and_fields", @@ -5849,7 +6516,7 @@ "tests/adapters/tableau/test_real_world.py::test_unicode_content" ] }, - "scope-20": { + "scope-24": { "path": "tests/adapters/tableau/test_relation_types.py", "declared_tests": [ "test_legacy_object_graph_has_no_semantic_metadata" @@ -5858,7 +6525,7 @@ "tests/adapters/tableau/test_relation_types.py::test_legacy_object_graph_has_no_semantic_metadata" ] }, - "scope-21": { + "scope-25": { "path": "tests/adapters/test_added_fixture_coverage.py", "declared_tests": [ "test_added_fixtures_execute_sql_for_execution_candidates", @@ -5997,7 +6664,7 @@ "tests/adapters/test_added_fixture_coverage.py::test_added_fixtures_execute_sql_for_execution_candidates" ] }, - "scope-22": { + "scope-26": { "path": "tests/adapters/test_added_fixture_coverage.py", "declared_tests": [ "test_added_fixtures_execute_sql_for_execution_candidates", @@ -6008,7 +6675,42 @@ "tests/adapters/test_added_fixture_coverage.py::test_added_fixtures_execute_sql_for_execution_candidates" ] }, - "scope-23": { + "scope-27": { + "path": "tests/adapters/test_export_roundtrip.py", + "declared_tests": [ + "test_export_round_trips_or_reports_each_loss" + ], + "collected_tests": [ + "tests/adapters/test_export_roundtrip.py::test_export_round_trips_or_reports_each_loss[atscale-sml]", + "tests/adapters/test_export_roundtrip.py::test_export_round_trips_or_reports_each_loss[bsl]", + "tests/adapters/test_export_roundtrip.py::test_export_round_trips_or_reports_each_loss[cube]", + "tests/adapters/test_export_roundtrip.py::test_export_round_trips_or_reports_each_loss[gooddata]", + "tests/adapters/test_export_roundtrip.py::test_export_round_trips_or_reports_each_loss[hex]", + "tests/adapters/test_export_roundtrip.py::test_export_round_trips_or_reports_each_loss[holistics]", + "tests/adapters/test_export_roundtrip.py::test_export_round_trips_or_reports_each_loss[lookml]", + "tests/adapters/test_export_roundtrip.py::test_export_round_trips_or_reports_each_loss[malloy]", + "tests/adapters/test_export_roundtrip.py::test_export_round_trips_or_reports_each_loss[metricflow]", + "tests/adapters/test_export_roundtrip.py::test_export_round_trips_or_reports_each_loss[omni]", + "tests/adapters/test_export_roundtrip.py::test_export_round_trips_or_reports_each_loss[ossie]", + "tests/adapters/test_export_roundtrip.py::test_export_round_trips_or_reports_each_loss[rill]", + "tests/adapters/test_export_roundtrip.py::test_export_round_trips_or_reports_each_loss[snowflake]", + "tests/adapters/test_export_roundtrip.py::test_export_round_trips_or_reports_each_loss[sqlctx]", + "tests/adapters/test_export_roundtrip.py::test_export_round_trips_or_reports_each_loss[superset]", + "tests/adapters/test_export_roundtrip.py::test_export_round_trips_or_reports_each_loss[thoughtspot]", + "tests/adapters/test_export_roundtrip.py::test_export_round_trips_or_reports_each_loss[tmdl]" + ] + }, + "scope-28": { + "path": "tests/adapters/test_export_roundtrip.py", + "declared_tests": [ + "test_official_bridge_refuses_the_reference_model_by_name" + ], + "collected_tests": [ + "tests/adapters/test_export_roundtrip.py::test_official_bridge_refuses_the_reference_model_by_name[lightdash]", + "tests/adapters/test_export_roundtrip.py::test_official_bridge_refuses_the_reference_model_by_name[sigma]" + ] + }, + "scope-29": { "path": "tests/adapters/test_fixture_functionality_contracts.py", "declared_tests": [ "test_execution_candidate_materializes_invariant_filter_columns", @@ -6385,7 +7087,7 @@ "tests/adapters/test_fixture_functionality_contracts.py::test_fixture_adapter_exact_execution_semantics" ] }, - "scope-24": { + "scope-30": { "path": "tests/adapters/test_fixture_functionality_contracts.py", "declared_tests": [ "test_fixture_adapter_exact_execution_semantics", @@ -6400,7 +7102,60 @@ "tests/adapters/test_fixture_functionality_contracts.py::test_fixture_adapter_exact_execution_semantics" ] }, - "scope-25": { + "scope-31": { + "path": "tests/adapters/tmdl/test_aggregation_semantics.py", + "declared_tests": [ + "test_aggregations_use_physical_source_column", + "test_distinctcount_applies_to_each_group_and_preserves_dax_on_export", + "test_distinctcount_preserves_blank_and_empty_input" + ], + "collected_tests": [ + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[native-sAlEs[rEvEnUe]-amount]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[native-sAlEs[rEvEnUe]-source amount]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[native-sAlEs[rEvEnUe]-select]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[native-sAlEs[rEvEnUe]-amount.raw]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[native-sAlEs[rEvEnUe]-amount\"quoted]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[native-[rEvEnUe]-amount]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[native-[rEvEnUe]-source amount]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[native-[rEvEnUe]-select]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[native-[rEvEnUe]-amount.raw]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[native-[rEvEnUe]-amount\"quoted]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[fallback-sAlEs[rEvEnUe]-amount]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[fallback-sAlEs[rEvEnUe]-source amount]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[fallback-sAlEs[rEvEnUe]-select]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[fallback-sAlEs[rEvEnUe]-amount.raw]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[fallback-sAlEs[rEvEnUe]-amount\"quoted]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[fallback-[rEvEnUe]-amount]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[fallback-[rEvEnUe]-source amount]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[fallback-[rEvEnUe]-select]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[fallback-[rEvEnUe]-amount.raw]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_aggregations_use_physical_source_column[fallback-[rEvEnUe]-amount\"quoted]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_distinctcount_preserves_blank_and_empty_input[native-values0-expected0]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_distinctcount_preserves_blank_and_empty_input[native-values1-expected1]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_distinctcount_preserves_blank_and_empty_input[native-values2-expected2]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_distinctcount_preserves_blank_and_empty_input[native-values3-expected3]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_distinctcount_preserves_blank_and_empty_input[fallback-values0-expected0]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_distinctcount_preserves_blank_and_empty_input[fallback-values1-expected1]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_distinctcount_preserves_blank_and_empty_input[fallback-values2-expected2]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_distinctcount_preserves_blank_and_empty_input[fallback-values3-expected3]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_distinctcount_applies_to_each_group_and_preserves_dax_on_export[native]", + "tests/adapters/tmdl/test_aggregation_semantics.py::test_distinctcount_applies_to_each_group_and_preserves_dax_on_export[fallback]" + ] + }, + "scope-32": { + "path": "tests/adapters/tmdl/test_export_fidelity.py", + "declared_tests": [ + "test_exported_counts_preserve_boolean_null_and_empty_semantics", + "test_sql_column_resolves_to_dax_display_name" + ], + "collected_tests": [ + "tests/adapters/tmdl/test_export_fidelity.py::test_exported_counts_preserve_boolean_null_and_empty_semantics[values0-expected0]", + "tests/adapters/tmdl/test_export_fidelity.py::test_exported_counts_preserve_boolean_null_and_empty_semantics[values1-expected1]", + "tests/adapters/tmdl/test_export_fidelity.py::test_exported_counts_preserve_boolean_null_and_empty_semantics[values2-expected2]", + "tests/adapters/tmdl/test_export_fidelity.py::test_sql_column_resolves_to_dax_display_name" + ] + }, + "scope-33": { "path": "tests/adapters/tmdl/test_parsing.py", "declared_tests": [ "test_tmdl_dax_only_calculated_table_is_not_compiled_as_sql", @@ -6411,7 +7166,7 @@ "tests/adapters/tmdl/test_parsing.py::test_tmdl_dax_only_calculated_table_is_not_compiled_as_sql" ] }, - "scope-26": { + "scope-34": { "path": "tests/adapters/tmdl/test_parsing.py", "declared_tests": [ "test_tmdl_parses_dax_ast_when_available" @@ -6420,7 +7175,7 @@ "tests/adapters/tmdl/test_parsing.py::test_tmdl_parses_dax_ast_when_available" ] }, - "scope-27": { + "scope-35": { "path": "tests/adapters/tmdl/test_parsing.py", "declared_tests": [ "test_tmdl_inactive_relationship_is_preserved_and_excluded_from_graph_paths" @@ -6429,7 +7184,7 @@ "tests/adapters/tmdl/test_parsing.py::test_tmdl_inactive_relationship_is_preserved_and_excluded_from_graph_paths" ] }, - "scope-28": { + "scope-36": { "path": "tests/adapters/tmdl/test_parsing.py", "declared_tests": [ "test_tmdl_invalid_relationship_edges_are_skipped" @@ -6438,7 +7193,7 @@ "tests/adapters/tmdl/test_parsing.py::test_tmdl_invalid_relationship_edges_are_skipped" ] }, - "scope-29": { + "scope-37": { "path": "tests/adapters/tmdl/test_parsing.py", "declared_tests": [ "test_tmdl_warning_fixture_collects_relationship_warnings" @@ -6447,7 +7202,7 @@ "tests/adapters/tmdl/test_parsing.py::test_tmdl_warning_fixture_collects_relationship_warnings" ] }, - "scope-30": { + "scope-38": { "path": "tests/adapters/tmdl/test_parsing.py", "declared_tests": [ "test_tmdl_export_preserves_native_dax_authored_sources" @@ -6456,7 +7211,7 @@ "tests/adapters/tmdl/test_parsing.py::test_tmdl_export_preserves_native_dax_authored_sources" ] }, - "scope-31": { + "scope-39": { "path": "tests/adapters/tmdl/test_parsing.py", "declared_tests": [ "test_tmdl_dax_reduction_semantics" @@ -6465,7 +7220,7 @@ "tests/adapters/tmdl/test_parsing.py::test_tmdl_dax_reduction_semantics" ] }, - "scope-32": { + "scope-40": { "path": "tests/adapters/tmdl/test_parsing.py", "declared_tests": [ "test_tmdl_real_fixture_reductions_reference_real_columns" @@ -6474,7 +7229,7 @@ "tests/adapters/tmdl/test_parsing.py::test_tmdl_real_fixture_reductions_reference_real_columns" ] }, - "scope-33": { + "scope-41": { "path": "tests/adapters/tmdl/test_parsing.py", "declared_tests": [ "test_tmdl_deeply_nested_dax_does_not_crash_import" @@ -6483,7 +7238,7 @@ "tests/adapters/tmdl/test_parsing.py::test_tmdl_deeply_nested_dax_does_not_crash_import" ] }, - "scope-34": { + "scope-42": { "path": "tests/adapters/tmdl/test_parsing.py", "declared_tests": [ "test_tmdl_keyless_many_to_many_joins_without_keying_off_endpoints" @@ -6492,7 +7247,7 @@ "tests/adapters/tmdl/test_parsing.py::test_tmdl_keyless_many_to_many_joins_without_keying_off_endpoints" ] }, - "scope-35": { + "scope-43": { "path": "tests/adapters/tmdl/test_parsing.py", "declared_tests": [ "test_tmdl_keyless_many_to_many_metric_raises_clear_error" @@ -6501,7 +7256,7 @@ "tests/adapters/tmdl/test_parsing.py::test_tmdl_keyless_many_to_many_metric_raises_clear_error" ] }, - "scope-36": { + "scope-44": { "path": "tests/adapters/tmdl/test_parsing.py", "declared_tests": [ "test_tmdl_many_to_many_on_non_primary_key_column" @@ -6510,7 +7265,7 @@ "tests/adapters/tmdl/test_parsing.py::test_tmdl_many_to_many_on_non_primary_key_column" ] }, - "scope-37": { + "scope-45": { "path": "tests/adapters/tmdl/test_parsing.py", "declared_tests": [ "test_tmdl_one_to_one_recovers_keyless_source_key" @@ -6519,7 +7274,7 @@ "tests/adapters/tmdl/test_parsing.py::test_tmdl_one_to_one_recovers_keyless_source_key" ] }, - "scope-38": { + "scope-46": { "path": "tests/adapters/tmdl/test_parsing.py", "declared_tests": [ "test_tmdl_one_to_one_alternate_key_does_not_shadow_real_key" @@ -6528,7 +7283,7 @@ "tests/adapters/tmdl/test_parsing.py::test_tmdl_one_to_one_alternate_key_does_not_shadow_real_key" ] }, - "scope-39": { + "scope-47": { "path": "tests/adapters/tmdl/test_parsing.py", "declared_tests": [ "test_tmdl_ambiguous_one_side_target_not_recovered_from_endpoint" @@ -6537,7 +7292,7 @@ "tests/adapters/tmdl/test_parsing.py::test_tmdl_ambiguous_one_side_target_not_recovered_from_endpoint" ] }, - "scope-40": { + "scope-48": { "path": "tests/core/test_cross_surface_equivalence.py", "declared_tests": [ "test_execution_results_match_across_surfaces", @@ -6576,7 +7331,7 @@ "tests/core/test_cross_surface_equivalence.py::test_pg_server_executes_previewed_sql[ratio_metric]" ] }, - "scope-41": { + "scope-49": { "path": "tests/core/test_cross_surface_equivalence.py", "declared_tests": [ "test_pg_server_executes_previewed_sql" @@ -6590,7 +7345,43 @@ "tests/core/test_cross_surface_equivalence.py::test_pg_server_executes_previewed_sql[ratio_metric]" ] }, - "scope-42": { + "scope-50": { + "path": "tests/core/test_directed_relationships.py", + "declared_tests": [ + "test_dimension_first_query_selects_permitted_anchor_and_keeps_inner_predicate", + "test_directed_cycle_deduplicates_the_actual_join_target", + "test_multiple_metric_grains_use_permitted_anchor_in_each_population", + "test_nested_role_projects_incoming_relationship_keys", + "test_one_to_many_derived_metric_keeps_its_own_aggregate_grain", + "test_target_side_measure_is_not_duplicated_by_permitted_join" + ], + "collected_tests": [ + "tests/core/test_directed_relationships.py::test_dimension_first_query_selects_permitted_anchor_and_keeps_inner_predicate", + "tests/core/test_directed_relationships.py::test_target_side_measure_is_not_duplicated_by_permitted_join[many_to_one-False]", + "tests/core/test_directed_relationships.py::test_target_side_measure_is_not_duplicated_by_permitted_join[many_to_one-True]", + "tests/core/test_directed_relationships.py::test_target_side_measure_is_not_duplicated_by_permitted_join[many_to_many-False]", + "tests/core/test_directed_relationships.py::test_target_side_measure_is_not_duplicated_by_permitted_join[many_to_many-True]", + "tests/core/test_directed_relationships.py::test_target_side_measure_is_not_duplicated_by_permitted_join[cross-False]", + "tests/core/test_directed_relationships.py::test_target_side_measure_is_not_duplicated_by_permitted_join[cross-True]", + "tests/core/test_directed_relationships.py::test_directed_cycle_deduplicates_the_actual_join_target[False]", + "tests/core/test_directed_relationships.py::test_directed_cycle_deduplicates_the_actual_join_target[True]", + "tests/core/test_directed_relationships.py::test_multiple_metric_grains_use_permitted_anchor_in_each_population[metrics0]", + "tests/core/test_directed_relationships.py::test_multiple_metric_grains_use_permitted_anchor_in_each_population[metrics1]", + "tests/core/test_directed_relationships.py::test_one_to_many_derived_metric_keeps_its_own_aggregate_grain[False-False]", + "tests/core/test_directed_relationships.py::test_one_to_many_derived_metric_keeps_its_own_aggregate_grain[False-True]", + "tests/core/test_directed_relationships.py::test_one_to_many_derived_metric_keeps_its_own_aggregate_grain[True-False]", + "tests/core/test_directed_relationships.py::test_one_to_many_derived_metric_keeps_its_own_aggregate_grain[True-True]", + "tests/core/test_directed_relationships.py::test_nested_role_projects_incoming_relationship_keys[many_to_one-None-False]", + "tests/core/test_directed_relationships.py::test_nested_role_projects_incoming_relationship_keys[many_to_one-None-True]", + "tests/core/test_directed_relationships.py::test_nested_role_projects_incoming_relationship_keys[many_to_one-region_key-False]", + "tests/core/test_directed_relationships.py::test_nested_role_projects_incoming_relationship_keys[many_to_one-region_key-True]", + "tests/core/test_directed_relationships.py::test_nested_role_projects_incoming_relationship_keys[one_to_many-None-False]", + "tests/core/test_directed_relationships.py::test_nested_role_projects_incoming_relationship_keys[one_to_many-None-True]", + "tests/core/test_directed_relationships.py::test_nested_role_projects_incoming_relationship_keys[one_to_one-None-False]", + "tests/core/test_directed_relationships.py::test_nested_role_projects_incoming_relationship_keys[one_to_one-None-True]" + ] + }, + "scope-51": { "path": "tests/core/test_invariant_filters.py", "declared_tests": [ "test_legacy_python_sql_generator_falls_back_for_invariants" @@ -6599,7 +7390,7 @@ "tests/core/test_invariant_filters.py::test_legacy_python_sql_generator_falls_back_for_invariants" ] }, - "scope-43": { + "scope-52": { "path": "tests/core/test_relationship_role_aliases.py", "declared_tests": [ "test_many_to_many_through_column_check_uses_scoped_target_instance", @@ -6614,7 +7405,7 @@ "tests/core/test_relationship_role_aliases.py::test_many_to_many_through_column_check_uses_scoped_target_instance" ] }, - "scope-44": { + "scope-53": { "path": "tests/core/test_relationship_role_aliases.py", "declared_tests": [ "test_optional_rust_modes_fall_back_when_backend_rejects_roles" @@ -6623,7 +7414,7 @@ "tests/core/test_relationship_role_aliases.py::test_optional_rust_modes_fall_back_when_backend_rejects_roles" ] }, - "scope-45": { + "scope-54": { "path": "tests/core/test_relationship_role_aliases.py", "declared_tests": [ "test_strict_rust_modes_propagate_backend_role_rejection" @@ -6633,7 +7424,94 @@ "tests/core/test_relationship_role_aliases.py::test_strict_rust_modes_propagate_backend_role_rejection[generation]" ] }, - "scope-46": { + "scope-55": { + "path": "tests/core/test_required_filters.py", + "declared_tests": [ + "test_graph_metric_and_intermediate_join_model", + "test_sql_group_fields_and_aliases", + "test_sql_scopes_aliases_and_engine_dispatch", + "test_yardstick_wrapper_cannot_bypass_requirements" + ], + "collected_tests": [ + "tests/core/test_required_filters.py::test_graph_metric_and_intermediate_join_model", + "tests/core/test_required_filters.py::test_sql_scopes_aliases_and_engine_dispatch[False]", + "tests/core/test_required_filters.py::test_sql_scopes_aliases_and_engine_dispatch[True]", + "tests/core/test_required_filters.py::test_sql_group_fields_and_aliases[test_name]", + "tests/core/test_required_filters.py::test_sql_group_fields_and_aliases[test]", + "tests/core/test_required_filters.py::test_yardstick_wrapper_cannot_bypass_requirements[False]", + "tests/core/test_required_filters.py::test_yardstick_wrapper_cannot_bypass_requirements[True]" + ] + }, + "scope-56": { + "path": "tests/core/test_required_filters.py", + "declared_tests": [ + "test_api_returns_400_and_accepts_date_picker", + "test_cached_sql_observes_policy_mutations", + "test_cli_filter_error_and_success", + "test_date_picker_filter", + "test_default_off", + "test_engine_dispatch_cannot_bypass_requirements", + "test_filter_only_model_and_multiple_requirements", + "test_graph_metric_and_intermediate_join_model", + "test_grouping_is_per_field_and_only_for_or_groups", + "test_invariants_do_not_satisfy_caller_obligations", + "test_output_alias_cannot_satisfy_required_filter", + "test_pgwire_transport_and_raw_bypass", + "test_predicate_subquery_does_not_satisfy_outer_read", + "test_segments_explore_defaults_and_mandatory_filters", + "test_sql_group_fields_and_aliases", + "test_sql_scopes_aliases_and_engine_dispatch", + "test_unrelated_filters_and_literals_do_not_satisfy", + "test_yaml_roundtrip_and_inheritance", + "test_yardstick_wrapper_cannot_bypass_requirements" + ], + "collected_tests": [ + "tests/core/test_required_filters.py::test_engine_dispatch_cannot_bypass_requirements[python]", + "tests/core/test_required_filters.py::test_engine_dispatch_cannot_bypass_requirements[rust]", + "tests/core/test_required_filters.py::test_engine_dispatch_cannot_bypass_requirements[auto]", + "tests/core/test_required_filters.py::test_unrelated_filters_and_literals_do_not_satisfy[filters0]", + "tests/core/test_required_filters.py::test_unrelated_filters_and_literals_do_not_satisfy[filters1]", + "tests/core/test_required_filters.py::test_unrelated_filters_and_literals_do_not_satisfy[filters2]", + "tests/core/test_required_filters.py::test_unrelated_filters_and_literals_do_not_satisfy[filters3]", + "tests/core/test_required_filters.py::test_date_picker_filter[events.event_date]", + "tests/core/test_required_filters.py::test_date_picker_filter[\"events\".\"event_date\"]", + "tests/core/test_required_filters.py::test_date_picker_filter[events.event_date__day]", + "tests/core/test_required_filters.py::test_grouping_is_per_field_and_only_for_or_groups", + "tests/core/test_required_filters.py::test_segments_explore_defaults_and_mandatory_filters", + "tests/core/test_required_filters.py::test_invariants_do_not_satisfy_caller_obligations", + "tests/core/test_required_filters.py::test_graph_metric_and_intermediate_join_model", + "tests/core/test_required_filters.py::test_sql_scopes_aliases_and_engine_dispatch[False]", + "tests/core/test_required_filters.py::test_sql_scopes_aliases_and_engine_dispatch[True]", + "tests/core/test_required_filters.py::test_sql_group_fields_and_aliases[test_name]", + "tests/core/test_required_filters.py::test_sql_group_fields_and_aliases[test]", + "tests/core/test_required_filters.py::test_yaml_roundtrip_and_inheritance", + "tests/core/test_required_filters.py::test_default_off", + "tests/core/test_required_filters.py::test_cli_filter_error_and_success", + "tests/core/test_required_filters.py::test_api_returns_400_and_accepts_date_picker", + "tests/core/test_required_filters.py::test_pgwire_transport_and_raw_bypass", + "tests/core/test_required_filters.py::test_filter_only_model_and_multiple_requirements", + "tests/core/test_required_filters.py::test_predicate_subquery_does_not_satisfy_outer_read", + "tests/core/test_required_filters.py::test_yardstick_wrapper_cannot_bypass_requirements[False]", + "tests/core/test_required_filters.py::test_yardstick_wrapper_cannot_bypass_requirements[True]", + "tests/core/test_required_filters.py::test_output_alias_cannot_satisfy_required_filter", + "tests/core/test_required_filters.py::test_cached_sql_observes_policy_mutations[assign-required_filters]", + "tests/core/test_required_filters.py::test_cached_sql_observes_policy_mutations[assign-required_filters_or_groups]", + "tests/core/test_required_filters.py::test_cached_sql_observes_policy_mutations[append-required_filters]", + "tests/core/test_required_filters.py::test_cached_sql_observes_policy_mutations[append-required_filters_or_groups]", + "tests/core/test_required_filters.py::test_cached_sql_observes_policy_mutations[replace-required_filters]", + "tests/core/test_required_filters.py::test_cached_sql_observes_policy_mutations[replace-required_filters_or_groups]" + ] + }, + "scope-57": { + "path": "tests/core/test_required_filters.py", + "declared_tests": [ + "test_api_returns_400_and_accepts_date_picker" + ], + "collected_tests": [ + "tests/core/test_required_filters.py::test_api_returns_400_and_accepts_date_picker" + ] + }, + "scope-58": { "path": "tests/core/test_result_cache.py", "declared_tests": [ "test_build_result_key_generation_changes_key", @@ -6660,7 +7538,7 @@ "tests/core/test_result_cache.py::test_semantic_layer_user_attributes_change_key" ] }, - "scope-47": { + "scope-59": { "path": "tests/core/test_runtime_defaults.py", "declared_tests": [ "test_missing_explicit_rust_runtime_does_not_silently_fall_back" @@ -6669,7 +7547,7 @@ "tests/core/test_runtime_defaults.py::test_missing_explicit_rust_runtime_does_not_silently_fall_back" ] }, - "scope-48": { + "scope-60": { "path": "tests/core/test_rust_engine_mode.py", "declared_tests": [ "test_semantic_layer_python_engine_ignores_rust_env_flags" @@ -6678,7 +7556,110 @@ "tests/core/test_rust_engine_mode.py::test_semantic_layer_python_engine_ignores_rust_env_flags" ] }, - "scope-49": { + "scope-61": { + "path": "tests/core/test_rust_query_correctness_regressions.py", + "declared_tests": [ + "test_complete_approximate_quantiles_keep_filters_and_entity_grain", + "test_complete_fanout_aggregate_preserves_literal_model_tokens", + "test_complete_joined_aggregate_prefers_real_model_name_over_cte_alias", + "test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model", + "test_cumulative_filter_preserves_placeholder_text_in_literals", + "test_cumulative_temporal_cohort_is_a_partition", + "test_distinct_cannot_be_silently_discarded_from_a_row_input", + "test_filtered_cumulative_inputs_do_not_change_sibling_populations", + "test_filtered_cumulative_semantic_handoff_preserves_model_state", + "test_generated_measure_aliases_are_unique_and_stable", + "test_joined_time_inputs_bind_to_their_source", + "test_mixed_conjunctive_filters_keep_row_and_aggregate_stages", + "test_native_distinct_metric_filters_preserve_sibling_and_derived_populations", + "test_native_inline_aggregate_preserves_distinct", + "test_native_inline_input_preserves_model_names_ending_in_cte", + "test_nested_filter_aliases_do_not_add_outer_source_columns", + "test_physical_columns_cannot_shadow_native_measure_inputs", + "test_private_cumulative_input_name_is_safe_as_a_caller_alias", + "test_reverse_direct_many_to_many_retains_fanout_risk" + ], + "collected_tests": [ + "tests/core/test_rust_query_correctness_regressions.py::test_physical_columns_cannot_shadow_native_measure_inputs[False]", + "tests/core/test_rust_query_correctness_regressions.py::test_physical_columns_cannot_shadow_native_measure_inputs[True]", + "tests/core/test_rust_query_correctness_regressions.py::test_joined_time_inputs_bind_to_their_source[None-False]", + "tests/core/test_rust_query_correctness_regressions.py::test_joined_time_inputs_bind_to_their_source[None-True]", + "tests/core/test_rust_query_correctness_regressions.py::test_joined_time_inputs_bind_to_their_source[CAST(created_at AS TIMESTAMP)-False]", + "tests/core/test_rust_query_correctness_regressions.py::test_joined_time_inputs_bind_to_their_source[CAST(created_at AS TIMESTAMP)-True]", + "tests/core/test_rust_query_correctness_regressions.py::test_mixed_conjunctive_filters_keep_row_and_aggregate_stages[facts.revenue > 10 AND facts.category = 'b']", + "tests/core/test_rust_query_correctness_regressions.py::test_mixed_conjunctive_filters_keep_row_and_aggregate_stages[((facts.revenue > 10) AND (facts.category = 'b' OR facts.category = 'c'))]", + "tests/core/test_rust_query_correctness_regressions.py::test_reverse_direct_many_to_many_retains_fanout_risk", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_temporal_cohort_is_a_partition[None]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_temporal_cohort_is_a_partition[revenue]", + "tests/core/test_rust_query_correctness_regressions.py::test_filtered_cumulative_inputs_do_not_change_sibling_populations[revenue]", + "tests/core/test_rust_query_correctness_regressions.py::test_filtered_cumulative_inputs_do_not_change_sibling_populations[double_revenue]", + "tests/core/test_rust_query_correctness_regressions.py::test_native_inline_aggregate_preserves_distinct[SUM(DISTINCT amount)-30]", + "tests/core/test_rust_query_correctness_regressions.py::test_native_inline_aggregate_preserves_distinct[AVG(DISTINCT amount)-15]", + "tests/core/test_rust_query_correctness_regressions.py::test_distinct_cannot_be_silently_discarded_from_a_row_input", + "tests/core/test_rust_query_correctness_regressions.py::test_filtered_cumulative_semantic_handoff_preserves_model_state[False-simple]", + "tests/core/test_rust_query_correctness_regressions.py::test_filtered_cumulative_semantic_handoff_preserves_model_state[False-derived]", + "tests/core/test_rust_query_correctness_regressions.py::test_filtered_cumulative_semantic_handoff_preserves_model_state[False-ratio]", + "tests/core/test_rust_query_correctness_regressions.py::test_filtered_cumulative_semantic_handoff_preserves_model_state[False-complete]", + "tests/core/test_rust_query_correctness_regressions.py::test_filtered_cumulative_semantic_handoff_preserves_model_state[False-window_expression]", + "tests/core/test_rust_query_correctness_regressions.py::test_filtered_cumulative_semantic_handoff_preserves_model_state[True-simple]", + "tests/core/test_rust_query_correctness_regressions.py::test_filtered_cumulative_semantic_handoff_preserves_model_state[True-derived]", + "tests/core/test_rust_query_correctness_regressions.py::test_filtered_cumulative_semantic_handoff_preserves_model_state[True-ratio]", + "tests/core/test_rust_query_correctness_regressions.py::test_filtered_cumulative_semantic_handoff_preserves_model_state[True-complete]", + "tests/core/test_rust_query_correctness_regressions.py::test_filtered_cumulative_semantic_handoff_preserves_model_state[True-window_expression]", + "tests/core/test_rust_query_correctness_regressions.py::test_private_cumulative_input_name_is_safe_as_a_caller_alias", + "tests/core/test_rust_query_correctness_regressions.py::test_nested_filter_aliases_do_not_add_outer_source_columns[SELECT 1 FROM labels facts_cte WHERE facts_cte.extra = 7]", + "tests/core/test_rust_query_correctness_regressions.py::test_nested_filter_aliases_do_not_add_outer_source_columns[SELECT 1 FROM (SELECT extra FROM labels) facts_cte WHERE facts_cte.extra = 7]", + "tests/core/test_rust_query_correctness_regressions.py::test_nested_filter_aliases_do_not_add_outer_source_columns[WITH facts_cte AS (SELECT extra FROM labels) SELECT 1 FROM facts_cte WHERE facts_cte.extra = 7]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[sum-False]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[sum-True]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[count-False]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[count-True]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[derived-False]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[derived-True]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[ratio-False]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[ratio-True]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[derived_count-False]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[derived_count-True]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[count_fill-False]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[count_fill-True]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[ratio_fill-False]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[ratio_fill-True]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[complete_count_filter-False]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[complete_count_filter-True]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[complete_nullif-False]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_keeps_its_owner_when_base_belongs_to_another_model[complete_nullif-True]", + "tests/core/test_rust_query_correctness_regressions.py::test_native_inline_input_preserves_model_names_ending_in_cte", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_preserves_placeholder_text_in_literals[category]", + "tests/core/test_rust_query_correctness_regressions.py::test_cumulative_filter_preserves_placeholder_text_in_literals[{model}.category]", + "tests/core/test_rust_query_correctness_regressions.py::test_complete_approximate_quantiles_keep_filters_and_entity_grain[False-0.9]", + "tests/core/test_rust_query_correctness_regressions.py::test_complete_approximate_quantiles_keep_filters_and_entity_grain[False-[0.5, 0.9]]", + "tests/core/test_rust_query_correctness_regressions.py::test_complete_approximate_quantiles_keep_filters_and_entity_grain[True-0.9]", + "tests/core/test_rust_query_correctness_regressions.py::test_complete_approximate_quantiles_keep_filters_and_entity_grain[True-[0.5, 0.9]]", + "tests/core/test_rust_query_correctness_regressions.py::test_complete_fanout_aggregate_preserves_literal_model_tokens", + "tests/core/test_rust_query_correctness_regressions.py::test_complete_joined_aggregate_prefers_real_model_name_over_cte_alias", + "tests/core/test_rust_query_correctness_regressions.py::test_generated_measure_aliases_are_unique_and_stable[selection0-False]", + "tests/core/test_rust_query_correctness_regressions.py::test_generated_measure_aliases_are_unique_and_stable[selection0-True]", + "tests/core/test_rust_query_correctness_regressions.py::test_generated_measure_aliases_are_unique_and_stable[selection1-False]", + "tests/core/test_rust_query_correctness_regressions.py::test_generated_measure_aliases_are_unique_and_stable[selection1-True]", + "tests/core/test_rust_query_correctness_regressions.py::test_generated_measure_aliases_are_unique_and_stable[selection2-False]", + "tests/core/test_rust_query_correctness_regressions.py::test_generated_measure_aliases_are_unique_and_stable[selection2-True]", + "tests/core/test_rust_query_correctness_regressions.py::test_native_distinct_metric_filters_preserve_sibling_and_derived_populations[False-SUM]", + "tests/core/test_rust_query_correctness_regressions.py::test_native_distinct_metric_filters_preserve_sibling_and_derived_populations[False-AVG]", + "tests/core/test_rust_query_correctness_regressions.py::test_native_distinct_metric_filters_preserve_sibling_and_derived_populations[False-MIN]", + "tests/core/test_rust_query_correctness_regressions.py::test_native_distinct_metric_filters_preserve_sibling_and_derived_populations[False-MAX]", + "tests/core/test_rust_query_correctness_regressions.py::test_native_distinct_metric_filters_preserve_sibling_and_derived_populations[False-MEDIAN]", + "tests/core/test_rust_query_correctness_regressions.py::test_native_distinct_metric_filters_preserve_sibling_and_derived_populations[False-STDDEV_POP]", + "tests/core/test_rust_query_correctness_regressions.py::test_native_distinct_metric_filters_preserve_sibling_and_derived_populations[False-VAR_POP]", + "tests/core/test_rust_query_correctness_regressions.py::test_native_distinct_metric_filters_preserve_sibling_and_derived_populations[True-SUM]", + "tests/core/test_rust_query_correctness_regressions.py::test_native_distinct_metric_filters_preserve_sibling_and_derived_populations[True-AVG]", + "tests/core/test_rust_query_correctness_regressions.py::test_native_distinct_metric_filters_preserve_sibling_and_derived_populations[True-MIN]", + "tests/core/test_rust_query_correctness_regressions.py::test_native_distinct_metric_filters_preserve_sibling_and_derived_populations[True-MAX]", + "tests/core/test_rust_query_correctness_regressions.py::test_native_distinct_metric_filters_preserve_sibling_and_derived_populations[True-MEDIAN]", + "tests/core/test_rust_query_correctness_regressions.py::test_native_distinct_metric_filters_preserve_sibling_and_derived_populations[True-STDDEV_POP]", + "tests/core/test_rust_query_correctness_regressions.py::test_native_distinct_metric_filters_preserve_sibling_and_derived_populations[True-VAR_POP]" + ] + }, + "scope-62": { "path": "tests/core/test_security_advisor_regressions.py", "declared_tests": [ "test_pg_server_refuses_user_attrs_map_without_auth" @@ -6687,7 +7668,7 @@ "tests/core/test_security_advisor_regressions.py::test_pg_server_refuses_user_attrs_map_without_auth" ] }, - "scope-50": { + "scope-63": { "path": "tests/core/test_security_advisor_regressions.py", "declared_tests": [ "test_rewriter_threads_user_attributes" @@ -6696,7 +7677,16 @@ "tests/core/test_security_advisor_regressions.py::test_rewriter_threads_user_attributes" ] }, - "scope-51": { + "scope-64": { + "path": "tests/dates/test_frozen_time.py", + "declared_tests": [ + "test_rust_engine_output_is_frozen" + ], + "collected_tests": [ + "tests/dates/test_frozen_time.py::test_rust_engine_output_is_frozen" + ] + }, + "scope-65": { "path": "tests/dates/test_query_timezone.py", "declared_tests": [ "test_generator_timezone_bypasses_preagg_routing", @@ -6709,7 +7699,7 @@ "tests/dates/test_query_timezone.py::test_timezone_value_is_validated_against_injection" ] }, - "scope-52": { + "scope-66": { "path": "tests/dates/test_time_comparison.py", "declared_tests": [ "test_model_level_conversion_metric", @@ -6726,7 +7716,7 @@ "tests/dates/test_time_comparison.py::test_model_level_conversion_metric" ] }, - "scope-53": { + "scope-67": { "path": "tests/dax/test_ast.py", "declared_tests": [ "test_completed_static_validation_codes_are_exposed", @@ -6754,6 +7744,8 @@ "test_lossless_native_spans_and_comments_round_trip", "test_model_validation_native_uses_typed_metadata_and_issues", "test_multi_column_in_native_round_trip", + "test_native_formatter_preserves_consecutive_unary_minuses", + "test_native_model_validation_binds_literals_and_iterator_columns", "test_native_spans_use_python_string_indices_after_unicode", "test_omitted_function_arguments_native_round_trip", "test_public_exports_include_all_python_api_families", @@ -6800,10 +7792,13 @@ "tests/dax/test_ast.py::test_recovery_native_returns_typed_items_and_diagnostics", "tests/dax/test_ast.py::test_recovery_spans_use_python_string_indices_after_unicode", "tests/dax/test_ast.py::test_model_validation_native_uses_typed_metadata_and_issues", - "tests/dax/test_ast.py::test_completed_static_validation_codes_are_exposed" + "tests/dax/test_ast.py::test_completed_static_validation_codes_are_exposed", + "tests/dax/test_ast.py::test_native_formatter_preserves_consecutive_unary_minuses[False]", + "tests/dax/test_ast.py::test_native_formatter_preserves_consecutive_unary_minuses[True]", + "tests/dax/test_ast.py::test_native_model_validation_binds_literals_and_iterator_columns" ] }, - "scope-54": { + "scope-68": { "path": "tests/dax/test_ast.py", "declared_tests": [ "test_datetime_literal_native_round_trip" @@ -6812,7 +7807,7 @@ "tests/dax/test_ast.py::test_datetime_literal_native_round_trip" ] }, - "scope-55": { + "scope-69": { "path": "tests/dax/test_ast.py", "declared_tests": [ "test_function_parameter_default_native_round_trip" @@ -6821,7 +7816,7 @@ "tests/dax/test_ast.py::test_function_parameter_default_native_round_trip" ] }, - "scope-56": { + "scope-70": { "path": "tests/dax/test_ast.py", "declared_tests": [ "test_visual_shape_native_round_trip" @@ -6830,7 +7825,7 @@ "tests/dax/test_ast.py::test_visual_shape_native_round_trip" ] }, - "scope-57": { + "scope-71": { "path": "tests/dax/test_ast.py", "declared_tests": [ "test_omitted_function_arguments_native_round_trip" @@ -6839,7 +7834,7 @@ "tests/dax/test_ast.py::test_omitted_function_arguments_native_round_trip" ] }, - "scope-58": { + "scope-72": { "path": "tests/dax/test_ast.py", "declared_tests": [ "test_start_at_native_accepts_constants_and_parameters_only" @@ -6848,7 +7843,7 @@ "tests/dax/test_ast.py::test_start_at_native_accepts_constants_and_parameters_only" ] }, - "scope-59": { + "scope-73": { "path": "tests/dax/test_ast.py", "declared_tests": [ "test_multi_column_in_native_round_trip" @@ -6857,7 +7852,7 @@ "tests/dax/test_ast.py::test_multi_column_in_native_round_trip" ] }, - "scope-60": { + "scope-74": { "path": "tests/dax/test_ast.py", "declared_tests": [ "test_datatable_native_round_trip_and_validation" @@ -6866,7 +7861,7 @@ "tests/dax/test_ast.py::test_datatable_native_round_trip_and_validation" ] }, - "scope-61": { + "scope-75": { "path": "tests/dax/test_ast.py", "declared_tests": [ "test_static_validation_native_api" @@ -6875,7 +7870,7 @@ "tests/dax/test_ast.py::test_static_validation_native_api" ] }, - "scope-62": { + "scope-76": { "path": "tests/dax/test_ast.py", "declared_tests": [ "test_python_dialect_configuration" @@ -6884,7 +7879,7 @@ "tests/dax/test_ast.py::test_python_dialect_configuration" ] }, - "scope-63": { + "scope-77": { "path": "tests/dax/test_ast.py", "declared_tests": [ "test_datetime_literal_native_lexical_validation" @@ -6893,7 +7888,7 @@ "tests/dax/test_ast.py::test_datetime_literal_native_lexical_validation" ] }, - "scope-64": { + "scope-78": { "path": "tests/dax/test_engine_conformance.py", "declared_tests": [ "test_arrow_error_stream_is_a_rejection", @@ -6916,14 +7911,14 @@ "tests/dax/test_engine_conformance.py::test_local_conformance_expectations_are_current[malformed_parenthesis]" ] }, - "scope-65": { + "scope-79": { "path": "tests/dax/test_engine_conformance.py", "declared_tests": [ "test_local_and_microsoft_engine_conformance" ], "collected_tests": [] }, - "scope-66": { + "scope-80": { "path": "tests/dax/test_external_powerbi_fixtures.py", "declared_tests": [ "test_external_powerbi_dax_measure_file_parses" @@ -6932,7 +7927,7 @@ "tests/dax/test_external_powerbi_fixtures.py::test_external_powerbi_dax_measure_file_parses" ] }, - "scope-67": { + "scope-81": { "path": "tests/dax/test_online_conformance.py", "declared_tests": [ "test_local_semantic_checks_are_stricter_than_formatter", @@ -6954,7 +7949,7 @@ "tests/dax/test_online_conformance.py::test_local_semantic_checks_are_stricter_than_formatter" ] }, - "scope-68": { + "scope-82": { "path": "tests/dax/test_query_corpus.py", "declared_tests": [ "test_parse_query_corpus_define_examples", @@ -6969,7 +7964,7 @@ "tests/dax/test_query_corpus.py::test_parse_query_corpus_start_at_examples" ] }, - "scope-69": { + "scope-83": { "path": "tests/db/test_adbc_adapter.py", "declared_tests": [ "test_adbc_adapter_close", @@ -7001,7 +7996,7 @@ "tests/db/test_adbc_adapter.py::test_adbc_adapter_valid_table_names_accepted[_private_table]" ] }, - "scope-70": { + "scope-84": { "path": "tests/db/test_adbc_adapter.py", "declared_tests": [ "test_adbc_adapter_init" @@ -7010,7 +8005,7 @@ "tests/db/test_adbc_adapter.py::test_adbc_adapter_init" ] }, - "scope-71": { + "scope-85": { "path": "tests/db/test_adbc_adapter.py", "declared_tests": [ "test_adbc_adapter_fetch_record_batch" @@ -7019,7 +8014,7 @@ "tests/db/test_adbc_adapter.py::test_adbc_adapter_fetch_record_batch" ] }, - "scope-72": { + "scope-86": { "path": "tests/db/test_adbc_adapter.py", "declared_tests": [ "test_adbc_adapter_from_url" @@ -7028,7 +8023,7 @@ "tests/db/test_adbc_adapter.py::test_adbc_adapter_from_url" ] }, - "scope-73": { + "scope-87": { "path": "tests/db/test_adbc_adapter.py", "declared_tests": [ "test_adbc_url_resolves_packaged_driver_without_system_install" @@ -7038,7 +8033,7 @@ "tests/db/test_adbc_adapter.py::test_adbc_url_resolves_packaged_driver_without_system_install[adbc://sqlite/:memory:]" ] }, - "scope-74": { + "scope-88": { "path": "tests/db/test_adbc_adapter.py", "declared_tests": [ "test_adbc_with_sqlite_driver" @@ -7047,7 +8042,7 @@ "tests/db/test_adbc_adapter.py::test_adbc_with_sqlite_driver" ] }, - "scope-75": { + "scope-89": { "path": "tests/db/test_adbc_adapter.py", "declared_tests": [ "test_adbc_url_scheme_with_driver" @@ -7056,7 +8051,7 @@ "tests/db/test_adbc_adapter.py::test_adbc_url_scheme_with_driver" ] }, - "scope-76": { + "scope-90": { "path": "tests/db/test_adbc_adapter.py", "declared_tests": [ "test_semantic_layer_with_adbc_connection" @@ -7065,7 +8060,7 @@ "tests/db/test_adbc_adapter.py::test_semantic_layer_with_adbc_connection" ] }, - "scope-77": { + "scope-91": { "path": "tests/db/test_adbc_adapter.py", "declared_tests": [ "test_adbc_url_path_based_uri" @@ -7074,7 +8069,7 @@ "tests/db/test_adbc_adapter.py::test_adbc_url_path_based_uri" ] }, - "scope-78": { + "scope-92": { "path": "tests/db/test_adbc_ci_smoke.py", "declared_tests": [ "test_adbc_smoke_basic_execute", @@ -7083,14 +8078,14 @@ ], "collected_tests": [] }, - "scope-79": { + "scope-93": { "path": "tests/db/test_adbc_ci_smoke.py", "declared_tests": [ "test_adbc_smoke_dialect" ], "collected_tests": [] }, - "scope-80": { + "scope-94": { "path": "tests/db/test_bigquery_adapter.py", "declared_tests": [ "test_bigquery_fetch_record_batch" @@ -7099,7 +8094,7 @@ "tests/db/test_bigquery_adapter.py::test_bigquery_fetch_record_batch" ] }, - "scope-81": { + "scope-95": { "path": "tests/db/test_bigquery_adapter.py", "declared_tests": [ "test_bigquery_fetch_record_batch_via_adapter" @@ -7108,14 +8103,14 @@ "tests/db/test_bigquery_adapter.py::test_bigquery_fetch_record_batch_via_adapter" ] }, - "scope-82": { + "scope-96": { "path": "tests/db/test_bigquery_cli_e2e.py", "declared_tests": [ "test_cli_query_uses_bigquery_config" ], "collected_tests": [] }, - "scope-83": { + "scope-97": { "path": "tests/db/test_bigquery_integration.py", "declared_tests": [ "test_semantic_layer_basic_metric", @@ -7132,23 +8127,23 @@ ], "collected_tests": [] }, - "scope-84": { + "scope-98": { "path": "tests/db/test_bigquery_integration.py", "declared_tests": [ "test_semantic_layer_date_functions" ], "collected_tests": [] }, - "scope-85": { + "scope-99": { "path": "tests/db/test_clickhouse_adapter.py", "declared_tests": [ - "test_clickhouse_execute_native_arrow" + "test_clickhouse_execute_parquet" ], "collected_tests": [ - "tests/db/test_clickhouse_adapter.py::test_clickhouse_execute_native_arrow" + "tests/db/test_clickhouse_adapter.py::test_clickhouse_execute_parquet" ] }, - "scope-86": { + "scope-100": { "path": "tests/db/test_clickhouse_adapter.py", "declared_tests": [ "test_clickhouse_result_native_arrow_fetch_record_batch" @@ -7157,7 +8152,7 @@ "tests/db/test_clickhouse_adapter.py::test_clickhouse_result_native_arrow_fetch_record_batch" ] }, - "scope-87": { + "scope-101": { "path": "tests/db/test_clickhouse_adapter.py", "declared_tests": [ "test_clickhouse_result_native_arrow_fetchone" @@ -7166,7 +8161,7 @@ "tests/db/test_clickhouse_adapter.py::test_clickhouse_result_native_arrow_fetchone" ] }, - "scope-88": { + "scope-102": { "path": "tests/db/test_clickhouse_adapter.py", "declared_tests": [ "test_clickhouse_result_native_arrow_fetchall" @@ -7175,7 +8170,7 @@ "tests/db/test_clickhouse_adapter.py::test_clickhouse_result_native_arrow_fetchall" ] }, - "scope-89": { + "scope-103": { "path": "tests/db/test_clickhouse_adapter.py", "declared_tests": [ "test_clickhouse_result_native_arrow_empty" @@ -7184,23 +8179,81 @@ "tests/db/test_clickhouse_adapter.py::test_clickhouse_result_native_arrow_empty" ] }, - "scope-90": { + "scope-104": { "path": "tests/db/test_clickhouse_adapter.py", "declared_tests": [ - "test_clickhouse_executemany_native_arrow" + "test_clickhouse_executemany_parquet" ], "collected_tests": [ - "tests/db/test_clickhouse_adapter.py::test_clickhouse_executemany_native_arrow" + "tests/db/test_clickhouse_adapter.py::test_clickhouse_executemany_parquet" ] }, - "scope-91": { + "scope-105": { + "path": "tests/db/test_clickhouse_adapter.py", + "declared_tests": [ + "test_clickhouse_execute_parquet", + "test_clickhouse_executemany_parquet" + ], + "collected_tests": [ + "tests/db/test_clickhouse_adapter.py::test_clickhouse_execute_parquet", + "tests/db/test_clickhouse_adapter.py::test_clickhouse_executemany_parquet" + ] + }, + "scope-106": { + "path": "tests/db/test_clickhouse_adapter.py", + "declared_tests": [ + "test_clickhouse_temporal_results" + ], + "collected_tests": [ + "tests/db/test_clickhouse_adapter.py::test_clickhouse_temporal_results[execute]", + "tests/db/test_clickhouse_adapter.py::test_clickhouse_temporal_results[executemany]" + ] + }, + "scope-107": { + "path": "tests/db/test_clickhouse_adapter.py", + "declared_tests": [ + "test_clickhouse_temporal_results_json" + ], + "collected_tests": [ + "tests/db/test_clickhouse_adapter.py::test_clickhouse_temporal_results_json" + ] + }, + "scope-108": { + "path": "tests/db/test_clickhouse_adapter.py", + "declared_tests": [ + "test_clickhouse_resultless_mutations_execute_once" + ], + "collected_tests": [ + "tests/db/test_clickhouse_adapter.py::test_clickhouse_resultless_mutations_execute_once[CREATE TABLE rollup AS SELECT 1-execute]", + "tests/db/test_clickhouse_adapter.py::test_clickhouse_resultless_mutations_execute_once[CREATE TABLE rollup AS SELECT 1-executemany]", + "tests/db/test_clickhouse_adapter.py::test_clickhouse_resultless_mutations_execute_once[INSERT INTO rollup SELECT 1-execute]", + "tests/db/test_clickhouse_adapter.py::test_clickhouse_resultless_mutations_execute_once[INSERT INTO rollup SELECT 1-executemany]" + ] + }, + "scope-109": { + "path": "tests/db/test_clickhouse_adapter.py", + "declared_tests": [ + "test_clickhouse_post_execution_errors_are_not_retried" + ], + "collected_tests": [ + "tests/db/test_clickhouse_adapter.py::test_clickhouse_post_execution_errors_are_not_retried[decode-INSERT INTO rollup SELECT 1-execute]", + "tests/db/test_clickhouse_adapter.py::test_clickhouse_post_execution_errors_are_not_retried[decode-INSERT INTO rollup SELECT 1-executemany]", + "tests/db/test_clickhouse_adapter.py::test_clickhouse_post_execution_errors_are_not_retried[decode-SELECT day FROM rollup-execute]", + "tests/db/test_clickhouse_adapter.py::test_clickhouse_post_execution_errors_are_not_retried[decode-SELECT day FROM rollup-executemany]", + "tests/db/test_clickhouse_adapter.py::test_clickhouse_post_execution_errors_are_not_retried[transport-INSERT INTO rollup SELECT 1-execute]", + "tests/db/test_clickhouse_adapter.py::test_clickhouse_post_execution_errors_are_not_retried[transport-INSERT INTO rollup SELECT 1-executemany]", + "tests/db/test_clickhouse_adapter.py::test_clickhouse_post_execution_errors_are_not_retried[transport-SELECT day FROM rollup-execute]", + "tests/db/test_clickhouse_adapter.py::test_clickhouse_post_execution_errors_are_not_retried[transport-SELECT day FROM rollup-executemany]" + ] + }, + "scope-110": { "path": "tests/db/test_clickhouse_cli_e2e.py", "declared_tests": [ "test_cli_query_uses_clickhouse_config" ], "collected_tests": [] }, - "scope-92": { + "scope-111": { "path": "tests/db/test_clickhouse_integration.py", "declared_tests": [ "test_semantic_layer_basic_metric", @@ -7217,14 +8270,14 @@ ], "collected_tests": [] }, - "scope-93": { + "scope-112": { "path": "tests/db/test_clickhouse_integration.py", "declared_tests": [ "test_semantic_layer_date_functions" ], "collected_tests": [] }, - "scope-94": { + "scope-113": { "path": "tests/db/test_databricks_adapter.py", "declared_tests": [ "test_databricks_fetch_record_batch_mixed_types" @@ -7233,7 +8286,7 @@ "tests/db/test_databricks_adapter.py::test_databricks_fetch_record_batch_mixed_types" ] }, - "scope-95": { + "scope-114": { "path": "tests/db/test_databricks_adapter.py", "declared_tests": [ "test_databricks_fetch_record_batch_native_arrow" @@ -7242,7 +8295,7 @@ "tests/db/test_databricks_adapter.py::test_databricks_fetch_record_batch_native_arrow" ] }, - "scope-96": { + "scope-115": { "path": "tests/db/test_databricks_adapter.py", "declared_tests": [ "test_databricks_fetch_record_batch_native_arrow_empty" @@ -7251,7 +8304,7 @@ "tests/db/test_databricks_adapter.py::test_databricks_fetch_record_batch_native_arrow_empty" ] }, - "scope-97": { + "scope-116": { "path": "tests/db/test_databricks_adapter.py", "declared_tests": [ "test_databricks_fetch_record_batch_fallback" @@ -7260,7 +8313,7 @@ "tests/db/test_databricks_adapter.py::test_databricks_fetch_record_batch_fallback" ] }, - "scope-98": { + "scope-117": { "path": "tests/db/test_databricks_integration.py", "declared_tests": [ "test_semantic_layer_basic_metric", @@ -7269,7 +8322,7 @@ ], "collected_tests": [] }, - "scope-99": { + "scope-118": { "path": "tests/db/test_duckdb_adapter.py", "declared_tests": [ "test_duckdb_adapter_fetch_record_batch" @@ -7278,7 +8331,68 @@ "tests/db/test_duckdb_adapter.py::test_duckdb_adapter_fetch_record_batch" ] }, - "scope-100": { + "scope-119": { + "path": "tests/db/test_duckdb_compat.py", + "declared_tests": [ + "test_duckdb_arrow_reader_api_compatibility" + ], + "collected_tests": [ + "tests/db/test_duckdb_compat.py::test_duckdb_arrow_reader_api_compatibility[duckdb-fetch_record_batch]", + "tests/db/test_duckdb_compat.py::test_duckdb_arrow_reader_api_compatibility[duckdb-to_arrow_reader]", + "tests/db/test_duckdb_compat.py::test_duckdb_arrow_reader_api_compatibility[motherduck-fetch_record_batch]", + "tests/db/test_duckdb_compat.py::test_duckdb_arrow_reader_api_compatibility[motherduck-to_arrow_reader]" + ] + }, + "scope-120": { + "path": "tests/db/test_duckdb_compat.py", + "declared_tests": [ + "test_duckdb_independent_cursor_arrow_results" + ], + "collected_tests": [ + "tests/db/test_duckdb_compat.py::test_duckdb_independent_cursor_arrow_results" + ] + }, + "scope-121": { + "path": "tests/db/test_ossie_integration.py", + "declared_tests": [ + "test_filtered_count_star_uses_database_empty_semantics", + "test_grouped_measure_population_boundaries", + "test_layer2_on_database", + "test_layer3_disconnected_populations_on_database", + "test_layer3_independent_populations_on_database", + "test_ossie_cli_on_core_database", + "test_semantic_view_on_database", + "test_source_query_binding_on_database", + "test_wide_empty_aggregates_have_ossie_values_on_database", + "test_wide_nonnullable_joins_and_missing_populations_on_database", + "test_wide_source_identity_stays_with_measure_inputs", + "test_wide_structured_ordering_keeps_backend_semantics_on_database", + "test_zero_row_metadata_on_database" + ], + "collected_tests": [] + }, + "scope-122": { + "path": "tests/db/test_ossie_integration.py", + "declared_tests": [ + "test_semantic_view_on_database" + ], + "collected_tests": [] + }, + "scope-123": { + "path": "tests/db/test_ossie_integration.py", + "declared_tests": [ + "test_ossie_cli_on_core_database" + ], + "collected_tests": [] + }, + "scope-124": { + "path": "tests/db/test_ossie_integration.py", + "declared_tests": [ + "test_wide_structured_ordering_keeps_backend_semantics_on_database" + ], + "collected_tests": [] + }, + "scope-125": { "path": "tests/db/test_postgres_adapter.py", "declared_tests": [ "test_postgres_fetch_record_batch" @@ -7287,7 +8401,7 @@ "tests/db/test_postgres_adapter.py::test_postgres_fetch_record_batch" ] }, - "scope-101": { + "scope-126": { "path": "tests/db/test_postgres_adapter.py", "declared_tests": [ "test_postgres_result_fetch_record_batch_empty" @@ -7296,14 +8410,14 @@ "tests/db/test_postgres_adapter.py::test_postgres_result_fetch_record_batch_empty" ] }, - "scope-102": { + "scope-127": { "path": "tests/db/test_postgres_cli_e2e.py", "declared_tests": [ "test_cli_query_uses_postgres_config" ], "collected_tests": [] }, - "scope-103": { + "scope-128": { "path": "tests/db/test_postgres_integration.py", "declared_tests": [ "test_postgres_adapter_basic_query", @@ -7312,10 +8426,13 @@ "test_postgres_adapter_get_columns", "test_postgres_adapter_get_tables", "test_postgres_dialect_inference", + "test_semantic_layer_postgres_authored_full_join_keeps_array_comparison", "test_semantic_layer_postgres_compile_method", "test_semantic_layer_postgres_date_functions", "test_semantic_layer_postgres_filters", "test_semantic_layer_postgres_limit", + "test_semantic_layer_postgres_multi_fact_array_valued_dimension", + "test_semantic_layer_postgres_multi_fact_shared_dimensions", "test_semantic_layer_postgres_multiple_joins", "test_semantic_layer_postgres_multiple_metrics", "test_semantic_layer_postgres_order_by", @@ -7327,7 +8444,7 @@ ], "collected_tests": [] }, - "scope-104": { + "scope-129": { "path": "tests/db/test_semantic_layer_adapters.py", "declared_tests": [ "test_postgres_url_recognized" @@ -7336,7 +8453,7 @@ "tests/db/test_semantic_layer_adapters.py::test_postgres_url_recognized" ] }, - "scope-105": { + "scope-130": { "path": "tests/db/test_snowflake_adapter.py", "declared_tests": [ "test_snowflake_fetch_record_batch_mixed_types" @@ -7345,7 +8462,7 @@ "tests/db/test_snowflake_adapter.py::test_snowflake_fetch_record_batch_mixed_types" ] }, - "scope-106": { + "scope-131": { "path": "tests/db/test_snowflake_adapter.py", "declared_tests": [ "test_snowflake_fetch_record_batch_empty" @@ -7354,7 +8471,7 @@ "tests/db/test_snowflake_adapter.py::test_snowflake_fetch_record_batch_empty" ] }, - "scope-107": { + "scope-132": { "path": "tests/db/test_snowflake_adapter.py", "declared_tests": [ "test_snowflake_fetch_record_batch_native_arrow" @@ -7363,7 +8480,7 @@ "tests/db/test_snowflake_adapter.py::test_snowflake_fetch_record_batch_native_arrow" ] }, - "scope-108": { + "scope-133": { "path": "tests/db/test_snowflake_adapter.py", "declared_tests": [ "test_snowflake_fetch_record_batch_native_arrow_empty" @@ -7372,7 +8489,7 @@ "tests/db/test_snowflake_adapter.py::test_snowflake_fetch_record_batch_native_arrow_empty" ] }, - "scope-109": { + "scope-134": { "path": "tests/db/test_snowflake_adapter.py", "declared_tests": [ "test_snowflake_fetch_record_batch_fallback" @@ -7381,14 +8498,14 @@ "tests/db/test_snowflake_adapter.py::test_snowflake_fetch_record_batch_fallback" ] }, - "scope-110": { + "scope-135": { "path": "tests/db/test_snowflake_cli_e2e.py", "declared_tests": [ "test_cli_query_uses_snowflake_connection" ], "collected_tests": [] }, - "scope-111": { + "scope-136": { "path": "tests/db/test_snowflake_integration.py", "declared_tests": [ "test_semantic_layer_basic_metric", @@ -7407,14 +8524,14 @@ ], "collected_tests": [] }, - "scope-112": { + "scope-137": { "path": "tests/db/test_snowflake_integration.py", "declared_tests": [ "test_semantic_layer_date_functions" ], "collected_tests": [] }, - "scope-113": { + "scope-138": { "path": "tests/db/test_spark_adapter.py", "declared_tests": [ "test_spark_fetch_record_batch_mixed_types" @@ -7423,14 +8540,14 @@ "tests/db/test_spark_adapter.py::test_spark_fetch_record_batch_mixed_types" ] }, - "scope-114": { + "scope-139": { "path": "tests/db/test_spark_cli_e2e.py", "declared_tests": [ "test_cli_query_uses_spark_config" ], "collected_tests": [] }, - "scope-115": { + "scope-140": { "path": "tests/db/test_spark_integration.py", "declared_tests": [ "test_semantic_layer_basic_metric", @@ -7449,14 +8566,479 @@ ], "collected_tests": [] }, - "scope-116": { + "scope-141": { "path": "tests/db/test_spark_integration.py", "declared_tests": [ "test_semantic_layer_date_functions" ], "collected_tests": [] }, - "scope-117": { + "scope-142": { + "path": "tests/interchange/ossie/test_latest_logical.py", + "declared_tests": [ + "test_latest_dataset_metrics_preserve_fields_source_columns_and_count_rows" + ], + "collected_tests": [ + "tests/interchange/ossie/test_latest_logical.py::test_latest_dataset_metrics_preserve_fields_source_columns_and_count_rows" + ] + }, + "scope-143": { + "path": "tests/interchange/ossie/test_latest_logical.py", + "declared_tests": [ + "test_dataset_metric_names_are_local_and_can_repeat_across_datasets" + ], + "collected_tests": [ + "tests/interchange/ossie/test_latest_logical.py::test_dataset_metric_names_are_local_and_can_repeat_across_datasets" + ] + }, + "scope-144": { + "path": "tests/interchange/ossie/test_latest_portable.py", + "declared_tests": [ + "test_bounded_range_preserves_order_arity_through_runtime", + "test_filter_aggregates_keep_empty_groups_and_null_semantics", + "test_window_null_order_survives_runtime_compilation" + ], + "collected_tests": [ + "tests/interchange/ossie/test_latest_portable.py::test_window_null_order_survives_runtime_compilation[amount-expected0-NULLS_FIRST]", + "tests/interchange/ossie/test_latest_portable.py::test_window_null_order_survives_runtime_compilation[amount-expected0-NULLS_LAST]", + "tests/interchange/ossie/test_latest_portable.py::test_window_null_order_survives_runtime_compilation[amount DESC-expected1-NULLS_FIRST]", + "tests/interchange/ossie/test_latest_portable.py::test_window_null_order_survives_runtime_compilation[amount DESC-expected1-NULLS_LAST]", + "tests/interchange/ossie/test_latest_portable.py::test_window_null_order_survives_runtime_compilation[amount ASC NULLS LAST-expected2-NULLS_FIRST]", + "tests/interchange/ossie/test_latest_portable.py::test_window_null_order_survives_runtime_compilation[amount ASC NULLS LAST-expected2-NULLS_LAST]", + "tests/interchange/ossie/test_latest_portable.py::test_window_null_order_survives_runtime_compilation[amount ASC NULLS FIRST-expected3-NULLS_FIRST]", + "tests/interchange/ossie/test_latest_portable.py::test_window_null_order_survives_runtime_compilation[amount ASC NULLS FIRST-expected3-NULLS_LAST]", + "tests/interchange/ossie/test_latest_portable.py::test_window_null_order_survives_runtime_compilation[amount DESC NULLS FIRST-expected4-NULLS_FIRST]", + "tests/interchange/ossie/test_latest_portable.py::test_window_null_order_survives_runtime_compilation[amount DESC NULLS FIRST-expected4-NULLS_LAST]", + "tests/interchange/ossie/test_latest_portable.py::test_window_null_order_survives_runtime_compilation[amount DESC NULLS LAST-expected5-NULLS_FIRST]", + "tests/interchange/ossie/test_latest_portable.py::test_window_null_order_survives_runtime_compilation[amount DESC NULLS LAST-expected5-NULLS_LAST]", + "tests/interchange/ossie/test_latest_portable.py::test_filter_aggregates_keep_empty_groups_and_null_semantics", + "tests/interchange/ossie/test_latest_portable.py::test_bounded_range_preserves_order_arity_through_runtime[NULLS_FIRST]", + "tests/interchange/ossie/test_latest_portable.py::test_bounded_range_preserves_order_arity_through_runtime[NULLS_LAST]" + ] + }, + "scope-145": { + "path": "tests/interchange/ossie/test_latest_query_interface.py", + "declared_tests": [ + "test_physical_window_query_keeps_its_native_session_semantics" + ], + "collected_tests": [ + "tests/interchange/ossie/test_latest_query_interface.py::test_physical_window_query_keeps_its_native_session_semantics" + ] + }, + "scope-146": { + "path": "tests/interchange/ossie/test_latest_relational_array_dialects.py", + "declared_tests": [ + "test_layer2_array_indexes_keep_source_and_query_dialects" + ], + "collected_tests": [ + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[field-snowflake-duckdb-python]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[field-snowflake-duckdb-public_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[field-snowflake-duckdb-native_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[field-duckdb-snowflake-python]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[field-duckdb-snowflake-public_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[field-duckdb-snowflake-native_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[metric-snowflake-duckdb-python]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[metric-snowflake-duckdb-public_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[metric-snowflake-duckdb-native_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[metric-duckdb-snowflake-python]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[metric-duckdb-snowflake-public_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[metric-duckdb-snowflake-native_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[source-snowflake-duckdb-python]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[source-snowflake-duckdb-public_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[source-snowflake-duckdb-native_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[source-duckdb-snowflake-python]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[source-duckdb-snowflake-public_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[source-duckdb-snowflake-native_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[query-snowflake-duckdb-python]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[query-snowflake-duckdb-public_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[query-snowflake-duckdb-native_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[query-duckdb-snowflake-python]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[query-duckdb-snowflake-public_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[query-duckdb-snowflake-native_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[correlated-snowflake-duckdb-python]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[correlated-snowflake-duckdb-public_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[correlated-snowflake-duckdb-native_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[correlated-duckdb-snowflake-python]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[correlated-duckdb-snowflake-public_rust]", + "tests/interchange/ossie/test_latest_relational_array_dialects.py::test_layer2_array_indexes_keep_source_and_query_dialects[correlated-duckdb-snowflake-native_rust]" + ] + }, + "scope-147": { + "path": "tests/interchange/ossie/test_latest_relational_edges.py", + "declared_tests": [ + "test_direct_rewriter_rejects_unsupported_security_controls" + ], + "collected_tests": [ + "tests/interchange/ossie/test_latest_relational_edges.py::test_direct_rewriter_rejects_unsupported_security_controls[SELECT AGG(revenue) FROM commerce.orders-False]", + "tests/interchange/ossie/test_latest_relational_edges.py::test_direct_rewriter_rejects_unsupported_security_controls[SELECT AGG(revenue) FROM commerce.orders-True]", + "tests/interchange/ossie/test_latest_relational_edges.py::test_direct_rewriter_rejects_unsupported_security_controls[DESCRIBE commerce.orders-False]", + "tests/interchange/ossie/test_latest_relational_edges.py::test_direct_rewriter_rejects_unsupported_security_controls[DESCRIBE commerce.orders-True]", + "tests/interchange/ossie/test_latest_relational_edges.py::test_direct_rewriter_rejects_unsupported_security_controls[SELECT column_name FROM information_schema.columns-False]", + "tests/interchange/ossie/test_latest_relational_edges.py::test_direct_rewriter_rejects_unsupported_security_controls[SELECT column_name FROM information_schema.columns-True]" + ] + }, + "scope-148": { + "path": "tests/interchange/ossie/test_latest_relational_edges.py", + "declared_tests": [ + "test_sql_measure_definitions_need_no_imported_model" + ], + "collected_tests": [ + "tests/interchange/ossie/test_latest_relational_edges.py::test_sql_measure_definitions_need_no_imported_model[False]", + "tests/interchange/ossie/test_latest_relational_edges.py::test_sql_measure_definitions_need_no_imported_model[True]" + ] + }, + "scope-149": { + "path": "tests/interchange/ossie/test_latest_relational_edges.py", + "declared_tests": [ + "test_qualified_physical_relation_does_not_bind_same_named_semantic_model" + ], + "collected_tests": [ + "tests/interchange/ossie/test_latest_relational_edges.py::test_qualified_physical_relation_does_not_bind_same_named_semantic_model[False]", + "tests/interchange/ossie/test_latest_relational_edges.py::test_qualified_physical_relation_does_not_bind_same_named_semantic_model[True]" + ] + }, + "scope-150": { + "path": "tests/interchange/ossie/test_latest_synthesis.py", + "declared_tests": [ + "test_latest_export_expands_derived_dependencies_and_preserves_native_inputs" + ], + "collected_tests": [ + "tests/interchange/ossie/test_latest_synthesis.py::test_latest_export_expands_derived_dependencies_and_preserves_native_inputs[total]", + "tests/interchange/ossie/test_latest_synthesis.py::test_latest_export_expands_derived_dependencies_and_preserves_native_inputs[orders.total]" + ] + }, + "scope-151": { + "path": "tests/interchange/ossie/test_latest_synthesis.py", + "declared_tests": [ + "test_latest_imported_dataset_metric_scopes_survive_graph_synthesis" + ], + "collected_tests": [ + "tests/interchange/ossie/test_latest_synthesis.py::test_latest_imported_dataset_metric_scopes_survive_graph_synthesis" + ] + }, + "scope-152": { + "path": "tests/interchange/ossie/test_latest_synthesis.py", + "declared_tests": [ + "test_latest_export_preserves_quoted_physical_inputs_in_declared_fields" + ], + "collected_tests": [ + "tests/interchange/ossie/test_latest_synthesis.py::test_latest_export_preserves_quoted_physical_inputs_in_declared_fields" + ] + }, + "scope-153": { + "path": "tests/interchange/ossie/test_latest_wide_edge_cases.py", + "declared_tests": [ + "test_cross_output_dialect_preserves_stored_array_index_and_metric_inputs" + ], + "collected_tests": [ + "tests/interchange/ossie/test_latest_wide_edge_cases.py::test_cross_output_dialect_preserves_stored_array_index_and_metric_inputs[field]", + "tests/interchange/ossie/test_latest_wide_edge_cases.py::test_cross_output_dialect_preserves_stored_array_index_and_metric_inputs[metric]" + ] + }, + "scope-154": { + "path": "tests/interchange/ossie/test_layer2_conformance.py", + "declared_tests": [ + "test_layer2_holistic_aggregates_consume_original_population", + "test_layer2_projection_order_and_aliases_are_preserved", + "test_layer2_result_contract", + "test_layer2_type_errors_are_rejected_before_database_execution", + "test_using_star_emits_merged_key_once" + ], + "collected_tests": [ + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-grand_total_distinct_physical_rows]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-where_group_having_order]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-scalar_and_raw_aggregates]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-group_by_all]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-group_expression]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-having_unselected_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-inner_many_to_many_no_duplication]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-left_join_keeps_unmatched]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-right_join_keeps_unmatched]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-full_join_null_rows_are_distinct_sources]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-null_safe_join]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-cross_join_independent_measures]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-non_equi_boolean_join]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-self_join_independent_lineage]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-duplicate_join_branches]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-group_from_other_relation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-field_domain_no_selected_measure_rows]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-empty_global_aggregate]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-empty_grouped_aggregate]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-projection_rename_cte]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-star_passthrough_nested]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-projection_hides_aggregate_input]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-cte_join_keeps_prior_filter]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-scalar_subquery_filter]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-correlated_scalar_subquery]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-two_stage_aggregation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-top_n_self_join_closure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-union_after_evaluation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-distinct_after_evaluation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-set_after_projection_drops_measures]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-rollup]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-cube]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-grouping_sets]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-measure_definition_base]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-measure_definition_provisional_syntax]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-derived_measure_definition]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-definition_join_grain]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-derived_multirelation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-measure_definition_field_not_projected]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-agg_inside_scalar_expression]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-ordinary_sql_source_with_measure_join]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-calculated_field_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-order_limit_offset_after_evaluation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-full_join_using_merged_key]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-right_join_using_merged_key]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-full_using_star_projection_retains_measures]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-agg_filter_preserves_other_measure_population]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-agg_filter_joined_identity_subset]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-agg_filter_empty_population]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-base_measure_on_physical_relation_then_fanout]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-ordinary_scalar_aggregate_window]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-recursive_scalar_cte_with_measure_join]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-recursive_scalar_cte_semantic_seed]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-set_result_order_limit]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-set_result_order_limit_offset]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-derived_measure_outer_filter]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-derived_multirelation_outer_filter]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-order_only_measure_aggregate_context]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-order_only_raw_aggregate_context]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-exists_correlated_predicate]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[python-not_exists_correlated_predicate]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-grand_total_distinct_physical_rows]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-where_group_having_order]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-scalar_and_raw_aggregates]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-group_by_all]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-group_expression]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-having_unselected_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-inner_many_to_many_no_duplication]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-left_join_keeps_unmatched]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-right_join_keeps_unmatched]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-full_join_null_rows_are_distinct_sources]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-null_safe_join]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-cross_join_independent_measures]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-non_equi_boolean_join]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-self_join_independent_lineage]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-duplicate_join_branches]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-group_from_other_relation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-field_domain_no_selected_measure_rows]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-empty_global_aggregate]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-empty_grouped_aggregate]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-projection_rename_cte]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-star_passthrough_nested]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-projection_hides_aggregate_input]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-cte_join_keeps_prior_filter]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-scalar_subquery_filter]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-correlated_scalar_subquery]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-two_stage_aggregation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-top_n_self_join_closure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-union_after_evaluation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-distinct_after_evaluation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-set_after_projection_drops_measures]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-rollup]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-cube]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-grouping_sets]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-measure_definition_base]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-measure_definition_provisional_syntax]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-derived_measure_definition]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-definition_join_grain]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-derived_multirelation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-measure_definition_field_not_projected]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-agg_inside_scalar_expression]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-ordinary_sql_source_with_measure_join]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-calculated_field_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-order_limit_offset_after_evaluation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-full_join_using_merged_key]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-right_join_using_merged_key]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-full_using_star_projection_retains_measures]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-agg_filter_preserves_other_measure_population]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-agg_filter_joined_identity_subset]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-agg_filter_empty_population]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-base_measure_on_physical_relation_then_fanout]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-ordinary_scalar_aggregate_window]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-recursive_scalar_cte_with_measure_join]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-recursive_scalar_cte_semantic_seed]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-set_result_order_limit]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-set_result_order_limit_offset]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-derived_measure_outer_filter]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-derived_multirelation_outer_filter]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-order_only_measure_aggregate_context]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-order_only_raw_aggregate_context]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-exists_correlated_predicate]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[public_rust-not_exists_correlated_predicate]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-grand_total_distinct_physical_rows]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-where_group_having_order]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-scalar_and_raw_aggregates]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-group_by_all]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-group_expression]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-having_unselected_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-inner_many_to_many_no_duplication]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-left_join_keeps_unmatched]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-right_join_keeps_unmatched]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-full_join_null_rows_are_distinct_sources]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-null_safe_join]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-cross_join_independent_measures]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-non_equi_boolean_join]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-self_join_independent_lineage]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-duplicate_join_branches]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-group_from_other_relation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-field_domain_no_selected_measure_rows]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-empty_global_aggregate]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-empty_grouped_aggregate]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-projection_rename_cte]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-star_passthrough_nested]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-projection_hides_aggregate_input]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-cte_join_keeps_prior_filter]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-scalar_subquery_filter]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-correlated_scalar_subquery]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-two_stage_aggregation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-top_n_self_join_closure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-union_after_evaluation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-distinct_after_evaluation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-set_after_projection_drops_measures]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-rollup]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-cube]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-grouping_sets]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-measure_definition_base]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-measure_definition_provisional_syntax]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-derived_measure_definition]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-definition_join_grain]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-derived_multirelation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-measure_definition_field_not_projected]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-agg_inside_scalar_expression]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-ordinary_sql_source_with_measure_join]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-calculated_field_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-order_limit_offset_after_evaluation]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-full_join_using_merged_key]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-right_join_using_merged_key]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-full_using_star_projection_retains_measures]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-agg_filter_preserves_other_measure_population]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-agg_filter_joined_identity_subset]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-agg_filter_empty_population]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-base_measure_on_physical_relation_then_fanout]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-ordinary_scalar_aggregate_window]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-recursive_scalar_cte_with_measure_join]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-recursive_scalar_cte_semantic_seed]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-set_result_order_limit]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-set_result_order_limit_offset]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-derived_measure_outer_filter]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-derived_multirelation_outer_filter]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-order_only_measure_aggregate_context]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-order_only_raw_aggregate_context]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-exists_correlated_predicate]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_result_contract[native_rust-not_exists_correlated_predicate]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-scalar_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-predicate_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-join_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-group_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-bare_aggregated_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-bare_group_by_all]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-aggregate_in_where]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-aggregate_in_group]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-agg_field_argument]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-agg_scalar_measure_argument]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-agg_distinct_argument]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-scalar_function_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-ordinary_aggregate_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-distinct_unevaluated]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-union_unevaluated]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-intersect_unevaluated]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-except_unevaluated]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-nested_aggregate]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-nonaggregate_definition]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-unknown_namespace]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[python-top_level_unevaluated]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-scalar_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-predicate_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-join_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-group_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-bare_aggregated_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-bare_group_by_all]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-aggregate_in_where]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-aggregate_in_group]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-agg_field_argument]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-agg_scalar_measure_argument]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-agg_distinct_argument]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-scalar_function_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-ordinary_aggregate_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-distinct_unevaluated]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-union_unevaluated]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-intersect_unevaluated]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-except_unevaluated]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-nested_aggregate]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-nonaggregate_definition]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-unknown_namespace]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[public_rust-top_level_unevaluated]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-scalar_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-predicate_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-join_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-group_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-bare_aggregated_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-bare_group_by_all]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-aggregate_in_where]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-aggregate_in_group]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-agg_field_argument]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-agg_scalar_measure_argument]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-agg_distinct_argument]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-scalar_function_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-ordinary_aggregate_measure]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-distinct_unevaluated]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-union_unevaluated]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-intersect_unevaluated]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-except_unevaluated]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-nested_aggregate]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-nonaggregate_definition]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-unknown_namespace]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_type_errors_are_rejected_before_database_execution[native_rust-top_level_unevaluated]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_projection_order_and_aliases_are_preserved[python]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_projection_order_and_aliases_are_preserved[public_rust]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_projection_order_and_aliases_are_preserved[native_rust]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_holistic_aggregates_consume_original_population[python]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_holistic_aggregates_consume_original_population[public_rust]", + "tests/interchange/ossie/test_layer2_conformance.py::test_layer2_holistic_aggregates_consume_original_population[native_rust]", + "tests/interchange/ossie/test_layer2_conformance.py::test_using_star_emits_merged_key_once[python]", + "tests/interchange/ossie/test_layer2_conformance.py::test_using_star_emits_merged_key_once[public_rust]", + "tests/interchange/ossie/test_layer2_conformance.py::test_using_star_emits_merged_key_once[native_rust]" + ] + }, + "scope-155": { + "path": "tests/interchange/ossie/test_layer3_api_contract.py", + "declared_tests": [ + "test_native_binding_error_does_not_fall_back_to_python" + ], + "collected_tests": [ + "tests/interchange/ossie/test_layer3_api_contract.py::test_native_binding_error_does_not_fall_back_to_python" + ] + }, + "scope-156": { + "path": "tests/interchange/ossie/test_layer3_api_contract.py", + "declared_tests": [ + "test_strict_wide_rejects_unhandled_security_context" + ], + "collected_tests": [ + "tests/interchange/ossie/test_layer3_api_contract.py::test_strict_wide_rejects_unhandled_security_context" + ] + }, + "scope-157": { + "path": "tests/interchange/ossie/test_layer3_api_contract.py", + "declared_tests": [ + "test_strict_wide_rejects_visibility_enforcement_even_without_policy_models" + ], + "collected_tests": [ + "tests/interchange/ossie/test_layer3_api_contract.py::test_strict_wide_rejects_visibility_enforcement_even_without_policy_models" + ] + }, + "scope-158": { + "path": "tests/interchange/ossie/test_layer3_api_contract.py", + "declared_tests": [ + "test_wide_compile_preserves_graph_input_dialect_when_output_changes" + ], + "collected_tests": [ + "tests/interchange/ossie/test_layer3_api_contract.py::test_wide_compile_preserves_graph_input_dialect_when_output_changes" + ] + }, + "scope-159": { "path": "tests/interchange/ossie/test_ossie_engine_conformance.py", "declared_tests": [ "test_joined_population_and_independent_grains", @@ -7938,7 +9520,7 @@ "tests/interchange/ossie/test_ossie_engine_conformance.py::test_portable_current_date_and_time_results[CURRENT_TIMESTAMP()-native_rust]" ] }, - "scope-118": { + "scope-160": { "path": "tests/interchange/ossie/test_ossie_engine_conformance.py", "declared_tests": [ "test_cli_ossie_query_and_rewrite_execute_same_results" @@ -7954,7 +9536,80 @@ "tests/interchange/ossie/test_ossie_engine_conformance.py::test_cli_ossie_query_and_rewrite_execute_same_results[legacy-rewrite-rust]" ] }, - "scope-119": { + "scope-161": { + "path": "tests/interchange/ossie/test_portable_filtered_count.py", + "declared_tests": [ + "test_layer2_filtered_count_window_reaches_target_emitter" + ], + "collected_tests": [ + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[*-2-snowflake-python]", + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[*-2-snowflake-public_rust]", + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[*-2-snowflake-native_rust]", + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[*-2-bigquery-python]", + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[*-2-bigquery-public_rust]", + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[*-2-bigquery-native_rust]", + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[DISTINCT amount-1-snowflake-python]", + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[DISTINCT amount-1-snowflake-public_rust]", + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[DISTINCT amount-1-snowflake-native_rust]", + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[DISTINCT amount-1-bigquery-python]", + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[DISTINCT amount-1-bigquery-public_rust]", + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[DISTINCT amount-1-bigquery-native_rust]", + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[DISTINCT NULL-0-snowflake-python]", + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[DISTINCT NULL-0-snowflake-public_rust]", + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[DISTINCT NULL-0-snowflake-native_rust]", + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[DISTINCT NULL-0-bigquery-python]", + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[DISTINCT NULL-0-bigquery-public_rust]", + "tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter[DISTINCT NULL-0-bigquery-native_rust]" + ] + }, + "scope-162": { + "path": "tests/interchange/ossie/test_review_distinct_anchor.py", + "declared_tests": [ + "test_distinct_constant_counts_keep_source_population" + ], + "collected_tests": [ + "tests/interchange/ossie/test_review_distinct_anchor.py::test_distinct_constant_counts_keep_source_population[structured-nonempty-python]", + "tests/interchange/ossie/test_review_distinct_anchor.py::test_distinct_constant_counts_keep_source_population[structured-nonempty-public_rust]", + "tests/interchange/ossie/test_review_distinct_anchor.py::test_distinct_constant_counts_keep_source_population[structured-nonempty-native_rust]", + "tests/interchange/ossie/test_review_distinct_anchor.py::test_distinct_constant_counts_keep_source_population[structured-empty-python]", + "tests/interchange/ossie/test_review_distinct_anchor.py::test_distinct_constant_counts_keep_source_population[structured-empty-public_rust]", + "tests/interchange/ossie/test_review_distinct_anchor.py::test_distinct_constant_counts_keep_source_population[structured-empty-native_rust]", + "tests/interchange/ossie/test_review_distinct_anchor.py::test_distinct_constant_counts_keep_source_population[relational-nonempty-python]", + "tests/interchange/ossie/test_review_distinct_anchor.py::test_distinct_constant_counts_keep_source_population[relational-nonempty-public_rust]", + "tests/interchange/ossie/test_review_distinct_anchor.py::test_distinct_constant_counts_keep_source_population[relational-nonempty-native_rust]", + "tests/interchange/ossie/test_review_distinct_anchor.py::test_distinct_constant_counts_keep_source_population[relational-empty-python]", + "tests/interchange/ossie/test_review_distinct_anchor.py::test_distinct_constant_counts_keep_source_population[relational-empty-public_rust]", + "tests/interchange/ossie/test_review_distinct_anchor.py::test_distinct_constant_counts_keep_source_population[relational-empty-native_rust]" + ] + }, + "scope-163": { + "path": "tests/interchange/ossie/test_review_relational_boundaries.py", + "declared_tests": [ + "test_physical_wildcard_rename_remains_ordinary_sql", + "test_stored_view_has_its_own_cte_scope" + ], + "collected_tests": [ + "tests/interchange/ossie/test_review_relational_boundaries.py::test_stored_view_has_its_own_cte_scope[dataset_shadow-python]", + "tests/interchange/ossie/test_review_relational_boundaries.py::test_stored_view_has_its_own_cte_scope[dataset_shadow-public_rust]", + "tests/interchange/ossie/test_review_relational_boundaries.py::test_stored_view_has_its_own_cte_scope[dataset_shadow-native_rust]", + "tests/interchange/ossie/test_review_relational_boundaries.py::test_stored_view_has_its_own_cte_scope[quoted_rename-python]", + "tests/interchange/ossie/test_review_relational_boundaries.py::test_stored_view_has_its_own_cte_scope[quoted_rename-public_rust]", + "tests/interchange/ossie/test_review_relational_boundaries.py::test_stored_view_has_its_own_cte_scope[quoted_rename-native_rust]", + "tests/interchange/ossie/test_review_relational_boundaries.py::test_stored_view_has_its_own_cte_scope[nested_view_shadow-python]", + "tests/interchange/ossie/test_review_relational_boundaries.py::test_stored_view_has_its_own_cte_scope[nested_view_shadow-public_rust]", + "tests/interchange/ossie/test_review_relational_boundaries.py::test_stored_view_has_its_own_cte_scope[nested_view_shadow-native_rust]", + "tests/interchange/ossie/test_review_relational_boundaries.py::test_stored_view_has_its_own_cte_scope[view_local_cte-python]", + "tests/interchange/ossie/test_review_relational_boundaries.py::test_stored_view_has_its_own_cte_scope[view_local_cte-public_rust]", + "tests/interchange/ossie/test_review_relational_boundaries.py::test_stored_view_has_its_own_cte_scope[view_local_cte-native_rust]", + "tests/interchange/ossie/test_review_relational_boundaries.py::test_stored_view_has_its_own_cte_scope[caller_cte_still_shadows_view-python]", + "tests/interchange/ossie/test_review_relational_boundaries.py::test_stored_view_has_its_own_cte_scope[caller_cte_still_shadows_view-public_rust]", + "tests/interchange/ossie/test_review_relational_boundaries.py::test_stored_view_has_its_own_cte_scope[caller_cte_still_shadows_view-native_rust]", + "tests/interchange/ossie/test_review_relational_boundaries.py::test_physical_wildcard_rename_remains_ordinary_sql[python]", + "tests/interchange/ossie/test_review_relational_boundaries.py::test_physical_wildcard_rename_remains_ordinary_sql[public_rust]", + "tests/interchange/ossie/test_review_relational_boundaries.py::test_physical_wildcard_rename_remains_ordinary_sql[native_rust]" + ] + }, + "scope-164": { "path": "tests/metrics/test_advanced.py", "declared_tests": [ "test_conversion_metric", @@ -8037,7 +9692,7 @@ "tests/metrics/test_advanced.py::test_multistep_funnel_order_by_metric_name" ] }, - "scope-120": { + "scope-165": { "path": "tests/metrics/test_cohort.py", "declared_tests": [ "test_cohort_ambiguous_unqualified_raises", @@ -8066,7 +9721,7 @@ "tests/metrics/test_cohort.py::test_cohort_mixed_with_conversion_raises" ] }, - "scope-121": { + "scope-166": { "path": "tests/metrics/test_conversion_source_parity.py", "declared_tests": [ "test_conversion_sql_source_expressions" @@ -8084,7 +9739,7 @@ "tests/metrics/test_conversion_source_parity.py::test_conversion_sql_source_expressions[graph-uid-rust]" ] }, - "scope-122": { + "scope-167": { "path": "tests/metrics/test_conversion_source_parity.py", "declared_tests": [ "test_rust_two_event_conversion_projects_source_aliases" @@ -8094,7 +9749,7 @@ "tests/metrics/test_conversion_source_parity.py::test_rust_two_event_conversion_projects_source_aliases[True]" ] }, - "scope-123": { + "scope-168": { "path": "tests/metrics/test_conversion_source_parity.py", "declared_tests": [ "test_conversion_fill_is_accepted_without_changing_empty_result" @@ -8104,7 +9759,7 @@ "tests/metrics/test_conversion_source_parity.py::test_conversion_fill_is_accepted_without_changing_empty_result[rust]" ] }, - "scope-124": { + "scope-169": { "path": "tests/metrics/test_conversion_source_parity.py", "declared_tests": [ "test_two_event_conversion_uses_last_time_dimension_instead_of_default" @@ -8114,7 +9769,7 @@ "tests/metrics/test_conversion_source_parity.py::test_two_event_conversion_uses_last_time_dimension_instead_of_default[rust]" ] }, - "scope-125": { + "scope-170": { "path": "tests/metrics/test_cumulative.py", "declared_tests": [ "test_time_comparison_over_derived_cumulative_chain" @@ -8123,7 +9778,7 @@ "tests/metrics/test_cumulative.py::test_time_comparison_over_derived_cumulative_chain" ] }, - "scope-126": { + "scope-171": { "path": "tests/metrics/test_cumulative.py", "declared_tests": [ "test_time_comparison_over_ratio_cumulative_chain" @@ -8132,7 +9787,7 @@ "tests/metrics/test_cumulative.py::test_time_comparison_over_ratio_cumulative_chain" ] }, - "scope-127": { + "scope-172": { "path": "tests/metrics/test_cumulative.py", "declared_tests": [ "test_time_comparison_with_dependency_free_expression_metric" @@ -8141,7 +9796,7 @@ "tests/metrics/test_cumulative.py::test_time_comparison_with_dependency_free_expression_metric" ] }, - "scope-128": { + "scope-173": { "path": "tests/metrics/test_filters.py", "declared_tests": [ "test_filter_classification_and_rewrite_respect_nested_select_alias_scope", @@ -8154,7 +9809,7 @@ "tests/metrics/test_filters.py::test_filter_classification_and_rewrite_respect_nested_select_alias_scope" ] }, - "scope-129": { + "scope-174": { "path": "tests/metrics/test_non_additive_guard.py", "declared_tests": [ "test_semi_additive_compiles_without_qualify_on_postgres" @@ -8163,7 +9818,7 @@ "tests/metrics/test_non_additive_guard.py::test_semi_additive_compiles_without_qualify_on_postgres" ] }, - "scope-130": { + "scope-175": { "path": "tests/metrics/test_retention.py", "declared_tests": [ "test_retention_aliased_entity_dimension", @@ -8204,7 +9859,7 @@ "tests/metrics/test_retention.py::test_retention_graph_metric_does_not_bind_to_same_name_model_metric" ] }, - "scope-131": { + "scope-176": { "path": "tests/metrics/test_snapshot_wrapper_parity.py", "declared_tests": [ "test_snapshot_wrappers_preserve_leaf_populations" @@ -8216,7 +9871,7 @@ "tests/metrics/test_snapshot_wrapper_parity.py::test_snapshot_wrappers_preserve_leaf_populations[max-30-rust]" ] }, - "scope-132": { + "scope-177": { "path": "tests/metrics/test_snapshot_wrapper_parity.py", "declared_tests": [ "test_snapshot_wrapper_defaults_apply_after_leaf_selection" @@ -8226,7 +9881,7 @@ "tests/metrics/test_snapshot_wrapper_parity.py::test_snapshot_wrapper_defaults_apply_after_leaf_selection[rust]" ] }, - "scope-133": { + "scope-178": { "path": "tests/metrics/test_symmetric_aggs.py", "declared_tests": [ "test_derived_and_ratio_metrics_reuse_fanout_safe_leaf_aggregates", @@ -8259,7 +9914,7 @@ "tests/metrics/test_symmetric_aggs.py::test_model_measure_null_fill_under_fanout" ] }, - "scope-134": { + "scope-179": { "path": "tests/queries/test_cross_model_calculated_grain.py", "declared_tests": [ "test_calculated_metrics_preserve_each_source_grain", @@ -8288,7 +9943,7 @@ "tests/queries/test_cross_model_calculated_grain.py::test_cross_model_calculation_output_name_collisions" ] }, - "scope-135": { + "scope-180": { "path": "tests/queries/test_deterministic_join_anchor.py", "declared_tests": [ "test_graph_metric_sql_reference_order_determines_one_to_one_join_anchor" @@ -8297,7 +9952,113 @@ "tests/queries/test_deterministic_join_anchor.py::test_graph_metric_sql_reference_order_determines_one_to_one_join_anchor" ] }, - "scope-136": { + "scope-181": { + "path": "tests/queries/test_multi_fact_combine.py", + "declared_tests": [ + "test_authored_full_join_condition_is_emitted_as_written", + "test_multi_fact_sql_orders_by_position_and_alias", + "test_multi_fact_sql_orders_dimension_by_position", + "test_multi_fact_structured_query_orders_by_position", + "test_postgres_full_join_uses_only_equality_conditions", + "test_three_sources_share_null_and_unmatched_dimension_groups", + "test_two_dimensions_including_time_grain_align_across_sources" + ], + "collected_tests": [ + "tests/queries/test_multi_fact_combine.py::test_postgres_full_join_uses_only_equality_conditions[two-sources-python]", + "tests/queries/test_multi_fact_combine.py::test_postgres_full_join_uses_only_equality_conditions[two-sources-rust]", + "tests/queries/test_multi_fact_combine.py::test_postgres_full_join_uses_only_equality_conditions[three-sources-two-dimensions-python]", + "tests/queries/test_multi_fact_combine.py::test_postgres_full_join_uses_only_equality_conditions[three-sources-two-dimensions-rust]", + "tests/queries/test_multi_fact_combine.py::test_authored_full_join_condition_is_emitted_as_written[postgres-python]", + "tests/queries/test_multi_fact_combine.py::test_authored_full_join_condition_is_emitted_as_written[postgres-rust]", + "tests/queries/test_multi_fact_combine.py::test_authored_full_join_condition_is_emitted_as_written[duckdb-python]", + "tests/queries/test_multi_fact_combine.py::test_authored_full_join_condition_is_emitted_as_written[duckdb-rust]", + "tests/queries/test_multi_fact_combine.py::test_three_sources_share_null_and_unmatched_dimension_groups[python]", + "tests/queries/test_multi_fact_combine.py::test_three_sources_share_null_and_unmatched_dimension_groups[rust]", + "tests/queries/test_multi_fact_combine.py::test_two_dimensions_including_time_grain_align_across_sources[python]", + "tests/queries/test_multi_fact_combine.py::test_two_dimensions_including_time_grain_align_across_sources[rust]", + "tests/queries/test_multi_fact_combine.py::test_multi_fact_sql_orders_by_position_and_alias[python-metric-position]", + "tests/queries/test_multi_fact_combine.py::test_multi_fact_sql_orders_by_position_and_alias[python-written-projection-position]", + "tests/queries/test_multi_fact_combine.py::test_multi_fact_sql_orders_by_position_and_alias[python-two-positions]", + "tests/queries/test_multi_fact_combine.py::test_multi_fact_sql_orders_by_position_and_alias[python-select-alias]", + "tests/queries/test_multi_fact_combine.py::test_multi_fact_sql_orders_by_position_and_alias[python-position-with-limit]", + "tests/queries/test_multi_fact_combine.py::test_multi_fact_sql_orders_by_position_and_alias[rust-metric-position]", + "tests/queries/test_multi_fact_combine.py::test_multi_fact_sql_orders_by_position_and_alias[rust-written-projection-position]", + "tests/queries/test_multi_fact_combine.py::test_multi_fact_sql_orders_by_position_and_alias[rust-two-positions]", + "tests/queries/test_multi_fact_combine.py::test_multi_fact_sql_orders_by_position_and_alias[rust-select-alias]", + "tests/queries/test_multi_fact_combine.py::test_multi_fact_sql_orders_by_position_and_alias[rust-position-with-limit]", + "tests/queries/test_multi_fact_combine.py::test_multi_fact_sql_orders_dimension_by_position[python]", + "tests/queries/test_multi_fact_combine.py::test_multi_fact_sql_orders_dimension_by_position[rust]", + "tests/queries/test_multi_fact_combine.py::test_multi_fact_structured_query_orders_by_position[python]", + "tests/queries/test_multi_fact_combine.py::test_multi_fact_structured_query_orders_by_position[rust]" + ] + }, + "scope-182": { + "path": "tests/queries/test_query_correctness_regressions.py", + "declared_tests": [ + "test_conversion_source_expressions_and_pagination", + "test_cumulative_combines_base_and_wrapper_filters", + "test_cumulative_keeps_temporal_cohorts_separate", + "test_direct_many_to_many_deduplicates_both_directions", + "test_direct_window_aliases_and_result_filter", + "test_explicit_temporal_order_selects_its_own_progression_axis", + "test_filtered_cumulative_private_inputs_do_not_collide_with_caller_aliases", + "test_filtered_cumulative_scopes_population_without_mutating_graph", + "test_metric_order_keeps_progression_and_temporal_cohorts", + "test_selected_window_result_filters_run_after_window", + "test_sql_first_distinct_aggregate", + "test_sql_window_order_by_caller_alias" + ], + "collected_tests": [ + "tests/queries/test_query_correctness_regressions.py::test_direct_many_to_many_deduplicates_both_directions[a]", + "tests/queries/test_query_correctness_regressions.py::test_direct_many_to_many_deduplicates_both_directions[b]", + "tests/queries/test_query_correctness_regressions.py::test_sql_first_distinct_aggregate[False-SUM-30]", + "tests/queries/test_query_correctness_regressions.py::test_sql_first_distinct_aggregate[False-AVG-15]", + "tests/queries/test_query_correctness_regressions.py::test_sql_first_distinct_aggregate[True-SUM-30]", + "tests/queries/test_query_correctness_regressions.py::test_sql_first_distinct_aggregate[True-AVG-15]", + "tests/queries/test_query_correctness_regressions.py::test_cumulative_keeps_temporal_cohorts_separate[options0]", + "tests/queries/test_query_correctness_regressions.py::test_cumulative_keeps_temporal_cohorts_separate[options1]", + "tests/queries/test_query_correctness_regressions.py::test_cumulative_keeps_temporal_cohorts_separate[options2]", + "tests/queries/test_query_correctness_regressions.py::test_cumulative_keeps_temporal_cohorts_separate[options3]", + "tests/queries/test_query_correctness_regressions.py::test_selected_window_result_filters_run_after_window[running > 15]", + "tests/queries/test_query_correctness_regressions.py::test_selected_window_result_filters_run_after_window[sales.running > 15]", + "tests/queries/test_query_correctness_regressions.py::test_selected_window_result_filters_run_after_window[running > 15 AND category = 'a']", + "tests/queries/test_query_correctness_regressions.py::test_selected_window_result_filters_run_after_window[running > 15 OR day = DATE '2024-01-01']", + "tests/queries/test_query_correctness_regressions.py::test_sql_window_order_by_caller_alias[d]", + "tests/queries/test_query_correctness_regressions.py::test_sql_window_order_by_caller_alias[total DESC]", + "tests/queries/test_query_correctness_regressions.py::test_direct_window_aliases_and_result_filter", + "tests/queries/test_query_correctness_regressions.py::test_filtered_cumulative_scopes_population_without_mutating_graph[aggregate-model]", + "tests/queries/test_query_correctness_regressions.py::test_filtered_cumulative_scopes_population_without_mutating_graph[aggregate-graph]", + "tests/queries/test_query_correctness_regressions.py::test_filtered_cumulative_scopes_population_without_mutating_graph[graph_aggregate-model]", + "tests/queries/test_query_correctness_regressions.py::test_filtered_cumulative_scopes_population_without_mutating_graph[graph_aggregate-graph]", + "tests/queries/test_query_correctness_regressions.py::test_filtered_cumulative_scopes_population_without_mutating_graph[derived-model]", + "tests/queries/test_query_correctness_regressions.py::test_filtered_cumulative_scopes_population_without_mutating_graph[derived-graph]", + "tests/queries/test_query_correctness_regressions.py::test_filtered_cumulative_scopes_population_without_mutating_graph[ratio-model]", + "tests/queries/test_query_correctness_regressions.py::test_filtered_cumulative_scopes_population_without_mutating_graph[ratio-graph]", + "tests/queries/test_query_correctness_regressions.py::test_filtered_cumulative_scopes_population_without_mutating_graph[complete-model]", + "tests/queries/test_query_correctness_regressions.py::test_filtered_cumulative_scopes_population_without_mutating_graph[complete-graph]", + "tests/queries/test_query_correctness_regressions.py::test_filtered_cumulative_scopes_population_without_mutating_graph[expression-model]", + "tests/queries/test_query_correctness_regressions.py::test_filtered_cumulative_scopes_population_without_mutating_graph[expression-graph]", + "tests/queries/test_query_correctness_regressions.py::test_cumulative_combines_base_and_wrapper_filters", + "tests/queries/test_query_correctness_regressions.py::test_conversion_source_expressions_and_pagination[None-False-False]", + "tests/queries/test_query_correctness_regressions.py::test_conversion_source_expressions_and_pagination[None-False-True]", + "tests/queries/test_query_correctness_regressions.py::test_conversion_source_expressions_and_pagination[None-True-False]", + "tests/queries/test_query_correctness_regressions.py::test_conversion_source_expressions_and_pagination[None-True-True]", + "tests/queries/test_query_correctness_regressions.py::test_conversion_source_expressions_and_pagination[1-False-False]", + "tests/queries/test_query_correctness_regressions.py::test_conversion_source_expressions_and_pagination[1-False-True]", + "tests/queries/test_query_correctness_regressions.py::test_conversion_source_expressions_and_pagination[1-True-False]", + "tests/queries/test_query_correctness_regressions.py::test_conversion_source_expressions_and_pagination[1-True-True]", + "tests/queries/test_query_correctness_regressions.py::test_filtered_cumulative_private_inputs_do_not_collide_with_caller_aliases[__sqlctx_cumulative_0-sales.day]", + "tests/queries/test_query_correctness_regressions.py::test_filtered_cumulative_private_inputs_do_not_collide_with_caller_aliases[__sqlctx_cumulative_0-sales.running]", + "tests/queries/test_query_correctness_regressions.py::test_filtered_cumulative_private_inputs_do_not_collide_with_caller_aliases[__sqlctx_cumulative_0_raw-sales.day]", + "tests/queries/test_query_correctness_regressions.py::test_filtered_cumulative_private_inputs_do_not_collide_with_caller_aliases[__sqlctx_cumulative_0_raw-sales.running]", + "tests/queries/test_query_correctness_regressions.py::test_metric_order_keeps_progression_and_temporal_cohorts[False-revenue]", + "tests/queries/test_query_correctness_regressions.py::test_metric_order_keeps_progression_and_temporal_cohorts[False-sales.revenue]", + "tests/queries/test_query_correctness_regressions.py::test_metric_order_keeps_progression_and_temporal_cohorts[True-revenue]", + "tests/queries/test_query_correctness_regressions.py::test_metric_order_keeps_progression_and_temporal_cohorts[True-sales.revenue]", + "tests/queries/test_query_correctness_regressions.py::test_explicit_temporal_order_selects_its_own_progression_axis" + ] + }, + "scope-183": { "path": "tests/queries/test_relationship_key_validation.py", "declared_tests": [ "test_declared_foreign_key_groups_without_dimension" @@ -8307,7 +10068,7 @@ "tests/queries/test_relationship_key_validation.py::test_declared_foreign_key_groups_without_dimension[rust]" ] }, - "scope-137": { + "scope-184": { "path": "tests/queries/test_rust_query_rewriter_route.py", "declared_tests": [ "test_caller_context_reaches_rust_without_fallback", @@ -8358,7 +10119,7 @@ "tests/queries/test_rust_query_rewriter_route.py::test_cte_collision_binding_belongs_to_contextual_rust[none]" ] }, - "scope-138": { + "scope-185": { "path": "tests/queries/test_rust_sql_rewriter_parity.py", "declared_tests": [ "test_semantic_sql_contract" @@ -8460,7 +10221,7 @@ "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_root_semantic_cte_name_collision]" ] }, - "scope-139": { + "scope-186": { "path": "tests/queries/test_rust_yardstick_parity.py", "declared_tests": [ "test_yardstick_result_contract" @@ -8503,6 +10264,22 @@ "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_ctas_and_insert_select_with_aggregate]", "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_builtin_duckdb_aggregate_function_falls_through]", "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_scalar_aggregate_without_group_by]", + "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_scalar_aggregates_preserve_empty_input_row-0]", + "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_scalar_aggregates_preserve_empty_input_row-1]", + "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_scalar_aggregates_preserve_empty_input_row-2]", + "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_scalar_aggregates_preserve_empty_input_row-3]", + "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_correlated_scalar_context_collapses_to_maximum-0]", + "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_correlated_scalar_context_collapses_to_maximum-1]", + "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_correlated_scalar_context_collapses_to_maximum-2]", + "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_correlated_scalar_context_collapses_to_maximum-3]", + "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_overridden_set_self_reference_is_ignored-0]", + "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_overridden_set_self_reference_is_ignored-1]", + "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_overridden_set_self_reference_is_ignored-2]", + "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_overridden_set_self_reference_is_ignored-3]", + "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_overridden_set_self_reference_is_ignored-4]", + "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_overridden_set_self_reference_is_ignored-5]", + "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_ungrouped_set_self_reference_is_rejected-0]", + "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_ungrouped_set_self_reference_is_rejected-1]", "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_doubled_aggregate_expression]", "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_literal_constant_not_grouped]", "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_ad_hoc_dimension_all_expression]", @@ -8597,11 +10374,13 @@ "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_unknown_or_ambiguous_measure_is_a_binding_error-4]" ] }, - "scope-140": { + "scope-187": { "path": "tests/queries/test_semantic_sql_planner.py", "declared_tests": [ "test_additive_total_union_uses_branch_preaggregations", "test_aggregate_boundary_count_metric_rollup", + "test_aggregate_boundary_keeps_unaliased_date_trunc_type", + "test_aggregate_boundary_keeps_written_unaliased_expressions", "test_aggregate_boundary_min_max_metric_rollup", "test_aggregate_boundary_rejects_mismatched_min_rollup", "test_aggregate_boundary_rejects_non_additive_subtotals", @@ -8609,6 +10388,7 @@ "test_aggregate_boundary_sum_rollup_drops_finer_dimension", "test_aggregate_boundary_sum_rollup_uses_preaggregation", "test_aggregate_boundary_time_grain_rollup_day_to_month", + "test_aggregate_boundary_time_grain_rollup_keeps_date_trunc_type", "test_aggregate_boundary_time_grain_rollup_rejects_unsafe_dimension_expressions", "test_aggregate_boundary_time_grain_rollup_rejects_week_to_month", "test_aggregate_boundary_time_grain_rollup_uses_daily_preaggregation", @@ -8760,6 +10540,9 @@ "tests/queries/test_semantic_sql_planner.py::test_grouping_sets_subtotal_preserves_outer_shape_and_uses_preaggregation", "tests/queries/test_semantic_sql_planner.py::test_aggregate_boundary_rejects_non_additive_subtotals", "tests/queries/test_semantic_sql_planner.py::test_aggregate_boundary_time_grain_rollup_day_to_month", + "tests/queries/test_semantic_sql_planner.py::test_aggregate_boundary_time_grain_rollup_keeps_date_trunc_type", + "tests/queries/test_semantic_sql_planner.py::test_aggregate_boundary_keeps_written_unaliased_expressions", + "tests/queries/test_semantic_sql_planner.py::test_aggregate_boundary_keeps_unaliased_date_trunc_type", "tests/queries/test_semantic_sql_planner.py::test_aggregate_boundary_time_grain_rollup_uses_daily_preaggregation", "tests/queries/test_semantic_sql_planner.py::test_aggregate_boundary_time_grain_rollup_rejects_week_to_month", "tests/queries/test_semantic_sql_planner.py::test_aggregate_boundary_time_grain_rollup_rejects_unsafe_dimension_expressions[\\n SELECT COALESCE(status, 'unknown') AS status_bucket, SUM(revenue) AS revenue\\n FROM (\\n SELECT orders.status, orders.revenue FROM orders\\n ) sq\\n GROUP BY 1\\n -outer_group_expression_not_supported]", @@ -8840,7 +10623,7 @@ "tests/queries/test_semantic_sql_planner.py::test_explanation_can_be_serialized_to_dict" ] }, - "scope-141": { + "scope-188": { "path": "tests/queries/test_sql_fallback_policy.py", "declared_tests": [ "test_non_strict_rewrite_does_not_hide_runtime_bug", @@ -8854,7 +10637,7 @@ "tests/queries/test_sql_fallback_policy.py::test_rust_rewrite_does_not_hide_api_contract_defect[error1]" ] }, - "scope-142": { + "scope-189": { "path": "tests/queries/test_temporal_sql_projection.py", "declared_tests": [ "test_repeated_metric_keeps_each_projection_alias", @@ -8874,7 +10657,7 @@ "tests/queries/test_temporal_sql_projection.py::test_repeated_metric_keeps_each_projection_alias[orders.revenue]" ] }, - "scope-143": { + "scope-190": { "path": "tests/queries/test_yardstick_measures_replay.py", "declared_tests": [ "test_upstream_environment_requirements_control_file_eligibility", @@ -8887,7 +10670,7 @@ "tests/queries/test_yardstick_measures_replay.py::test_upstream_environment_requirements_control_file_eligibility" ] }, - "scope-144": { + "scope-191": { "path": "tests/queries/test_yardstick_measures_replay.py", "declared_tests": [ "test_definition_coverage_is_corpus_wide_without_dropping_plain_sql", @@ -8905,7 +10688,7 @@ "tests/queries/test_yardstick_measures_replay.py::test_definition_coverage_is_corpus_wide_without_dropping_plain_sql" ] }, - "scope-145": { + "scope-192": { "path": "tests/semantic_conformance/test_absent_counts.py", "declared_tests": [ "test_absent_count_zero_is_used_by_aggregate_filter_and_order", @@ -8935,7 +10718,7 @@ "tests/semantic_conformance/test_absent_counts.py::test_absent_count_zero_is_used_by_aggregate_filter_and_order[rust]" ] }, - "scope-146": { + "scope-193": { "path": "tests/semantic_conformance/test_active_consumption_cli.py", "declared_tests": [ "test_explore_calculations_follow_selected_paginated_rows", @@ -8954,7 +10737,7 @@ "tests/semantic_conformance/test_active_consumption_cli.py::test_explore_rejects_disallowed_selection_and_preserves_security[rust]" ] }, - "scope-147": { + "scope-194": { "path": "tests/semantic_conformance/test_active_explores.py", "declared_tests": [ "test_contract_rejections_precede_dispatch", @@ -8988,456 +10771,179 @@ "tests/semantic_conformance/test_active_explores.py::test_contract_rejections_precede_dispatch[python-query5-exceeds max_limit]", "tests/semantic_conformance/test_active_explores.py::test_contract_rejections_precede_dispatch[rust-query0-does not allow metric]", "tests/semantic_conformance/test_active_explores.py::test_contract_rejections_precede_dispatch[rust-query1-does not allow dimension]", - "tests/semantic_conformance/test_active_explores.py::test_contract_rejections_precede_dispatch[rust-query2-does not allow filter]", - "tests/semantic_conformance/test_active_explores.py::test_contract_rejections_precede_dispatch[rust-query3-does not allow ordering]", - "tests/semantic_conformance/test_active_explores.py::test_contract_rejections_precede_dispatch[rust-query4-must be selected]", - "tests/semantic_conformance/test_active_explores.py::test_contract_rejections_precede_dispatch[rust-query5-exceeds max_limit]", - "tests/semantic_conformance/test_active_explores.py::test_order_defaults_and_limit_overrides[python]", - "tests/semantic_conformance/test_active_explores.py::test_order_defaults_and_limit_overrides[rust]", - "tests/semantic_conformance/test_active_explores.py::test_saved_query_cannot_override_resolved_contract[python]", - "tests/semantic_conformance/test_active_explores.py::test_saved_query_cannot_override_resolved_contract[rust]", - "tests/semantic_conformance/test_active_explores.py::test_unjoinable_explore_base_is_rejected[python]", - "tests/semantic_conformance/test_active_explores.py::test_unjoinable_explore_base_is_rejected[rust]", - "tests/semantic_conformance/test_active_explores.py::test_independent_aggregate_route_never_discards_explore_population[python]", - "tests/semantic_conformance/test_active_explores.py::test_independent_aggregate_route_never_discards_explore_population[rust]", - "tests/semantic_conformance/test_active_explores.py::test_intermediate_policy_constrains_related_only_metric[python]", - "tests/semantic_conformance/test_active_explores.py::test_intermediate_policy_constrains_related_only_metric[rust]" - ] - }, - "scope-148": { - "path": "tests/semantic_conformance/test_aggregate_aliases.py", - "declared_tests": [ - "test_dimension_and_metric_names_from_different_owners", - "test_hidden_leaf_collision_does_not_rename_public_dimension", - "test_qualified_metric_filter_and_order_bind_selected_outputs", - "test_same_owner_duplicate_child_output_remains_explicitly_unsupported", - "test_two_grouping_dimensions_share_basename", - "test_unselected_metric_filter_uses_normalized_child_output" - ], - "collected_tests": [ - "tests/semantic_conformance/test_aggregate_aliases.py::test_dimension_and_metric_names_from_different_owners[python]", - "tests/semantic_conformance/test_aggregate_aliases.py::test_dimension_and_metric_names_from_different_owners[rust]", - "tests/semantic_conformance/test_aggregate_aliases.py::test_hidden_leaf_collision_does_not_rename_public_dimension[python]", - "tests/semantic_conformance/test_aggregate_aliases.py::test_hidden_leaf_collision_does_not_rename_public_dimension[rust]", - "tests/semantic_conformance/test_aggregate_aliases.py::test_two_grouping_dimensions_share_basename[python-False-False]", - "tests/semantic_conformance/test_aggregate_aliases.py::test_two_grouping_dimensions_share_basename[python-False-True]", - "tests/semantic_conformance/test_aggregate_aliases.py::test_two_grouping_dimensions_share_basename[python-True-False]", - "tests/semantic_conformance/test_aggregate_aliases.py::test_two_grouping_dimensions_share_basename[python-True-True]", - "tests/semantic_conformance/test_aggregate_aliases.py::test_two_grouping_dimensions_share_basename[rust-False-False]", - "tests/semantic_conformance/test_aggregate_aliases.py::test_two_grouping_dimensions_share_basename[rust-False-True]", - "tests/semantic_conformance/test_aggregate_aliases.py::test_two_grouping_dimensions_share_basename[rust-True-False]", - "tests/semantic_conformance/test_aggregate_aliases.py::test_two_grouping_dimensions_share_basename[rust-True-True]", - "tests/semantic_conformance/test_aggregate_aliases.py::test_qualified_metric_filter_and_order_bind_selected_outputs[python]", - "tests/semantic_conformance/test_aggregate_aliases.py::test_qualified_metric_filter_and_order_bind_selected_outputs[rust]", - "tests/semantic_conformance/test_aggregate_aliases.py::test_unselected_metric_filter_uses_normalized_child_output[python]", - "tests/semantic_conformance/test_aggregate_aliases.py::test_unselected_metric_filter_uses_normalized_child_output[rust]", - "tests/semantic_conformance/test_aggregate_aliases.py::test_same_owner_duplicate_child_output_remains_explicitly_unsupported" - ] - }, - "scope-149": { - "path": "tests/semantic_conformance/test_aggregate_aliases.py", - "declared_tests": [ - "test_same_owner_duplicate_child_output_remains_explicitly_unsupported" - ], - "collected_tests": [ - "tests/semantic_conformance/test_aggregate_aliases.py::test_same_owner_duplicate_child_output_remains_explicitly_unsupported" - ] - }, - "scope-150": { - "path": "tests/semantic_conformance/test_aggregate_breadth_parity.py", - "declared_tests": [ - "test_advanced_aggregates_use_each_entity_once", - "test_approximate_distinct_supports_fanout_and_aggregate_filters", - "test_complete_aggregates_keep_groups_without_source_entities", - "test_complete_and_advanced_totals_deduplicate_overlapping_entity_groups", - "test_complete_default_is_applied_at_selected_output_not_nested_formula", - "test_complete_sql_and_advanced_independent_populations", - "test_complete_sql_and_wrappers_run_after_entity_dedup", - "test_complete_totals_without_fanout_keep_null_and_empty_populations", - "test_distinct_without_expression_uses_entity_identity", - "test_filtered_complete_formulas_keep_python_row_inputs" - ], - "collected_tests": [ - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[python-median]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[python-stddev]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[python-stddev_pop]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[python-variance]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[python-variance_pop]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[rust-median]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[rust-stddev]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[rust-stddev_pop]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[rust-variance]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[rust-variance_pop]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_sql_and_wrappers_run_after_entity_dedup[python]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_sql_and_wrappers_run_after_entity_dedup[rust]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_aggregates_keep_groups_without_source_entities[python]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_aggregates_keep_groups_without_source_entities[rust]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_and_advanced_totals_deduplicate_overlapping_entity_groups[python]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_and_advanced_totals_deduplicate_overlapping_entity_groups[rust]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_totals_without_fanout_keep_null_and_empty_populations[python-False-False]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_totals_without_fanout_keep_null_and_empty_populations[python-False-True]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_totals_without_fanout_keep_null_and_empty_populations[python-True-False]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_totals_without_fanout_keep_null_and_empty_populations[python-True-True]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_totals_without_fanout_keep_null_and_empty_populations[rust-False-False]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_totals_without_fanout_keep_null_and_empty_populations[rust-False-True]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_totals_without_fanout_keep_null_and_empty_populations[rust-True-False]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_totals_without_fanout_keep_null_and_empty_populations[rust-True-True]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_approximate_distinct_supports_fanout_and_aggregate_filters[python]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_approximate_distinct_supports_fanout_and_aggregate_filters[rust]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_sql_and_advanced_independent_populations[python]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_sql_and_advanced_independent_populations[rust]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_distinct_without_expression_uses_entity_identity[python-dimensions0]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_distinct_without_expression_uses_entity_identity[python-dimensions1]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_distinct_without_expression_uses_entity_identity[rust-dimensions0]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_distinct_without_expression_uses_entity_identity[rust-dimensions1]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-False-median(amount)-40.0]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-False-sum(amount) / count(*)-26.666666666666668]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-False-sum(amount) / count(amount)-40.0]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-False-count(distinct abs(amount))-2]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-False-sum(amount) filter (where amount > 30)-60.0]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-True-median(amount)-40.0]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-True-sum(amount) / count(*)-26.666666666666668]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-True-sum(amount) / count(amount)-40.0]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-True-count(distinct abs(amount))-2]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-True-sum(amount) filter (where amount > 30)-60.0]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-False-median(amount)-40.0]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-False-sum(amount) / count(*)-26.666666666666668]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-False-sum(amount) / count(amount)-40.0]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-False-count(distinct abs(amount))-2]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-False-sum(amount) filter (where amount > 30)-60.0]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-True-median(amount)-40.0]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-True-sum(amount) / count(*)-26.666666666666668]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-True-sum(amount) / count(amount)-40.0]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-True-count(distinct abs(amount))-2]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-True-sum(amount) filter (where amount > 30)-60.0]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[python-False-False-False]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[python-False-False-True]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[python-False-True-False]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[python-False-True-True]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[python-True-False-False]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[python-True-False-True]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[python-True-True-False]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[python-True-True-True]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[rust-False-False-False]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[rust-False-False-True]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[rust-False-True-False]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[rust-False-True-True]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[rust-True-False-False]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[rust-True-False-True]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[rust-True-True-False]", - "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[rust-True-True-True]" - ] - }, - "scope-151": { - "path": "tests/semantic_conformance/test_approximate_distinct.py", - "declared_tests": [ - "test_aggregate_filters_wrappers_and_stored_scalar_fallback", - "test_approximate_dialect_rendering_and_population_results", - "test_cumulative_approximate_counts_use_grouped_outputs", - "test_estimator_and_filtered_populations", - "test_joined_populations", - "test_query_filters_and_empty_populations", - "test_redshift_nested_approximate_expressions_use_independent_parser" - ], - "collected_tests": [ - "tests/semantic_conformance/test_approximate_distinct.py::test_estimator_and_filtered_populations[python]", - "tests/semantic_conformance/test_approximate_distinct.py::test_estimator_and_filtered_populations[rust]", - "tests/semantic_conformance/test_approximate_distinct.py::test_query_filters_and_empty_populations[python-False-filters0]", - "tests/semantic_conformance/test_approximate_distinct.py::test_query_filters_and_empty_populations[python-False-filters1]", - "tests/semantic_conformance/test_approximate_distinct.py::test_query_filters_and_empty_populations[python-True-filters0]", - "tests/semantic_conformance/test_approximate_distinct.py::test_query_filters_and_empty_populations[python-True-filters1]", - "tests/semantic_conformance/test_approximate_distinct.py::test_query_filters_and_empty_populations[rust-False-filters0]", - "tests/semantic_conformance/test_approximate_distinct.py::test_query_filters_and_empty_populations[rust-False-filters1]", - "tests/semantic_conformance/test_approximate_distinct.py::test_query_filters_and_empty_populations[rust-True-filters0]", - "tests/semantic_conformance/test_approximate_distinct.py::test_query_filters_and_empty_populations[rust-True-filters1]", - "tests/semantic_conformance/test_approximate_distinct.py::test_aggregate_filters_wrappers_and_stored_scalar_fallback[python]", - "tests/semantic_conformance/test_approximate_distinct.py::test_aggregate_filters_wrappers_and_stored_scalar_fallback[rust]", - "tests/semantic_conformance/test_approximate_distinct.py::test_joined_populations[python-many_to_one]", - "tests/semantic_conformance/test_approximate_distinct.py::test_joined_populations[python-one_to_many]", - "tests/semantic_conformance/test_approximate_distinct.py::test_joined_populations[rust-many_to_one]", - "tests/semantic_conformance/test_approximate_distinct.py::test_joined_populations[rust-one_to_many]", - "tests/semantic_conformance/test_approximate_distinct.py::test_cumulative_approximate_counts_use_grouped_outputs[python-None]", - "tests/semantic_conformance/test_approximate_distinct.py::test_cumulative_approximate_counts_use_grouped_outputs[python-sum(base.users)]", - "tests/semantic_conformance/test_approximate_distinct.py::test_cumulative_approximate_counts_use_grouped_outputs[rust-None]", - "tests/semantic_conformance/test_approximate_distinct.py::test_cumulative_approximate_counts_use_grouped_outputs[rust-sum(base.users)]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-simple-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-simple-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-simple-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-simple-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-simple-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-simple-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-simple-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-simple-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-simple-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-simple-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-simple-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-implicit-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-implicit-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-implicit-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-implicit-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-implicit-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-implicit-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-implicit-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-implicit-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-implicit-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-implicit-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-implicit-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_implicit-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_implicit-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_implicit-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_implicit-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_implicit-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_implicit-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_implicit-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_implicit-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_implicit-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_implicit-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_implicit-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-filtered-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-filtered-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-filtered-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-filtered-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-filtered-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-filtered-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-filtered-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-filtered-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-filtered-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-filtered-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-filtered-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-wrapper-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-wrapper-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-wrapper-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-wrapper-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-wrapper-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-wrapper-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-wrapper-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-wrapper-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-wrapper-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-wrapper-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-wrapper-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-snapshot-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-snapshot-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-snapshot-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-snapshot-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-snapshot-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-snapshot-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-snapshot-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-snapshot-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-snapshot-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-snapshot-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-snapshot-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-cumulative-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-cumulative-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-cumulative-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-cumulative-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-cumulative-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-cumulative-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-cumulative-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-cumulative-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-cumulative-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-cumulative-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-cumulative-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete_filtered-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete_filtered-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete_filtered-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete_filtered-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete_filtered-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete_filtered-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete_filtered-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete_filtered-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete_filtered-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete_filtered-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-complete_filtered-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-nested_complete-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-nested_complete-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-nested_complete-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-nested_complete-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-nested_complete-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-nested_complete-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-nested_complete-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-nested_complete-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-nested_complete-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-nested_complete-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-nested_complete-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-window-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-window-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-window-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-window-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-window-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-window-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-window-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-window-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-window-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-window-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-window-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-simple-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-simple-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-simple-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-simple-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-simple-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-simple-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-simple-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-simple-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-simple-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-simple-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-simple-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-implicit-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-implicit-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-implicit-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-implicit-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-implicit-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-implicit-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-implicit-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-implicit-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-implicit-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-implicit-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-implicit-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_implicit-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_implicit-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_implicit-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_implicit-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_implicit-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_implicit-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_implicit-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_implicit-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_implicit-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_implicit-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_implicit-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-filtered-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-filtered-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-filtered-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-filtered-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-filtered-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-filtered-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-filtered-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-filtered-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-filtered-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-filtered-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-filtered-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-wrapper-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-wrapper-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-wrapper-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-wrapper-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-wrapper-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-wrapper-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-wrapper-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-wrapper-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-wrapper-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-wrapper-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-wrapper-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-snapshot-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-snapshot-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-snapshot-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-snapshot-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-snapshot-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-snapshot-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-snapshot-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-snapshot-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-snapshot-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-snapshot-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-snapshot-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-cumulative-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-cumulative-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-cumulative-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-cumulative-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-cumulative-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-cumulative-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-cumulative-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-cumulative-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-cumulative-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-cumulative-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-cumulative-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete_filtered-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete_filtered-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete_filtered-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete_filtered-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete_filtered-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete_filtered-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete_filtered-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete_filtered-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete_filtered-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete_filtered-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-complete_filtered-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-nested_complete-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-nested_complete-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-nested_complete-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-nested_complete-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-nested_complete-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-nested_complete-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-nested_complete-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-nested_complete-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-nested_complete-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-nested_complete-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-nested_complete-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-window-duckdb-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-window-postgres-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-window-bigquery-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-window-snowflake-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-window-trino-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-window-spark-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-window-databricks-APPROX_COUNT_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-window-redshift-APPROXIMATE COUNT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-window-clickhouse-UNIQ]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-window-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-window-sqlite-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_redshift_nested_approximate_expressions_use_independent_parser[python-ROUND(COALESCE(APPROX_COUNT_DISTINCT(user_id), 0), 0)]", - "tests/semantic_conformance/test_approximate_distinct.py::test_redshift_nested_approximate_expressions_use_independent_parser[python-GREATEST(APPROX_COUNT_DISTINCT(user_id), 0)]", - "tests/semantic_conformance/test_approximate_distinct.py::test_redshift_nested_approximate_expressions_use_independent_parser[python-NULLIF(APPROX_COUNT_DISTINCT(user_id), 0)]", - "tests/semantic_conformance/test_approximate_distinct.py::test_redshift_nested_approximate_expressions_use_independent_parser[rust-ROUND(COALESCE(APPROX_COUNT_DISTINCT(user_id), 0), 0)]", - "tests/semantic_conformance/test_approximate_distinct.py::test_redshift_nested_approximate_expressions_use_independent_parser[rust-GREATEST(APPROX_COUNT_DISTINCT(user_id), 0)]", - "tests/semantic_conformance/test_approximate_distinct.py::test_redshift_nested_approximate_expressions_use_independent_parser[rust-NULLIF(APPROX_COUNT_DISTINCT(user_id), 0)]" + "tests/semantic_conformance/test_active_explores.py::test_contract_rejections_precede_dispatch[rust-query2-does not allow filter]", + "tests/semantic_conformance/test_active_explores.py::test_contract_rejections_precede_dispatch[rust-query3-does not allow ordering]", + "tests/semantic_conformance/test_active_explores.py::test_contract_rejections_precede_dispatch[rust-query4-must be selected]", + "tests/semantic_conformance/test_active_explores.py::test_contract_rejections_precede_dispatch[rust-query5-exceeds max_limit]", + "tests/semantic_conformance/test_active_explores.py::test_order_defaults_and_limit_overrides[python]", + "tests/semantic_conformance/test_active_explores.py::test_order_defaults_and_limit_overrides[rust]", + "tests/semantic_conformance/test_active_explores.py::test_saved_query_cannot_override_resolved_contract[python]", + "tests/semantic_conformance/test_active_explores.py::test_saved_query_cannot_override_resolved_contract[rust]", + "tests/semantic_conformance/test_active_explores.py::test_unjoinable_explore_base_is_rejected[python]", + "tests/semantic_conformance/test_active_explores.py::test_unjoinable_explore_base_is_rejected[rust]", + "tests/semantic_conformance/test_active_explores.py::test_independent_aggregate_route_never_discards_explore_population[python]", + "tests/semantic_conformance/test_active_explores.py::test_independent_aggregate_route_never_discards_explore_population[rust]", + "tests/semantic_conformance/test_active_explores.py::test_intermediate_policy_constrains_related_only_metric[python]", + "tests/semantic_conformance/test_active_explores.py::test_intermediate_policy_constrains_related_only_metric[rust]" ] }, - "scope-152": { + "scope-195": { + "path": "tests/semantic_conformance/test_aggregate_aliases.py", + "declared_tests": [ + "test_dimension_and_metric_names_from_different_owners", + "test_hidden_leaf_collision_does_not_rename_public_dimension", + "test_qualified_metric_filter_and_order_bind_selected_outputs", + "test_same_owner_duplicate_child_output_remains_explicitly_unsupported", + "test_two_grouping_dimensions_share_basename", + "test_unselected_metric_filter_uses_normalized_child_output" + ], + "collected_tests": [ + "tests/semantic_conformance/test_aggregate_aliases.py::test_dimension_and_metric_names_from_different_owners[python]", + "tests/semantic_conformance/test_aggregate_aliases.py::test_dimension_and_metric_names_from_different_owners[rust]", + "tests/semantic_conformance/test_aggregate_aliases.py::test_hidden_leaf_collision_does_not_rename_public_dimension[python]", + "tests/semantic_conformance/test_aggregate_aliases.py::test_hidden_leaf_collision_does_not_rename_public_dimension[rust]", + "tests/semantic_conformance/test_aggregate_aliases.py::test_two_grouping_dimensions_share_basename[python-False-False]", + "tests/semantic_conformance/test_aggregate_aliases.py::test_two_grouping_dimensions_share_basename[python-False-True]", + "tests/semantic_conformance/test_aggregate_aliases.py::test_two_grouping_dimensions_share_basename[python-True-False]", + "tests/semantic_conformance/test_aggregate_aliases.py::test_two_grouping_dimensions_share_basename[python-True-True]", + "tests/semantic_conformance/test_aggregate_aliases.py::test_two_grouping_dimensions_share_basename[rust-False-False]", + "tests/semantic_conformance/test_aggregate_aliases.py::test_two_grouping_dimensions_share_basename[rust-False-True]", + "tests/semantic_conformance/test_aggregate_aliases.py::test_two_grouping_dimensions_share_basename[rust-True-False]", + "tests/semantic_conformance/test_aggregate_aliases.py::test_two_grouping_dimensions_share_basename[rust-True-True]", + "tests/semantic_conformance/test_aggregate_aliases.py::test_qualified_metric_filter_and_order_bind_selected_outputs[python]", + "tests/semantic_conformance/test_aggregate_aliases.py::test_qualified_metric_filter_and_order_bind_selected_outputs[rust]", + "tests/semantic_conformance/test_aggregate_aliases.py::test_unselected_metric_filter_uses_normalized_child_output[python]", + "tests/semantic_conformance/test_aggregate_aliases.py::test_unselected_metric_filter_uses_normalized_child_output[rust]", + "tests/semantic_conformance/test_aggregate_aliases.py::test_same_owner_duplicate_child_output_remains_explicitly_unsupported" + ] + }, + "scope-196": { + "path": "tests/semantic_conformance/test_aggregate_aliases.py", + "declared_tests": [ + "test_same_owner_duplicate_child_output_remains_explicitly_unsupported" + ], + "collected_tests": [ + "tests/semantic_conformance/test_aggregate_aliases.py::test_same_owner_duplicate_child_output_remains_explicitly_unsupported" + ] + }, + "scope-197": { + "path": "tests/semantic_conformance/test_aggregate_breadth_parity.py", + "declared_tests": [ + "test_advanced_aggregates_use_each_entity_once", + "test_approximate_distinct_supports_fanout_and_aggregate_filters", + "test_complete_aggregates_keep_groups_without_source_entities", + "test_complete_and_advanced_totals_deduplicate_overlapping_entity_groups", + "test_complete_default_is_applied_at_selected_output_not_nested_formula", + "test_complete_sql_and_advanced_independent_populations", + "test_complete_sql_and_wrappers_run_after_entity_dedup", + "test_complete_totals_without_fanout_keep_null_and_empty_populations", + "test_distinct_without_expression_uses_entity_identity", + "test_filtered_complete_formulas_keep_python_row_inputs" + ], + "collected_tests": [ + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[python-median]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[python-stddev]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[python-stddev_pop]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[python-variance]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[python-variance_pop]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[rust-median]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[rust-stddev]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[rust-stddev_pop]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[rust-variance]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_advanced_aggregates_use_each_entity_once[rust-variance_pop]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_sql_and_wrappers_run_after_entity_dedup[python]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_sql_and_wrappers_run_after_entity_dedup[rust]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_aggregates_keep_groups_without_source_entities[python]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_aggregates_keep_groups_without_source_entities[rust]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_and_advanced_totals_deduplicate_overlapping_entity_groups[python]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_and_advanced_totals_deduplicate_overlapping_entity_groups[rust]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_totals_without_fanout_keep_null_and_empty_populations[python-False-False]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_totals_without_fanout_keep_null_and_empty_populations[python-False-True]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_totals_without_fanout_keep_null_and_empty_populations[python-True-False]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_totals_without_fanout_keep_null_and_empty_populations[python-True-True]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_totals_without_fanout_keep_null_and_empty_populations[rust-False-False]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_totals_without_fanout_keep_null_and_empty_populations[rust-False-True]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_totals_without_fanout_keep_null_and_empty_populations[rust-True-False]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_totals_without_fanout_keep_null_and_empty_populations[rust-True-True]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_approximate_distinct_supports_fanout_and_aggregate_filters[python]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_approximate_distinct_supports_fanout_and_aggregate_filters[rust]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_sql_and_advanced_independent_populations[python]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_sql_and_advanced_independent_populations[rust]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_distinct_without_expression_uses_entity_identity[python-dimensions0]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_distinct_without_expression_uses_entity_identity[python-dimensions1]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_distinct_without_expression_uses_entity_identity[rust-dimensions0]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_distinct_without_expression_uses_entity_identity[rust-dimensions1]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-False-median(amount)-40.0]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-False-sum(amount) / count(*)-26.666666666666668]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-False-sum(amount) / count(amount)-40.0]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-False-count(distinct abs(amount))-2]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-False-sum(amount) filter (where amount > 30)-60.0]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-True-median(amount)-40.0]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-True-sum(amount) / count(*)-26.666666666666668]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-True-sum(amount) / count(amount)-40.0]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-True-count(distinct abs(amount))-2]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[python-True-sum(amount) filter (where amount > 30)-60.0]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-False-median(amount)-40.0]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-False-sum(amount) / count(*)-26.666666666666668]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-False-sum(amount) / count(amount)-40.0]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-False-count(distinct abs(amount))-2]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-False-sum(amount) filter (where amount > 30)-60.0]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-True-median(amount)-40.0]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-True-sum(amount) / count(*)-26.666666666666668]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-True-sum(amount) / count(amount)-40.0]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-True-count(distinct abs(amount))-2]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_filtered_complete_formulas_keep_python_row_inputs[rust-True-sum(amount) filter (where amount > 30)-60.0]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[python-False-False-False]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[python-False-False-True]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[python-False-True-False]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[python-False-True-True]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[python-True-False-False]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[python-True-False-True]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[python-True-True-False]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[python-True-True-True]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[rust-False-False-False]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[rust-False-False-True]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[rust-False-True-False]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[rust-False-True-True]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[rust-True-False-False]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[rust-True-False-True]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[rust-True-True-False]", + "tests/semantic_conformance/test_aggregate_breadth_parity.py::test_complete_default_is_applied_at_selected_output_not_nested_formula[rust-True-True-True]" + ] + }, + "scope-198": { "path": "tests/semantic_conformance/test_approximate_distinct.py", "declared_tests": [ - "test_approximate_dialect_rendering_and_population_results" + "test_aggregate_filters_wrappers_and_stored_scalar_fallback", + "test_approximate_dialect_rendering_and_population_results", + "test_cumulative_approximate_counts_use_grouped_outputs", + "test_estimator_and_filtered_populations", + "test_joined_populations", + "test_query_filters_and_empty_populations", + "test_redshift_explicit_running_sum_of_period_estimates", + "test_redshift_nested_approximate_expressions_use_independent_parser" ], "collected_tests": [ + "tests/semantic_conformance/test_approximate_distinct.py::test_estimator_and_filtered_populations[python]", + "tests/semantic_conformance/test_approximate_distinct.py::test_estimator_and_filtered_populations[rust]", + "tests/semantic_conformance/test_approximate_distinct.py::test_query_filters_and_empty_populations[python-False-filters0]", + "tests/semantic_conformance/test_approximate_distinct.py::test_query_filters_and_empty_populations[python-False-filters1]", + "tests/semantic_conformance/test_approximate_distinct.py::test_query_filters_and_empty_populations[python-True-filters0]", + "tests/semantic_conformance/test_approximate_distinct.py::test_query_filters_and_empty_populations[python-True-filters1]", + "tests/semantic_conformance/test_approximate_distinct.py::test_query_filters_and_empty_populations[rust-False-filters0]", + "tests/semantic_conformance/test_approximate_distinct.py::test_query_filters_and_empty_populations[rust-False-filters1]", + "tests/semantic_conformance/test_approximate_distinct.py::test_query_filters_and_empty_populations[rust-True-filters0]", + "tests/semantic_conformance/test_approximate_distinct.py::test_query_filters_and_empty_populations[rust-True-filters1]", + "tests/semantic_conformance/test_approximate_distinct.py::test_aggregate_filters_wrappers_and_stored_scalar_fallback[python]", + "tests/semantic_conformance/test_approximate_distinct.py::test_aggregate_filters_wrappers_and_stored_scalar_fallback[rust]", + "tests/semantic_conformance/test_approximate_distinct.py::test_joined_populations[python-many_to_one]", + "tests/semantic_conformance/test_approximate_distinct.py::test_joined_populations[python-one_to_many]", + "tests/semantic_conformance/test_approximate_distinct.py::test_joined_populations[rust-many_to_one]", + "tests/semantic_conformance/test_approximate_distinct.py::test_joined_populations[rust-one_to_many]", + "tests/semantic_conformance/test_approximate_distinct.py::test_cumulative_approximate_counts_use_grouped_outputs[python-None]", + "tests/semantic_conformance/test_approximate_distinct.py::test_cumulative_approximate_counts_use_grouped_outputs[python-sum(base.users)]", + "tests/semantic_conformance/test_approximate_distinct.py::test_cumulative_approximate_counts_use_grouped_outputs[rust-None]", + "tests/semantic_conformance/test_approximate_distinct.py::test_cumulative_approximate_counts_use_grouped_outputs[rust-sum(base.users)]", "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-simple-duckdb-APPROX_COUNT_DISTINCT]", "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-simple-postgres-APPROX_DISTINCT]", "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-simple-bigquery-APPROX_COUNT_DISTINCT]", @@ -9471,6 +10977,17 @@ "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_implicit-clickhouse-UNIQ]", "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_implicit-mysql-APPROX_DISTINCT]", "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_implicit-sqlite-APPROX_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_complete_filtered-duckdb-APPROX_COUNT_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_complete_filtered-postgres-APPROX_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_complete_filtered-bigquery-APPROX_COUNT_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_complete_filtered-snowflake-APPROX_COUNT_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_complete_filtered-trino-APPROX_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_complete_filtered-spark-APPROX_COUNT_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_complete_filtered-databricks-APPROX_COUNT_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_complete_filtered-redshift-APPROXIMATE COUNT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_complete_filtered-clickhouse-UNIQ]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_complete_filtered-mysql-APPROX_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-fanout_complete_filtered-sqlite-APPROX_DISTINCT]", "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-filtered-duckdb-APPROX_COUNT_DISTINCT]", "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-filtered-postgres-APPROX_DISTINCT]", "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[python-filtered-bigquery-APPROX_COUNT_DISTINCT]", @@ -9603,6 +11120,17 @@ "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_implicit-clickhouse-UNIQ]", "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_implicit-mysql-APPROX_DISTINCT]", "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_implicit-sqlite-APPROX_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_complete_filtered-duckdb-APPROX_COUNT_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_complete_filtered-postgres-APPROX_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_complete_filtered-bigquery-APPROX_COUNT_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_complete_filtered-snowflake-APPROX_COUNT_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_complete_filtered-trino-APPROX_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_complete_filtered-spark-APPROX_COUNT_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_complete_filtered-databricks-APPROX_COUNT_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_complete_filtered-redshift-APPROXIMATE COUNT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_complete_filtered-clickhouse-UNIQ]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_complete_filtered-mysql-APPROX_DISTINCT]", + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-fanout_complete_filtered-sqlite-APPROX_DISTINCT]", "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-filtered-duckdb-APPROX_COUNT_DISTINCT]", "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-filtered-postgres-APPROX_DISTINCT]", "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-filtered-bigquery-APPROX_COUNT_DISTINCT]", @@ -9701,24 +11229,18 @@ "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-window-redshift-APPROXIMATE COUNT]", "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-window-clickhouse-UNIQ]", "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-window-mysql-APPROX_DISTINCT]", - "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-window-sqlite-APPROX_DISTINCT]" - ] - }, - "scope-153": { - "path": "tests/semantic_conformance/test_approximate_distinct.py", - "declared_tests": [ - "test_redshift_nested_approximate_expressions_use_independent_parser" - ], - "collected_tests": [ + "tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results[rust-window-sqlite-APPROX_DISTINCT]", "tests/semantic_conformance/test_approximate_distinct.py::test_redshift_nested_approximate_expressions_use_independent_parser[python-ROUND(COALESCE(APPROX_COUNT_DISTINCT(user_id), 0), 0)]", "tests/semantic_conformance/test_approximate_distinct.py::test_redshift_nested_approximate_expressions_use_independent_parser[python-GREATEST(APPROX_COUNT_DISTINCT(user_id), 0)]", "tests/semantic_conformance/test_approximate_distinct.py::test_redshift_nested_approximate_expressions_use_independent_parser[python-NULLIF(APPROX_COUNT_DISTINCT(user_id), 0)]", "tests/semantic_conformance/test_approximate_distinct.py::test_redshift_nested_approximate_expressions_use_independent_parser[rust-ROUND(COALESCE(APPROX_COUNT_DISTINCT(user_id), 0), 0)]", "tests/semantic_conformance/test_approximate_distinct.py::test_redshift_nested_approximate_expressions_use_independent_parser[rust-GREATEST(APPROX_COUNT_DISTINCT(user_id), 0)]", - "tests/semantic_conformance/test_approximate_distinct.py::test_redshift_nested_approximate_expressions_use_independent_parser[rust-NULLIF(APPROX_COUNT_DISTINCT(user_id), 0)]" + "tests/semantic_conformance/test_approximate_distinct.py::test_redshift_nested_approximate_expressions_use_independent_parser[rust-NULLIF(APPROX_COUNT_DISTINCT(user_id), 0)]", + "tests/semantic_conformance/test_approximate_distinct.py::test_redshift_explicit_running_sum_of_period_estimates[python]", + "tests/semantic_conformance/test_approximate_distinct.py::test_redshift_explicit_running_sum_of_period_estimates[rust]" ] }, - "scope-154": { + "scope-199": { "path": "tests/semantic_conformance/test_cli.py", "declared_tests": [ "test_cli_rewrite_executes_imported_query" @@ -9740,7 +11262,7 @@ "tests/semantic_conformance/test_cli.py::test_cli_rewrite_executes_imported_query[rust-native/roles-select origin.city as origin_city, destination.city as destination_city, flights.flight_count from metrics order by destination.city-columns6-rows6]" ] }, - "scope-155": { + "scope-200": { "path": "tests/semantic_conformance/test_cohort_parity.py", "declared_tests": [ "test_cohort_count_zero_is_not_replaced_by_default", @@ -9749,8 +11271,11 @@ "test_cohort_order_preserves_explicit_null_placement", "test_cohort_output_dialects_preserve_qualified_populations", "test_cohort_policy_requires_caller_context", + "test_cohort_result_context_requires_scalar_expression", + "test_cohort_source_and_result_expressions_preserve_placeholder_literals", "test_compilation_preserves_cohort_source_and_owner", "test_count_counts_qualified_inner_groups_including_null_entity", + "test_declared_dimension_cannot_hide_a_subquery", "test_distinct_entity_count_excludes_null_entity", "test_empty_cohort_outer_sum_is_null", "test_entity_can_qualify_globally_but_not_within_each_region", @@ -9758,6 +11283,8 @@ "test_explicit_owner_wins_over_other_entity_and_metric_names", "test_filter_applies_before_inner_distinct_aggregation", "test_having_uses_inner_alias_even_when_source_dimension_has_same_name", + "test_inner_alias_collisions_ignore_case", + "test_inner_expression_cannot_change_source_scope", "test_inner_source_dimension_arithmetic_preserves_precedence", "test_inner_source_dimension_root_resolves_physical_expression", "test_invariants_restrict_inner_population_before_having", @@ -9767,18 +11294,14 @@ "test_outer_aggregations_read_qualified_inner_values", "test_outer_expression_reads_cohort_columns_not_source_rows", "test_outer_sum_binds_inner_measure_alias", + "test_output_alias_collision_ignores_case", "test_owned_graph_cohort_default_and_ignored_offset_preserve_population", "test_owned_graph_cohort_unsupported_shapes_remain_gated", "test_owned_graph_cohort_visibility_is_enforced", "test_policy_prevents_cross_tenant_entity_qualification", "test_query_grouping_changes_inner_and_outer_grain", "test_reserved_output_dimension_is_quoted", - "test_rust_cohort_result_context_requires_scalar_expression", - "test_rust_declared_dimension_cannot_hide_a_subquery", - "test_rust_inner_alias_collisions_ignore_case", - "test_rust_inner_expression_cannot_change_source_scope", - "test_rust_output_alias_collision_ignores_case", - "test_rust_row_filter_cannot_hide_a_subquery", + "test_row_filter_cannot_hide_a_subquery", "test_selected_calculations_preserve_implicit_entity_dimensions", "test_source_anchored_explore_preserves_cohort_population", "test_time_bucket_is_carried_through_to_outer_output" @@ -9816,14 +11339,22 @@ "tests/semantic_conformance/test_cohort_parity.py::test_time_bucket_is_carried_through_to_outer_output[rust]", "tests/semantic_conformance/test_cohort_parity.py::test_time_bucket_is_carried_through_to_outer_output[python_owned]", "tests/semantic_conformance/test_cohort_parity.py::test_time_bucket_is_carried_through_to_outer_output[rust_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_filter_applies_before_inner_distinct_aggregation[python]", - "tests/semantic_conformance/test_cohort_parity.py::test_filter_applies_before_inner_distinct_aggregation[rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_filter_applies_before_inner_distinct_aggregation[python_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_filter_applies_before_inner_distinct_aggregation[rust_owned]", + "tests/semantic_conformance/test_cohort_parity.py::test_filter_applies_before_inner_distinct_aggregation[python-events]", + "tests/semantic_conformance/test_cohort_parity.py::test_filter_applies_before_inner_distinct_aggregation[python-{model}]", + "tests/semantic_conformance/test_cohort_parity.py::test_filter_applies_before_inner_distinct_aggregation[rust-events]", + "tests/semantic_conformance/test_cohort_parity.py::test_filter_applies_before_inner_distinct_aggregation[rust-{model}]", + "tests/semantic_conformance/test_cohort_parity.py::test_filter_applies_before_inner_distinct_aggregation[python_owned-events]", + "tests/semantic_conformance/test_cohort_parity.py::test_filter_applies_before_inner_distinct_aggregation[python_owned-{model}]", + "tests/semantic_conformance/test_cohort_parity.py::test_filter_applies_before_inner_distinct_aggregation[rust_owned-events]", + "tests/semantic_conformance/test_cohort_parity.py::test_filter_applies_before_inner_distinct_aggregation[rust_owned-{model}]", "tests/semantic_conformance/test_cohort_parity.py::test_metric_filter_applies_before_inner_distinct_aggregation[python]", "tests/semantic_conformance/test_cohort_parity.py::test_metric_filter_applies_before_inner_distinct_aggregation[rust]", "tests/semantic_conformance/test_cohort_parity.py::test_metric_filter_applies_before_inner_distinct_aggregation[python_owned]", "tests/semantic_conformance/test_cohort_parity.py::test_metric_filter_applies_before_inner_distinct_aggregation[rust_owned]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_source_and_result_expressions_preserve_placeholder_literals[python]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_source_and_result_expressions_preserve_placeholder_literals[rust]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_source_and_result_expressions_preserve_placeholder_literals[python_owned]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_source_and_result_expressions_preserve_placeholder_literals[rust_owned]", "tests/semantic_conformance/test_cohort_parity.py::test_policy_prevents_cross_tenant_entity_qualification[python]", "tests/semantic_conformance/test_cohort_parity.py::test_policy_prevents_cross_tenant_entity_qualification[rust]", "tests/semantic_conformance/test_cohort_parity.py::test_policy_prevents_cross_tenant_entity_qualification[python_owned]", @@ -9856,20 +11387,34 @@ "tests/semantic_conformance/test_cohort_parity.py::test_or_predicate_cannot_bypass_metric_filter[rust]", "tests/semantic_conformance/test_cohort_parity.py::test_or_predicate_cannot_bypass_metric_filter[python_owned]", "tests/semantic_conformance/test_cohort_parity.py::test_or_predicate_cannot_bypass_metric_filter[rust_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_inner_expression_cannot_change_source_scope[(select count(*) from events)-rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_inner_expression_cannot_change_source_scope[(select count(*) from events)-rust_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_inner_expression_cannot_change_source_scope[sum(raw_amount) over ()-rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_inner_expression_cannot_change_source_scope[sum(raw_amount) over ()-rust_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_inner_expression_cannot_change_source_scope[count(*)-rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_inner_expression_cannot_change_source_scope[count(*)-rust_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_inner_expression_cannot_change_source_scope[other.raw_amount-rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_inner_expression_cannot_change_source_scope[other.raw_amount-rust_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_declared_dimension_cannot_hide_a_subquery[hidden-rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_declared_dimension_cannot_hide_a_subquery[hidden-rust_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_declared_dimension_cannot_hide_a_subquery[hidden + 1-rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_declared_dimension_cannot_hide_a_subquery[hidden + 1-rust_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_row_filter_cannot_hide_a_subquery[rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_row_filter_cannot_hide_a_subquery[rust_owned]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_expression_cannot_change_source_scope[python-(select count(*) from events)]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_expression_cannot_change_source_scope[python-sum(raw_amount) over ()]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_expression_cannot_change_source_scope[python-count(*)]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_expression_cannot_change_source_scope[python-other.raw_amount]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_expression_cannot_change_source_scope[rust-(select count(*) from events)]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_expression_cannot_change_source_scope[rust-sum(raw_amount) over ()]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_expression_cannot_change_source_scope[rust-count(*)]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_expression_cannot_change_source_scope[rust-other.raw_amount]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_expression_cannot_change_source_scope[python_owned-(select count(*) from events)]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_expression_cannot_change_source_scope[python_owned-sum(raw_amount) over ()]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_expression_cannot_change_source_scope[python_owned-count(*)]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_expression_cannot_change_source_scope[python_owned-other.raw_amount]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_expression_cannot_change_source_scope[rust_owned-(select count(*) from events)]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_expression_cannot_change_source_scope[rust_owned-sum(raw_amount) over ()]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_expression_cannot_change_source_scope[rust_owned-count(*)]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_expression_cannot_change_source_scope[rust_owned-other.raw_amount]", + "tests/semantic_conformance/test_cohort_parity.py::test_declared_dimension_cannot_hide_a_subquery[python-hidden]", + "tests/semantic_conformance/test_cohort_parity.py::test_declared_dimension_cannot_hide_a_subquery[python-hidden + 1]", + "tests/semantic_conformance/test_cohort_parity.py::test_declared_dimension_cannot_hide_a_subquery[rust-hidden]", + "tests/semantic_conformance/test_cohort_parity.py::test_declared_dimension_cannot_hide_a_subquery[rust-hidden + 1]", + "tests/semantic_conformance/test_cohort_parity.py::test_declared_dimension_cannot_hide_a_subquery[python_owned-hidden]", + "tests/semantic_conformance/test_cohort_parity.py::test_declared_dimension_cannot_hide_a_subquery[python_owned-hidden + 1]", + "tests/semantic_conformance/test_cohort_parity.py::test_declared_dimension_cannot_hide_a_subquery[rust_owned-hidden]", + "tests/semantic_conformance/test_cohort_parity.py::test_declared_dimension_cannot_hide_a_subquery[rust_owned-hidden + 1]", + "tests/semantic_conformance/test_cohort_parity.py::test_row_filter_cannot_hide_a_subquery[python]", + "tests/semantic_conformance/test_cohort_parity.py::test_row_filter_cannot_hide_a_subquery[rust]", + "tests/semantic_conformance/test_cohort_parity.py::test_row_filter_cannot_hide_a_subquery[python_owned]", + "tests/semantic_conformance/test_cohort_parity.py::test_row_filter_cannot_hide_a_subquery[rust_owned]", "tests/semantic_conformance/test_cohort_parity.py::test_inner_source_dimension_arithmetic_preserves_precedence[python]", "tests/semantic_conformance/test_cohort_parity.py::test_inner_source_dimension_arithmetic_preserves_precedence[rust]", "tests/semantic_conformance/test_cohort_parity.py::test_inner_source_dimension_arithmetic_preserves_precedence[python_owned]", @@ -9886,26 +11431,46 @@ "tests/semantic_conformance/test_cohort_parity.py::test_inner_source_dimension_root_resolves_physical_expression[rust_owned-amount]", "tests/semantic_conformance/test_cohort_parity.py::test_inner_source_dimension_root_resolves_physical_expression[rust_owned-\"amount\"]", "tests/semantic_conformance/test_cohort_parity.py::test_inner_source_dimension_root_resolves_physical_expression[rust_owned-events.amount]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_inner_alias_collisions_ignore_case[AMOUNT-rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_inner_alias_collisions_ignore_case[AMOUNT-rust_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_inner_alias_collisions_ignore_case[USER_ID-rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_inner_alias_collisions_ignore_case[USER_ID-rust_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_inner_alias_collisions_ignore_case[REGION-rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_inner_alias_collisions_ignore_case[REGION-rust_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_output_alias_collision_ignores_case[rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_output_alias_collision_ignores_case[rust_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_cohort_result_context_requires_scalar_expression[SUM(amount)-having-rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_cohort_result_context_requires_scalar_expression[SUM(amount)-having-rust_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_cohort_result_context_requires_scalar_expression[SUM(amount)-sql-rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_cohort_result_context_requires_scalar_expression[SUM(amount)-sql-rust_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_cohort_result_context_requires_scalar_expression[SUM(amount) OVER ()-having-rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_cohort_result_context_requires_scalar_expression[SUM(amount) OVER ()-having-rust_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_cohort_result_context_requires_scalar_expression[SUM(amount) OVER ()-sql-rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_cohort_result_context_requires_scalar_expression[SUM(amount) OVER ()-sql-rust_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_cohort_result_context_requires_scalar_expression[(SELECT amount)-having-rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_cohort_result_context_requires_scalar_expression[(SELECT amount)-having-rust_owned]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_cohort_result_context_requires_scalar_expression[(SELECT amount)-sql-rust]", - "tests/semantic_conformance/test_cohort_parity.py::test_rust_cohort_result_context_requires_scalar_expression[(SELECT amount)-sql-rust_owned]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_alias_collisions_ignore_case[python-AMOUNT]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_alias_collisions_ignore_case[python-USER_ID]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_alias_collisions_ignore_case[python-REGION]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_alias_collisions_ignore_case[rust-AMOUNT]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_alias_collisions_ignore_case[rust-USER_ID]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_alias_collisions_ignore_case[rust-REGION]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_alias_collisions_ignore_case[python_owned-AMOUNT]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_alias_collisions_ignore_case[python_owned-USER_ID]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_alias_collisions_ignore_case[python_owned-REGION]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_alias_collisions_ignore_case[rust_owned-AMOUNT]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_alias_collisions_ignore_case[rust_owned-USER_ID]", + "tests/semantic_conformance/test_cohort_parity.py::test_inner_alias_collisions_ignore_case[rust_owned-REGION]", + "tests/semantic_conformance/test_cohort_parity.py::test_output_alias_collision_ignores_case[python]", + "tests/semantic_conformance/test_cohort_parity.py::test_output_alias_collision_ignores_case[rust]", + "tests/semantic_conformance/test_cohort_parity.py::test_output_alias_collision_ignores_case[python_owned]", + "tests/semantic_conformance/test_cohort_parity.py::test_output_alias_collision_ignores_case[rust_owned]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[python-SUM(amount)-having]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[python-SUM(amount)-sql]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[python-SUM(amount) OVER ()-having]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[python-SUM(amount) OVER ()-sql]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[python-(SELECT amount)-having]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[python-(SELECT amount)-sql]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[rust-SUM(amount)-having]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[rust-SUM(amount)-sql]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[rust-SUM(amount) OVER ()-having]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[rust-SUM(amount) OVER ()-sql]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[rust-(SELECT amount)-having]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[rust-(SELECT amount)-sql]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[python_owned-SUM(amount)-having]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[python_owned-SUM(amount)-sql]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[python_owned-SUM(amount) OVER ()-having]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[python_owned-SUM(amount) OVER ()-sql]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[python_owned-(SELECT amount)-having]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[python_owned-(SELECT amount)-sql]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[rust_owned-SUM(amount)-having]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[rust_owned-SUM(amount)-sql]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[rust_owned-SUM(amount) OVER ()-having]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[rust_owned-SUM(amount) OVER ()-sql]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[rust_owned-(SELECT amount)-having]", + "tests/semantic_conformance/test_cohort_parity.py::test_cohort_result_context_requires_scalar_expression[rust_owned-(SELECT amount)-sql]", "tests/semantic_conformance/test_cohort_parity.py::test_invariants_restrict_inner_population_before_having[python]", "tests/semantic_conformance/test_cohort_parity.py::test_invariants_restrict_inner_population_before_having[rust]", "tests/semantic_conformance/test_cohort_parity.py::test_invariants_restrict_inner_population_before_having[python_owned]", @@ -10079,7 +11644,7 @@ "tests/semantic_conformance/test_cohort_parity.py::test_cohort_output_dialects_preserve_qualified_populations[rust_owned-month-clickhouse]" ] }, - "scope-156": { + "scope-201": { "path": "tests/semantic_conformance/test_complete_filters.py", "declared_tests": [ "test_complete_filter_formulas_execute_with_physical_inputs", @@ -10121,7 +11686,9 @@ "tests/semantic_conformance/test_complete_filters.py::test_groups_without_matching_measure_rows_keep_other_measures[rust]", "tests/semantic_conformance/test_complete_filters.py::test_invariant_restriction_still_scopes_every_filtered_measure[python]", "tests/semantic_conformance/test_complete_filters.py::test_invariant_restriction_still_scopes_every_filtered_measure[rust]", + "tests/semantic_conformance/test_complete_filters.py::test_qualified_physical_columns_do_not_rewrite_string_literals[python]", "tests/semantic_conformance/test_complete_filters.py::test_qualified_physical_columns_do_not_rewrite_string_literals[rust]", + "tests/semantic_conformance/test_complete_filters.py::test_filter_conjunction_preserves_disjunction_grouping[python]", "tests/semantic_conformance/test_complete_filters.py::test_filter_conjunction_preserves_disjunction_grouping[rust]", "tests/semantic_conformance/test_complete_filters.py::test_unproven_complete_filter_shapes_fail_explicitly[COUNT(DISTINCT *)]", "tests/semantic_conformance/test_complete_filters.py::test_unproven_complete_filter_shapes_fail_explicitly[COUNT(2)]", @@ -10238,7 +11805,7 @@ "tests/semantic_conformance/test_complete_filters.py::test_tsql_complete_row_count_retains_existing_path[COUNT_BIG(*)-python]" ] }, - "scope-157": { + "scope-202": { "path": "tests/semantic_conformance/test_complete_filters.py", "declared_tests": [ "test_unproven_complete_filter_shapes_fail_explicitly" @@ -10261,7 +11828,7 @@ "tests/semantic_conformance/test_complete_filters.py::test_unproven_complete_filter_shapes_fail_explicitly[COUNT(other.*)]" ] }, - "scope-158": { + "scope-203": { "path": "tests/semantic_conformance/test_complete_filters.py", "declared_tests": [ "test_complete_filter_formulas_execute_with_physical_inputs" @@ -10287,7 +11854,7 @@ "tests/semantic_conformance/test_complete_filters.py::test_complete_filter_formulas_execute_with_physical_inputs[AVG(amount) OVER ()-expected8-rust]" ] }, - "scope-159": { + "scope-204": { "path": "tests/semantic_conformance/test_complete_filters.py", "declared_tests": [ "test_invalid_complete_sql_keeps_database_validation" @@ -10299,7 +11866,7 @@ "tests/semantic_conformance/test_complete_filters.py::test_invalid_complete_sql_keeps_database_validation[COUNT(COALESCE(amount, '{model}'))-Could not convert string-rust]" ] }, - "scope-160": { + "scope-205": { "path": "tests/semantic_conformance/test_complete_filters.py", "declared_tests": [ "test_foreign_filter_population_fails_explicitly" @@ -10308,7 +11875,7 @@ "tests/semantic_conformance/test_complete_filters.py::test_foreign_filter_population_fails_explicitly" ] }, - "scope-161": { + "scope-206": { "path": "tests/semantic_conformance/test_complete_filters.py", "declared_tests": [ "test_complete_row_count_generator_reuse_observes_graph_changes" @@ -10317,7 +11884,7 @@ "tests/semantic_conformance/test_complete_filters.py::test_complete_row_count_generator_reuse_observes_graph_changes[python]" ] }, - "scope-162": { + "scope-207": { "path": "tests/semantic_conformance/test_complete_filters.py", "declared_tests": [ "test_complete_row_count_role_queries_preserve_caller_caches" @@ -10326,7 +11893,7 @@ "tests/semantic_conformance/test_complete_filters.py::test_complete_row_count_role_queries_preserve_caller_caches[python]" ] }, - "scope-163": { + "scope-208": { "path": "tests/semantic_conformance/test_complete_filters.py", "declared_tests": [ "test_unowned_graph_complete_count_remains_explicitly_unsupported" @@ -10337,7 +11904,7 @@ "tests/semantic_conformance/test_complete_filters.py::test_unowned_graph_complete_count_remains_explicitly_unsupported[COUNT(NULL)]" ] }, - "scope-164": { + "scope-209": { "path": "tests/semantic_conformance/test_complete_filters.py", "declared_tests": [ "test_tsql_complete_row_count_retains_existing_path" @@ -10347,7 +11914,7 @@ "tests/semantic_conformance/test_complete_filters.py::test_tsql_complete_row_count_retains_existing_path[COUNT_BIG(*)-python]" ] }, - "scope-165": { + "scope-210": { "path": "tests/semantic_conformance/test_complete_filters_postgres.py", "declared_tests": [ "test_complete_filters_preserve_identifier_identity" @@ -10362,7 +11929,7 @@ "tests/semantic_conformance/test_complete_filters_postgres.py::test_complete_filters_preserve_identifier_identity[SUM(orders.Amount)-orders.Amount > 0 AND orders.\"Amount\" = 10 AND orders.label = 'orders.Amount'-2]" ] }, - "scope-166": { + "scope-211": { "path": "tests/semantic_conformance/test_complete_filters_postgres.py", "declared_tests": [ "test_postgres_filtered_float_fanout_average_preserves_values" @@ -10373,7 +11940,7 @@ "tests/semantic_conformance/test_complete_filters_postgres.py::test_postgres_filtered_float_fanout_average_preserves_values[sum]" ] }, - "scope-167": { + "scope-212": { "path": "tests/semantic_conformance/test_complete_filters_postgres.py", "declared_tests": [ "test_postgres_filtered_complete_row_count" @@ -10384,7 +11951,7 @@ "tests/semantic_conformance/test_complete_filters_postgres.py::test_postgres_filtered_complete_row_count[empty]" ] }, - "scope-168": { + "scope-213": { "path": "tests/semantic_conformance/test_complete_filters_postgres.py", "declared_tests": [ "test_postgres_filtered_owned_count_family" @@ -10400,7 +11967,7 @@ "tests/semantic_conformance/test_complete_filters_postgres.py::test_postgres_filtered_owned_count_family[fanout-graph]" ] }, - "scope-169": { + "scope-214": { "path": "tests/semantic_conformance/test_computed_keys.py", "declared_tests": [ "test_compound_computed_keys_join_componentwise", @@ -10415,24 +11982,39 @@ "test_unsafe_key_expressions_are_rejected" ], "collected_tests": [ - "tests/semantic_conformance/test_computed_keys.py::test_display_and_both_join_keys_use_semantic_identity", - "tests/semantic_conformance/test_computed_keys.py::test_symmetric_aggregation_uses_computed_identity", - "tests/semantic_conformance/test_computed_keys.py::test_default_distinct_counts_computed_keys_without_join", - "tests/semantic_conformance/test_computed_keys.py::test_computed_key_predicate_and_raw_self_reference", - "tests/semantic_conformance/test_computed_keys.py::test_from_metrics_sql_uses_structured_key_planning", - "tests/semantic_conformance/test_computed_keys.py::test_model_sql_uses_computed_identity", - "tests/semantic_conformance/test_computed_keys.py::test_compound_computed_keys_join_componentwise", - "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[random()]", - "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[sum(id)]", - "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[other.id]", - "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[row_number() over ()]", - "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[(select id from other)]", - "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[1]", - "tests/semantic_conformance/test_computed_keys.py::test_disconnected_computed_model_does_not_block_temporal_query", - "tests/semantic_conformance/test_computed_keys.py::test_cross_role_computed_key_predicate_keeps_role_aliases" + "tests/semantic_conformance/test_computed_keys.py::test_display_and_both_join_keys_use_semantic_identity[python]", + "tests/semantic_conformance/test_computed_keys.py::test_display_and_both_join_keys_use_semantic_identity[rust]", + "tests/semantic_conformance/test_computed_keys.py::test_symmetric_aggregation_uses_computed_identity[python]", + "tests/semantic_conformance/test_computed_keys.py::test_symmetric_aggregation_uses_computed_identity[rust]", + "tests/semantic_conformance/test_computed_keys.py::test_default_distinct_counts_computed_keys_without_join[python]", + "tests/semantic_conformance/test_computed_keys.py::test_default_distinct_counts_computed_keys_without_join[rust]", + "tests/semantic_conformance/test_computed_keys.py::test_computed_key_predicate_and_raw_self_reference[python]", + "tests/semantic_conformance/test_computed_keys.py::test_computed_key_predicate_and_raw_self_reference[rust]", + "tests/semantic_conformance/test_computed_keys.py::test_from_metrics_sql_uses_structured_key_planning[python]", + "tests/semantic_conformance/test_computed_keys.py::test_from_metrics_sql_uses_structured_key_planning[rust]", + "tests/semantic_conformance/test_computed_keys.py::test_model_sql_uses_computed_identity[python]", + "tests/semantic_conformance/test_computed_keys.py::test_model_sql_uses_computed_identity[rust]", + "tests/semantic_conformance/test_computed_keys.py::test_compound_computed_keys_join_componentwise[python]", + "tests/semantic_conformance/test_computed_keys.py::test_compound_computed_keys_join_componentwise[rust]", + "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[python-random()]", + "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[python-sum(id)]", + "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[python-other.id]", + "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[python-row_number() over ()]", + "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[python-(select id from other)]", + "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[python-1]", + "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[rust-random()]", + "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[rust-sum(id)]", + "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[rust-other.id]", + "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[rust-row_number() over ()]", + "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[rust-(select id from other)]", + "tests/semantic_conformance/test_computed_keys.py::test_unsafe_key_expressions_are_rejected[rust-1]", + "tests/semantic_conformance/test_computed_keys.py::test_disconnected_computed_model_does_not_block_temporal_query[python]", + "tests/semantic_conformance/test_computed_keys.py::test_disconnected_computed_model_does_not_block_temporal_query[rust]", + "tests/semantic_conformance/test_computed_keys.py::test_cross_role_computed_key_predicate_keeps_role_aliases[python]", + "tests/semantic_conformance/test_computed_keys.py::test_cross_role_computed_key_predicate_keeps_role_aliases[rust]" ] }, - "scope-170": { + "scope-215": { "path": "tests/semantic_conformance/test_computed_keys.py", "declared_tests": [ "test_omitted_native_relationship_key_does_not_classify_ordinary_id" @@ -10442,22 +12024,22 @@ "tests/semantic_conformance/test_computed_keys.py::test_omitted_native_relationship_key_does_not_classify_ordinary_id[True]" ] }, - "scope-171": { + "scope-216": { "path": "tests/semantic_conformance/test_conversion_parity.py", "declared_tests": [ "test_attribution_uses_base_event_dimension", "test_conversion_policy_requires_caller_context", "test_empty_base_population_is_null", + "test_filter_dimension_cannot_hide_a_subquery", "test_filter_literals_are_not_rewritten_as_dimension_expressions", "test_grouped_pagination_preserves_conversion_output", "test_invariant_scopes_base_and_target_events", "test_literal_policy_attribute_cannot_expand_base_population", "test_metric_filter_scopes_base_and_target_events", + "test_output_alias_collision_ignores_case", "test_policy_scopes_target_and_denominator", "test_row_filter_scopes_both_event_populations", - "test_rust_filter_dimension_cannot_hide_a_subquery", - "test_rust_output_alias_collision_ignores_case", - "test_rust_selected_dimension_cannot_change_source_scope", + "test_selected_dimension_cannot_change_source_scope", "test_source_anchored_explore_preserves_conversion_population", "test_unique_entities_and_inclusive_window" ], @@ -10470,8 +12052,10 @@ "tests/semantic_conformance/test_conversion_parity.py::test_empty_base_population_is_null[rust]", "tests/semantic_conformance/test_conversion_parity.py::test_source_anchored_explore_preserves_conversion_population[python]", "tests/semantic_conformance/test_conversion_parity.py::test_source_anchored_explore_preserves_conversion_population[rust]", - "tests/semantic_conformance/test_conversion_parity.py::test_row_filter_scopes_both_event_populations[python]", - "tests/semantic_conformance/test_conversion_parity.py::test_row_filter_scopes_both_event_populations[rust]", + "tests/semantic_conformance/test_conversion_parity.py::test_row_filter_scopes_both_event_populations[python-events]", + "tests/semantic_conformance/test_conversion_parity.py::test_row_filter_scopes_both_event_populations[python-{model}]", + "tests/semantic_conformance/test_conversion_parity.py::test_row_filter_scopes_both_event_populations[rust-events]", + "tests/semantic_conformance/test_conversion_parity.py::test_row_filter_scopes_both_event_populations[rust-{model}]", "tests/semantic_conformance/test_conversion_parity.py::test_policy_scopes_target_and_denominator[python]", "tests/semantic_conformance/test_conversion_parity.py::test_policy_scopes_target_and_denominator[rust]", "tests/semantic_conformance/test_conversion_parity.py::test_conversion_policy_requires_caller_context[python]", @@ -10484,16 +12068,21 @@ "tests/semantic_conformance/test_conversion_parity.py::test_invariant_scopes_base_and_target_events[rust]", "tests/semantic_conformance/test_conversion_parity.py::test_metric_filter_scopes_base_and_target_events[python]", "tests/semantic_conformance/test_conversion_parity.py::test_metric_filter_scopes_base_and_target_events[rust]", - "tests/semantic_conformance/test_conversion_parity.py::test_rust_selected_dimension_cannot_change_source_scope[(select count(*) from events)-rust]", - "tests/semantic_conformance/test_conversion_parity.py::test_rust_selected_dimension_cannot_change_source_scope[sum(tenant) over ()-rust]", - "tests/semantic_conformance/test_conversion_parity.py::test_rust_selected_dimension_cannot_change_source_scope[other.tenant-rust]", - "tests/semantic_conformance/test_conversion_parity.py::test_rust_filter_dimension_cannot_hide_a_subquery[rust]", + "tests/semantic_conformance/test_conversion_parity.py::test_selected_dimension_cannot_change_source_scope[python-(select count(*) from events)]", + "tests/semantic_conformance/test_conversion_parity.py::test_selected_dimension_cannot_change_source_scope[python-sum(tenant) over ()]", + "tests/semantic_conformance/test_conversion_parity.py::test_selected_dimension_cannot_change_source_scope[python-other.tenant]", + "tests/semantic_conformance/test_conversion_parity.py::test_selected_dimension_cannot_change_source_scope[rust-(select count(*) from events)]", + "tests/semantic_conformance/test_conversion_parity.py::test_selected_dimension_cannot_change_source_scope[rust-sum(tenant) over ()]", + "tests/semantic_conformance/test_conversion_parity.py::test_selected_dimension_cannot_change_source_scope[rust-other.tenant]", + "tests/semantic_conformance/test_conversion_parity.py::test_filter_dimension_cannot_hide_a_subquery[python]", + "tests/semantic_conformance/test_conversion_parity.py::test_filter_dimension_cannot_hide_a_subquery[rust]", "tests/semantic_conformance/test_conversion_parity.py::test_filter_literals_are_not_rewritten_as_dimension_expressions[python]", "tests/semantic_conformance/test_conversion_parity.py::test_filter_literals_are_not_rewritten_as_dimension_expressions[rust]", - "tests/semantic_conformance/test_conversion_parity.py::test_rust_output_alias_collision_ignores_case[rust]" + "tests/semantic_conformance/test_conversion_parity.py::test_output_alias_collision_ignores_case[python]", + "tests/semantic_conformance/test_conversion_parity.py::test_output_alias_collision_ignores_case[rust]" ] }, - "scope-172": { + "scope-217": { "path": "tests/semantic_conformance/test_cross_relationship_parity.py", "declared_tests": [ "test_cross_both_measure_populations", @@ -10515,7 +12104,7 @@ "tests/semantic_conformance/test_cross_relationship_parity.py::test_cross_empty_unfiltered_sibling_preserves_empty_product[rust]" ] }, - "scope-173": { + "scope-218": { "path": "tests/semantic_conformance/test_cross_source_windows.py", "declared_tests": [ "test_native_window_expression_preserves_quoted_input_across_dialects" @@ -10543,7 +12132,7 @@ "tests/semantic_conformance/test_cross_source_windows.py::test_native_window_expression_preserves_quoted_input_across_dialects[order day-daily amount-bigquery]" ] }, - "scope-174": { + "scope-219": { "path": "tests/semantic_conformance/test_cross_source_windows.py", "declared_tests": [ "test_cross_source_calculation_beside_cumulative_preserves_leaf_grains", @@ -10615,7 +12204,7 @@ "tests/semantic_conformance/test_cross_source_windows.py::test_deferred_calculation_keeps_unqueryable_window_owner_validation[True-rust]" ] }, - "scope-175": { + "scope-220": { "path": "tests/semantic_conformance/test_default_time_differential.py", "declared_tests": [ "test_skipped_model_defaults_remain_skipped_in_source_children" @@ -10625,7 +12214,7 @@ "tests/semantic_conformance/test_default_time_differential.py::test_skipped_model_defaults_remain_skipped_in_source_children[rust]" ] }, - "scope-176": { + "scope-221": { "path": "tests/semantic_conformance/test_default_time_differential.py", "declared_tests": [ "test_graph_calculation_without_dimensions_is_scalar", @@ -10643,7 +12232,7 @@ "tests/semantic_conformance/test_default_time_differential.py::test_model_default_or_explicit_time_grain_is_projected[rust-True]" ] }, - "scope-177": { + "scope-222": { "path": "tests/semantic_conformance/test_dialect_boundary.py", "declared_tests": [ "test_native_declared_graph_and_query_syntax", @@ -10736,7 +12325,7 @@ "tests/semantic_conformance/test_dialect_boundary.py::test_target_policy_literals_survive_alias_wrapping[rust-O'Brien-spark]" ] }, - "scope-178": { + "scope-223": { "path": "tests/semantic_conformance/test_dialect_boundary.py", "declared_tests": [ "test_native_declared_graph_and_query_syntax" @@ -10754,7 +12343,7 @@ "tests/semantic_conformance/test_dialect_boundary.py::test_native_declared_graph_and_query_syntax[rust-postgres-COALESCE(\"amount\", 0)-\"orders\".\"tenant\" = 1-\"orders\".\"label\" DESC NULLS LAST]" ] }, - "scope-179": { + "scope-224": { "path": "tests/semantic_conformance/test_dialect_boundary.py", "declared_tests": [ "test_native_rewrite_syntax_and_policy_context" @@ -10768,7 +12357,7 @@ "tests/semantic_conformance/test_dialect_boundary.py::test_native_rewrite_syntax_and_policy_context[rust-postgres-\"]" ] }, - "scope-180": { + "scope-225": { "path": "tests/semantic_conformance/test_dialect_boundary.py", "declared_tests": [ "test_native_fragment_framing_and_source_snapshot" @@ -10778,7 +12367,7 @@ "tests/semantic_conformance/test_dialect_boundary.py::test_native_fragment_framing_and_source_snapshot[rust]" ] }, - "scope-181": { + "scope-226": { "path": "tests/semantic_conformance/test_dialect_boundary.py", "declared_tests": [ "test_source_dialect_preserves_typed_policy_and_parameter_values" @@ -10810,7 +12399,7 @@ "tests/semantic_conformance/test_dialect_boundary.py::test_source_dialect_preserves_typed_policy_and_parameter_values[rust-O'Brien-spark]" ] }, - "scope-182": { + "scope-227": { "path": "tests/semantic_conformance/test_direct_many_relationships.py", "declared_tests": [ "test_bridge_keys_override_direct_only_custom_sql", @@ -10835,7 +12424,7 @@ "tests/semantic_conformance/test_direct_many_relationships.py::test_bridge_keys_override_direct_only_custom_sql[rust]" ] }, - "scope-183": { + "scope-228": { "path": "tests/semantic_conformance/test_feature_parity.py", "declared_tests": [ "test_access_denial_precedes_sql", @@ -10899,7 +12488,7 @@ "tests/semantic_conformance/test_feature_parity.py::test_policy_survives_temporal_child_queries[rust]" ] }, - "scope-184": { + "scope-229": { "path": "tests/semantic_conformance/test_filtered_count_family.py", "declared_tests": [ "test_count_family_cross_source_counts_restore_absent_zero", @@ -10974,7 +12563,7 @@ "tests/semantic_conformance/test_filtered_count_family.py::test_owned_count_as_cumulative_base_preserves_public_output[rust-nulls-expected2-graph]" ] }, - "scope-185": { + "scope-230": { "path": "tests/semantic_conformance/test_filtered_count_family.py", "declared_tests": [ "test_owned_count_generator_sees_live_graph_changes" @@ -10983,7 +12572,7 @@ "tests/semantic_conformance/test_filtered_count_family.py::test_owned_count_generator_sees_live_graph_changes[python-graph]" ] }, - "scope-186": { + "scope-231": { "path": "tests/semantic_conformance/test_filtered_count_family.py", "declared_tests": [ "test_count_family_does_not_admit_other_filter_scopes" @@ -11000,7 +12589,7 @@ "tests/semantic_conformance/test_filtered_count_family.py::test_count_family_does_not_admit_other_filter_scopes[(select count(*) from orders) > 0-COUNT(NULL)]" ] }, - "scope-187": { + "scope-232": { "path": "tests/semantic_conformance/test_filtered_row_expressions.py", "declared_tests": [ "test_distinct_case_strings_keep_physical_literal_values", @@ -11137,7 +12726,7 @@ "tests/semantic_conformance/test_filtered_row_expressions.py::test_filter_column_formatting_preserves_expression_precedence[rust-adjusted-price + 1-5]" ] }, - "scope-188": { + "scope-233": { "path": "tests/semantic_conformance/test_filtered_row_expressions.py", "declared_tests": [ "test_postgres_filtered_row_expression_oracles" @@ -11157,7 +12746,7 @@ "tests/semantic_conformance/test_filtered_row_expressions.py::test_postgres_filtered_row_expression_oracles[True-CASE WHEN qty > 0 THEN price * qty ELSE 9 END-expected2-graph]" ] }, - "scope-189": { + "scope-234": { "path": "tests/semantic_conformance/test_generated_differential.py", "declared_tests": [ "test_replay_differential_fixture", @@ -11169,11 +12758,12 @@ "tests/semantic_conformance/test_generated_differential.py::test_replay_differential_fixture[cross-source-cumulative.case.json]", "tests/semantic_conformance/test_generated_differential.py::test_replay_differential_fixture[cumulative-dimension-collision.case.json]", "tests/semantic_conformance/test_generated_differential.py::test_replay_differential_fixture[cumulative-null-date.case.json]", + "tests/semantic_conformance/test_generated_differential.py::test_replay_differential_fixture[rewrite-null-order.case.json]", "tests/semantic_conformance/test_generated_differential.py::test_replay_differential_fixture[scalar-default-time.case.json]", "tests/semantic_conformance/test_generated_differential.py::test_replay_differential_fixture[sibling-fanout.case.json]" ] }, - "scope-190": { + "scope-235": { "path": "tests/semantic_conformance/test_graph_population_ownership.py", "declared_tests": [ "test_dotted_graph_multistep_conversion_preserves_identity_and_policy", @@ -11232,7 +12822,7 @@ "tests/semantic_conformance/test_graph_population_ownership.py::test_graph_cohort_approximate_count_requires_unambiguous_entity_source[rust-ambiguous]" ] }, - "scope-191": { + "scope-236": { "path": "tests/semantic_conformance/test_graph_population_ownership.py", "declared_tests": [ "test_native_dotted_graph_population_visibility" @@ -11252,7 +12842,7 @@ "tests/semantic_conformance/test_graph_population_ownership.py::test_native_dotted_graph_population_visibility[order-events-rewrite]" ] }, - "scope-192": { + "scope-237": { "path": "tests/semantic_conformance/test_many_role_results.py", "declared_tests": [ "test_access_denial_on_every_population", @@ -11287,7 +12877,7 @@ "tests/semantic_conformance/test_many_role_results.py::test_composite_junction_keys_do_not_cross_tenants" ] }, - "scope-193": { + "scope-238": { "path": "tests/semantic_conformance/test_multistep_conversion_parity.py", "declared_tests": [ "test_dimension_and_metric_ordering_with_limit", @@ -11295,12 +12885,18 @@ "test_entrants_chronology_repeated_actions_ties_and_nulls", "test_fixed_output_alias_collisions_are_explicit", "test_funnel_order_preserves_explicit_null_placement", + "test_graph_funnel_placeholder_filter_infers_entity_owner", + "test_graph_funnel_placeholder_filter_rejects_ambiguous_entity_owner", "test_invariant_excludes_later_step_before_chronology", "test_later_steps_keep_first_step_dimension_attribution", "test_mapped_entity_time_and_qualified_physical_steps", "test_mapped_time_cannot_change_source_scope", "test_metric_filter_scopes_every_step_and_parenthesizes_or", + "test_model_placeholder_filter_keeps_literal_values", + "test_model_placeholder_filter_uses_selected_funnel_owner", + "test_model_placeholder_query_filter_scopes_every_step", "test_output_aliases_can_share_names_with_scoped_internal_columns", + "test_physical_timestamp_alias_does_not_replace_step_chronology", "test_policy_context_is_required", "test_policy_scopes_every_step_independently", "test_query_filter_scopes_every_step", @@ -11313,12 +12909,24 @@ "collected_tests": [ "tests/semantic_conformance/test_multistep_conversion_parity.py::test_entrants_chronology_repeated_actions_ties_and_nulls[python]", "tests/semantic_conformance/test_multistep_conversion_parity.py::test_entrants_chronology_repeated_actions_ties_and_nulls[rust]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_physical_timestamp_alias_does_not_replace_step_chronology[python]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_physical_timestamp_alias_does_not_replace_step_chronology[rust]", "tests/semantic_conformance/test_multistep_conversion_parity.py::test_later_steps_keep_first_step_dimension_attribution[python]", "tests/semantic_conformance/test_multistep_conversion_parity.py::test_later_steps_keep_first_step_dimension_attribution[rust]", "tests/semantic_conformance/test_multistep_conversion_parity.py::test_repeated_entrant_has_independent_chronology_in_each_first_step_group[python]", "tests/semantic_conformance/test_multistep_conversion_parity.py::test_repeated_entrant_has_independent_chronology_in_each_first_step_group[rust]", "tests/semantic_conformance/test_multistep_conversion_parity.py::test_query_filter_scopes_every_step[python]", "tests/semantic_conformance/test_multistep_conversion_parity.py::test_query_filter_scopes_every_step[rust]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_model_placeholder_query_filter_scopes_every_step[python]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_model_placeholder_query_filter_scopes_every_step[rust]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_model_placeholder_filter_keeps_literal_values[python]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_model_placeholder_filter_keeps_literal_values[rust]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_model_placeholder_filter_uses_selected_funnel_owner[python]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_model_placeholder_filter_uses_selected_funnel_owner[rust]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_graph_funnel_placeholder_filter_infers_entity_owner[python]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_graph_funnel_placeholder_filter_infers_entity_owner[rust]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_graph_funnel_placeholder_filter_rejects_ambiguous_entity_owner[python]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_graph_funnel_placeholder_filter_rejects_ambiguous_entity_owner[rust]", "tests/semantic_conformance/test_multistep_conversion_parity.py::test_metric_filter_scopes_every_step_and_parenthesizes_or[python]", "tests/semantic_conformance/test_multistep_conversion_parity.py::test_metric_filter_scopes_every_step_and_parenthesizes_or[rust]", "tests/semantic_conformance/test_multistep_conversion_parity.py::test_policy_scopes_every_step_independently[python]", @@ -11343,22 +12951,37 @@ "tests/semantic_conformance/test_multistep_conversion_parity.py::test_funnel_order_preserves_explicit_null_placement[python-LAST]", "tests/semantic_conformance/test_multistep_conversion_parity.py::test_funnel_order_preserves_explicit_null_placement[rust-FIRST]", "tests/semantic_conformance/test_multistep_conversion_parity.py::test_funnel_order_preserves_explicit_null_placement[rust-LAST]", - "tests/semantic_conformance/test_multistep_conversion_parity.py::test_step_cannot_change_source_scope[count(*) > 0-rust]", - "tests/semantic_conformance/test_multistep_conversion_parity.py::test_step_cannot_change_source_scope[sum(tenant) over () > 0-rust]", - "tests/semantic_conformance/test_multistep_conversion_parity.py::test_step_cannot_change_source_scope[(select count(*) from funnel_events) > 0-rust]", - "tests/semantic_conformance/test_multistep_conversion_parity.py::test_step_cannot_change_source_scope[other.kind = 'signup'-rust]", - "tests/semantic_conformance/test_multistep_conversion_parity.py::test_fixed_output_alias_collisions_are_explicit[TOTAL_ENTITIES-rust]", - "tests/semantic_conformance/test_multistep_conversion_parity.py::test_fixed_output_alias_collisions_are_explicit[STEP_2_COUNT-rust]", - "tests/semantic_conformance/test_multistep_conversion_parity.py::test_fixed_output_alias_collisions_are_explicit[FUNNEL-rust]", - "tests/semantic_conformance/test_multistep_conversion_parity.py::test_output_aliases_can_share_names_with_scoped_internal_columns[ENTITY-rust]", - "tests/semantic_conformance/test_multistep_conversion_parity.py::test_output_aliases_can_share_names_with_scoped_internal_columns[STEP_1_TS-rust]", - "tests/semantic_conformance/test_multistep_conversion_parity.py::test_output_aliases_can_share_names_with_scoped_internal_columns[step_2_ts-rust]", - "tests/semantic_conformance/test_multistep_conversion_parity.py::test_output_aliases_can_share_names_with_scoped_internal_columns[STEP_3_TS-rust]", - "tests/semantic_conformance/test_multistep_conversion_parity.py::test_mapped_time_cannot_change_source_scope[sum(tenant) over ()-rust]", - "tests/semantic_conformance/test_multistep_conversion_parity.py::test_mapped_time_cannot_change_source_scope[(select max(occurred) from funnel_events)-rust]" + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_step_cannot_change_source_scope[python-count(*) > 0]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_step_cannot_change_source_scope[python-sum(tenant) over () > 0]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_step_cannot_change_source_scope[python-(select count(*) from funnel_events) > 0]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_step_cannot_change_source_scope[python-other.kind = 'signup']", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_step_cannot_change_source_scope[rust-count(*) > 0]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_step_cannot_change_source_scope[rust-sum(tenant) over () > 0]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_step_cannot_change_source_scope[rust-(select count(*) from funnel_events) > 0]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_step_cannot_change_source_scope[rust-other.kind = 'signup']", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_fixed_output_alias_collisions_are_explicit[python-TOTAL_ENTITIES]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_fixed_output_alias_collisions_are_explicit[python-STEP_2_COUNT]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_fixed_output_alias_collisions_are_explicit[python-FUNNEL]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_fixed_output_alias_collisions_are_explicit[rust-TOTAL_ENTITIES]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_fixed_output_alias_collisions_are_explicit[rust-STEP_2_COUNT]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_fixed_output_alias_collisions_are_explicit[rust-FUNNEL]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_output_aliases_can_share_names_with_scoped_internal_columns[python-ENTITY]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_output_aliases_can_share_names_with_scoped_internal_columns[python-STEP_1_TS]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_output_aliases_can_share_names_with_scoped_internal_columns[python-step_2_ts]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_output_aliases_can_share_names_with_scoped_internal_columns[python-STEP_3_TS]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_output_aliases_can_share_names_with_scoped_internal_columns[python-group]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_output_aliases_can_share_names_with_scoped_internal_columns[rust-ENTITY]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_output_aliases_can_share_names_with_scoped_internal_columns[rust-STEP_1_TS]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_output_aliases_can_share_names_with_scoped_internal_columns[rust-step_2_ts]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_output_aliases_can_share_names_with_scoped_internal_columns[rust-STEP_3_TS]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_output_aliases_can_share_names_with_scoped_internal_columns[rust-group]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_mapped_time_cannot_change_source_scope[python-sum(tenant) over ()]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_mapped_time_cannot_change_source_scope[python-(select max(occurred) from funnel_events)]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_mapped_time_cannot_change_source_scope[rust-sum(tenant) over ()]", + "tests/semantic_conformance/test_multistep_conversion_parity.py::test_mapped_time_cannot_change_source_scope[rust-(select max(occurred) from funnel_events)]" ] }, - "scope-194": { + "scope-239": { "path": "tests/semantic_conformance/test_nested_policy_sql.py", "declared_tests": [ "test_chained_ctes_and_column_aliases_preserve_outer_aggregation", @@ -11426,7 +13049,7 @@ "tests/semantic_conformance/test_nested_policy_sql.py::test_native_nested_shapes_compile_every_policy_leaf[select coalesce((select accounts.quota from metrics), 0) as quota from (select purchases.revenue from metrics) q-expected6]" ] }, - "scope-195": { + "scope-240": { "path": "tests/semantic_conformance/test_null_fill.py", "declared_tests": [ "test_filled_leaf_participates_in_cross_source_calculation", @@ -11456,7 +13079,7 @@ "tests/semantic_conformance/test_null_fill.py::test_policy_excluded_groups_are_not_created_by_fill[rust]" ] }, - "scope-196": { + "scope-241": { "path": "tests/semantic_conformance/test_ossie_aggregate_inputs.py", "declared_tests": [ "test_column_free_aggregate_uses_sole_dataset_population", @@ -11489,7 +13112,7 @@ "tests/semantic_conformance/test_ossie_aggregate_inputs.py::test_joined_aggregate_preserves_compound_computed_relationship_keys" ] }, - "scope-197": { + "scope-242": { "path": "tests/semantic_conformance/test_ossie_aggregate_inputs.py", "declared_tests": [ "test_graph_measures_preserve_input_scope" @@ -11521,7 +13144,7 @@ "tests/semantic_conformance/test_ossie_aggregate_inputs.py::test_graph_measures_preserve_input_scope[True-gross-True-fanout]" ] }, - "scope-198": { + "scope-243": { "path": "tests/semantic_conformance/test_parameterized_segments.py", "declared_tests": [ "test_control_values_remain_raw_while_outputs_are_typed", @@ -11636,7 +13259,7 @@ "tests/semantic_conformance/test_parameterized_segments.py::test_segment_subqueries_keep_physical_scope[rust-parameters1-10-snowflake]" ] }, - "scope-199": { + "scope-244": { "path": "tests/semantic_conformance/test_policy_aggregate_parity.py", "declared_tests": [ "test_account_invariant_excludes_inactive_denominator_rows", @@ -11671,7 +13294,7 @@ "tests/semantic_conformance/test_policy_aggregate_parity.py::test_visibility_denies_hidden_fields_in_every_query_position[rust-order]" ] }, - "scope-200": { + "scope-245": { "path": "tests/semantic_conformance/test_policy_cli.py", "declared_tests": [ "test_cli_authorized_context_reaches_rust", @@ -11769,7 +13392,7 @@ "tests/semantic_conformance/test_policy_cli.py::test_scoped_filters_and_alias_pagination_keep_authorized_rows" ] }, - "scope-201": { + "scope-246": { "path": "tests/semantic_conformance/test_postgres_policies.py", "declared_tests": [ "test_explicit_postgres_graph_input_preserves_policy_results", @@ -11823,7 +13446,7 @@ "tests/semantic_conformance/test_postgres_policies.py::test_postgres_public_null_ordering_matches_adapter[sql]" ] }, - "scope-202": { + "scope-247": { "path": "tests/semantic_conformance/test_query_catalogs.py", "declared_tests": [ "test_active_explore_is_enforced", @@ -11861,7 +13484,7 @@ "tests/semantic_conformance/test_query_catalogs.py::test_invalid_catalog_identity_is_rejected[definitions3-rust]" ] }, - "scope-203": { + "scope-248": { "path": "tests/semantic_conformance/test_query_catalogs.py", "declared_tests": [ "test_raw_active_catalog_requests_are_never_ignored" @@ -11872,7 +13495,7 @@ "tests/semantic_conformance/test_query_catalogs.py::test_raw_active_catalog_requests_are_never_ignored[table_calculations-value2-rust]" ] }, - "scope-204": { + "scope-249": { "path": "tests/semantic_conformance/test_query_catalogs.py", "declared_tests": [ "test_invalid_catalog_identity_is_rejected" @@ -11884,7 +13507,7 @@ "tests/semantic_conformance/test_query_catalogs.py::test_invalid_catalog_identity_is_rejected[definitions3-rust]" ] }, - "scope-205": { + "scope-250": { "path": "tests/semantic_conformance/test_query_options_parity.py", "declared_tests": [ "test_aliases_bind_selected_calculation_order", @@ -12152,7 +13775,7 @@ "tests/semantic_conformance/test_query_options_parity.py::test_calculation_pagination_preserves_ordinary_null_order[rust-postgres-True-1- DESC NULLS LAST]" ] }, - "scope-206": { + "scope-251": { "path": "tests/semantic_conformance/test_query_timezone_parity.py", "declared_tests": [ "test_absent_timezone_keeps_utc_buckets", @@ -12207,7 +13830,7 @@ "tests/semantic_conformance/test_query_timezone_parity.py::test_timezone_bypasses_utc_rollup[rust]" ] }, - "scope-207": { + "scope-252": { "path": "tests/semantic_conformance/test_reference.py", "declared_tests": [ "test_compiler_results" @@ -12251,7 +13874,7 @@ "tests/semantic_conformance/test_reference.py::test_compiler_results[complete_aggregate_physical_filter-rust]" ] }, - "scope-208": { + "scope-253": { "path": "tests/semantic_conformance/test_relationship_role_parity.py", "declared_tests": [ "test_equally_short_undeclared_join_choice_is_rejected", @@ -12267,7 +13890,7 @@ "tests/semantic_conformance/test_relationship_role_parity.py::test_equally_short_undeclared_join_choice_is_rejected[rust]" ] }, - "scope-209": { + "scope-254": { "path": "tests/semantic_conformance/test_relative_date_operators.py", "declared_tests": [ "test_relative_date_operator_result_matches_period_contract" @@ -12331,7 +13954,7 @@ "tests/semantic_conformance/test_relative_date_operators.py::test_relative_date_operator_result_matches_period_contract[rust-this month->=-sql]" ] }, - "scope-210": { + "scope-255": { "path": "tests/semantic_conformance/test_retention_parity.py", "declared_tests": [ "test_aliased_dimension_filter_can_empty_cohort_population", @@ -12362,8 +13985,10 @@ "tests/semantic_conformance/test_retention_parity.py::test_source_anchored_explore_preserves_retention_population[rust]", "tests/semantic_conformance/test_retention_parity.py::test_policy_scopes_cohort_and_activity_for_each_tenant[python]", "tests/semantic_conformance/test_retention_parity.py::test_policy_scopes_cohort_and_activity_for_each_tenant[rust]", - "tests/semantic_conformance/test_retention_parity.py::test_row_filter_scopes_denominator_as_well_as_activity[python]", - "tests/semantic_conformance/test_retention_parity.py::test_row_filter_scopes_denominator_as_well_as_activity[rust]", + "tests/semantic_conformance/test_retention_parity.py::test_row_filter_scopes_denominator_as_well_as_activity[python-events]", + "tests/semantic_conformance/test_retention_parity.py::test_row_filter_scopes_denominator_as_well_as_activity[python-{model}]", + "tests/semantic_conformance/test_retention_parity.py::test_row_filter_scopes_denominator_as_well_as_activity[rust-events]", + "tests/semantic_conformance/test_retention_parity.py::test_row_filter_scopes_denominator_as_well_as_activity[rust-{model}]", "tests/semantic_conformance/test_retention_parity.py::test_or_filter_cannot_bypass_cohort_predicate_or_mandatory_policies[python]", "tests/semantic_conformance/test_retention_parity.py::test_or_filter_cannot_bypass_cohort_predicate_or_mandatory_policies[rust]", "tests/semantic_conformance/test_retention_parity.py::test_metric_filter_scopes_both_populations[python]", @@ -12442,7 +14067,7 @@ "tests/semantic_conformance/test_retention_parity.py::test_retention_output_dialects_preserve_calendar_periods[rust-month-months_since-rows2-snowflake]" ] }, - "scope-211": { + "scope-256": { "path": "tests/semantic_conformance/test_rewriter_ci_regressions.py", "declared_tests": [ "test_correlated_semantic_sources_fail_before_execution", @@ -12479,29 +14104,33 @@ "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_group_by_accepts_exact_selected_dimensions_and_aliases[rust-orders.status]", "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_group_by_accepts_exact_selected_dimensions_and_aliases[rust-status]", "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_group_by_accepts_exact_selected_dimensions_and_aliases[rust-state]", - "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[python-select orders.status, (select count(*) from labels l where l.status = orders.status) as n from orders-KeyError-Model l not found]", - "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[python-select o.status, (select count(*) from labels l where l.status = o.status) as n from orders o-KeyError-Model l not found]", - "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[python-select orders.status from orders where exists (select 1 from labels l where l.status = orders.status)-ValueError-Query expressions cannot introduce physical data sources]", - "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[python-select orders.status, (select (select count(*) from labels l where l.status = orders.status)) as n from orders-KeyError-Model l not found]", - "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[rust-select orders.status, (select count(*) from labels l where l.status = orders.status) as n from orders-KeyError-Model l not found]", - "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[rust-select o.status, (select count(*) from labels l where l.status = o.status) as n from orders o-KeyError-Model l not found]", - "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[rust-select orders.status from orders where exists (select 1 from labels l where l.status = orders.status)-ValueError-Query expressions cannot introduce physical data sources]", - "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[rust-select orders.status, (select (select count(*) from labels l where l.status = orders.status)) as n from orders-KeyError-Model l not found]", - "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_subquery_local_alias_can_shadow_outer_semantic_source[python]", - "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_subquery_local_alias_can_shadow_outer_semantic_source[rust]" - ] - }, - "scope-212": { - "path": "tests/semantic_conformance/test_rewriter_ci_regressions.py", - "declared_tests": [ - "test_subquery_local_alias_can_shadow_outer_semantic_source" - ], - "collected_tests": [ - "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_subquery_local_alias_can_shadow_outer_semantic_source[python]", - "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_subquery_local_alias_can_shadow_outer_semantic_source[rust]" + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[python-select orders.status, (select count(*) from labels l where l.status = orders.status) as n from orders]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[python-select o.status, (select count(*) from labels l where l.status = o.status) as n from orders o]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[python-select orders.status from orders where exists (select 1 from labels l where l.status = orders.status)]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[python-select orders.status, (select (select count(*) from labels l where l.status = orders.status)) as n from orders]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[python-select o.status, (with counts as (select count(*) as n from labels l where l.status = o.status) select n from counts) as n from orders o]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[python-with result as (select o.status, (select count(*) from labels l where l.status = o.status) as n from orders o) select * from result]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[python-select o.status, (select count(*) from labels o), (select count(*) from labels l where l.status = o.status) from orders o]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[rust-select orders.status, (select count(*) from labels l where l.status = orders.status) as n from orders]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[rust-select o.status, (select count(*) from labels l where l.status = o.status) as n from orders o]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[rust-select orders.status from orders where exists (select 1 from labels l where l.status = orders.status)]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[rust-select orders.status, (select (select count(*) from labels l where l.status = orders.status)) as n from orders]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[rust-select o.status, (with counts as (select count(*) as n from labels l where l.status = o.status) select n from counts) as n from orders o]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[rust-with result as (select o.status, (select count(*) from labels l where l.status = o.status) as n from orders o) select * from result]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_correlated_semantic_sources_fail_before_execution[rust-select o.status, (select count(*) from labels o), (select count(*) from labels l where l.status = o.status) from orders o]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_subquery_local_alias_can_shadow_outer_semantic_source[python-select orders.status, (select count(*) from labels orders where orders.status = 'done') as n from orders order by orders.status]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_subquery_local_alias_can_shadow_outer_semantic_source[python-select o.status, (select count(*) from labels o where o.status = 'done') as n from orders o order by o.status]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_subquery_local_alias_can_shadow_outer_semantic_source[python-select o.status, (select (select count(*) from labels o where o.status = 'done')) as n from orders o order by o.status]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_subquery_local_alias_can_shadow_outer_semantic_source[python-select o.status, (with counts as (select count(*) as n from labels o where o.status = 'done') select n from counts) as n from orders o order by o.status]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_subquery_local_alias_can_shadow_outer_semantic_source[python-select o.status, (select count(*) from labels o where exists (select 1 where o.status = 'done')) as n from orders o order by o.status]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_subquery_local_alias_can_shadow_outer_semantic_source[rust-select orders.status, (select count(*) from labels orders where orders.status = 'done') as n from orders order by orders.status]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_subquery_local_alias_can_shadow_outer_semantic_source[rust-select o.status, (select count(*) from labels o where o.status = 'done') as n from orders o order by o.status]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_subquery_local_alias_can_shadow_outer_semantic_source[rust-select o.status, (select (select count(*) from labels o where o.status = 'done')) as n from orders o order by o.status]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_subquery_local_alias_can_shadow_outer_semantic_source[rust-select o.status, (with counts as (select count(*) as n from labels o where o.status = 'done') select n from counts) as n from orders o order by o.status]", + "tests/semantic_conformance/test_rewriter_ci_regressions.py::test_subquery_local_alias_can_shadow_outer_semantic_source[rust-select o.status, (select count(*) from labels o where exists (select 1 where o.status = 'done')) as n from orders o order by o.status]" ] }, - "scope-213": { + "scope-257": { "path": "tests/semantic_conformance/test_rewriter_count_keys.py", "declared_tests": [ "test_composite_primary_keys_preserve_selected_aggregate_grain", @@ -12521,7 +14150,7 @@ "tests/semantic_conformance/test_rewriter_count_keys.py::test_composite_relationship_rewrite_uses_both_key_components[rust]" ] }, - "scope-214": { + "scope-258": { "path": "tests/semantic_conformance/test_rollup_reconstruction.py", "declared_tests": [ "test_average_and_derived_having_reconstruct_unselected_dependencies", @@ -12529,15 +14158,19 @@ "test_colliding_join_dimension_outputs_keep_raw_contract", "test_composite_join_rollup_uses_every_key_and_preserves_literals", "test_derived_ratio_and_nullable_average_reconstruct_from_states", + "test_dimension_anchored_explore_keeps_members_without_facts", "test_distinct_rollup_preserves_exact_grain_only", - "test_empty_remote_dimension_domain_stays_empty", + "test_empty_remote_dimension_keeps_facts_in_null_group", "test_empty_rollup_count_is_zero_and_average_is_null", "test_explicit_inner_join_declines_remote_domain_rollup", "test_global_filtered_distinct_rollup_count_population", "test_incompatible_average_denominator_falls_back_to_raw", "test_join_key_rollup_alias_order_limit_and_local_dimension", - "test_join_key_rollup_preserves_remote_domain_and_metric_states", - "test_join_key_rollup_with_empty_source_retains_remote_members", + "test_join_key_rollup_computes_remote_dimension_before_join", + "test_join_key_rollup_keeps_unmatched_and_null_keys_in_null_group", + "test_join_key_rollup_order_by_renders_for_dialects_without_null_ordering", + "test_join_key_rollup_preserves_fact_population_and_metric_states", + "test_join_key_rollup_with_empty_source_has_no_groups", "test_join_rollup_preserves_local_and_role_source_population", "test_lambda_daily_states_roll_up_to_months", "test_lambda_rebuilds_entire_boundary_bucket_from_fresh_source", @@ -12569,10 +14202,24 @@ "tests/semantic_conformance/test_rollup_reconstruction.py::test_incompatible_average_denominator_falls_back_to_raw[rust-amount-count_filters2]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_nonnull_average_can_use_row_count[python]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_nonnull_average_can_use_row_count[rust]", - "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_preserves_remote_domain_and_metric_states[python]", - "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_preserves_remote_domain_and_metric_states[rust]", - "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_with_empty_source_retains_remote_members[python]", - "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_with_empty_source_retains_remote_members[rust]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_preserves_fact_population_and_metric_states[python]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_preserves_fact_population_and_metric_states[rust]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_keeps_unmatched_and_null_keys_in_null_group[python]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_keeps_unmatched_and_null_keys_in_null_group[rust]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_computes_remote_dimension_before_join[python-coalesce]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_computes_remote_dimension_before_join[python-coalesce-with-grain]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_computes_remote_dimension_before_join[rust-coalesce]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_computes_remote_dimension_before_join[rust-coalesce-with-grain]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_order_by_renders_for_dialects_without_null_ordering[python-mysql]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_order_by_renders_for_dialects_without_null_ordering[python-tsql]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_order_by_renders_for_dialects_without_null_ordering[rust-mysql]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_order_by_renders_for_dialects_without_null_ordering[rust-tsql]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_with_empty_source_has_no_groups[python]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_with_empty_source_has_no_groups[rust]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_dimension_anchored_explore_keeps_members_without_facts[python-False]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_dimension_anchored_explore_keeps_members_without_facts[python-True]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_dimension_anchored_explore_keeps_members_without_facts[rust-False]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_dimension_anchored_explore_keeps_members_without_facts[rust-True]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_alias_order_limit_and_local_dimension[python]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_alias_order_limit_and_local_dimension[rust]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_mandatory_policy_bypasses_join_rollup[python-policy]", @@ -12591,8 +14238,8 @@ "tests/semantic_conformance/test_rollup_reconstruction.py::test_composite_join_rollup_uses_every_key_and_preserves_literals[rust]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_missing_stored_join_key_uses_raw_source[python]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_missing_stored_join_key_uses_raw_source[rust]", - "tests/semantic_conformance/test_rollup_reconstruction.py::test_empty_remote_dimension_domain_stays_empty[python]", - "tests/semantic_conformance/test_rollup_reconstruction.py::test_empty_remote_dimension_domain_stays_empty[rust]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_empty_remote_dimension_keeps_facts_in_null_group[python]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_empty_remote_dimension_keeps_facts_in_null_group[rust]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_lambda_daily_states_roll_up_to_months[python]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_lambda_daily_states_roll_up_to_months[rust]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_average_chooses_compatible_count_by_definition_not_name[python]", @@ -12627,7 +14274,7 @@ "tests/semantic_conformance/test_rollup_reconstruction.py::test_global_filtered_distinct_rollup_count_population[rust-True]" ] }, - "scope-215": { + "scope-259": { "path": "tests/semantic_conformance/test_rollup_reconstruction.py", "declared_tests": [ "test_average_and_derived_having_reconstruct_unselected_dependencies", @@ -12635,15 +14282,18 @@ "test_colliding_join_dimension_outputs_keep_raw_contract", "test_composite_join_rollup_uses_every_key_and_preserves_literals", "test_derived_ratio_and_nullable_average_reconstruct_from_states", + "test_dimension_anchored_explore_keeps_members_without_facts", "test_distinct_rollup_preserves_exact_grain_only", - "test_empty_remote_dimension_domain_stays_empty", + "test_empty_remote_dimension_keeps_facts_in_null_group", "test_empty_rollup_count_is_zero_and_average_is_null", "test_explicit_inner_join_declines_remote_domain_rollup", "test_global_filtered_distinct_rollup_count_population", "test_incompatible_average_denominator_falls_back_to_raw", "test_join_key_rollup_alias_order_limit_and_local_dimension", - "test_join_key_rollup_preserves_remote_domain_and_metric_states", - "test_join_key_rollup_with_empty_source_retains_remote_members", + "test_join_key_rollup_computes_remote_dimension_before_join", + "test_join_key_rollup_keeps_unmatched_and_null_keys_in_null_group", + "test_join_key_rollup_preserves_fact_population_and_metric_states", + "test_join_key_rollup_with_empty_source_has_no_groups", "test_join_rollup_preserves_local_and_role_source_population", "test_lambda_daily_states_roll_up_to_months", "test_lambda_rebuilds_entire_boundary_bucket_from_fresh_source", @@ -12674,10 +14324,20 @@ "tests/semantic_conformance/test_rollup_reconstruction.py::test_incompatible_average_denominator_falls_back_to_raw[rust-amount-count_filters2]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_nonnull_average_can_use_row_count[python]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_nonnull_average_can_use_row_count[rust]", - "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_preserves_remote_domain_and_metric_states[python]", - "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_preserves_remote_domain_and_metric_states[rust]", - "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_with_empty_source_retains_remote_members[python]", - "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_with_empty_source_retains_remote_members[rust]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_preserves_fact_population_and_metric_states[python]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_preserves_fact_population_and_metric_states[rust]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_keeps_unmatched_and_null_keys_in_null_group[python]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_keeps_unmatched_and_null_keys_in_null_group[rust]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_computes_remote_dimension_before_join[python-coalesce]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_computes_remote_dimension_before_join[python-coalesce-with-grain]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_computes_remote_dimension_before_join[rust-coalesce]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_computes_remote_dimension_before_join[rust-coalesce-with-grain]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_with_empty_source_has_no_groups[python]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_with_empty_source_has_no_groups[rust]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_dimension_anchored_explore_keeps_members_without_facts[python-False]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_dimension_anchored_explore_keeps_members_without_facts[python-True]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_dimension_anchored_explore_keeps_members_without_facts[rust-False]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_dimension_anchored_explore_keeps_members_without_facts[rust-True]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_alias_order_limit_and_local_dimension[python]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_key_rollup_alias_order_limit_and_local_dimension[rust]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_mandatory_policy_bypasses_join_rollup[python-policy]", @@ -12694,8 +14354,8 @@ "tests/semantic_conformance/test_rollup_reconstruction.py::test_composite_join_rollup_uses_every_key_and_preserves_literals[rust]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_missing_stored_join_key_uses_raw_source[python]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_missing_stored_join_key_uses_raw_source[rust]", - "tests/semantic_conformance/test_rollup_reconstruction.py::test_empty_remote_dimension_domain_stays_empty[python]", - "tests/semantic_conformance/test_rollup_reconstruction.py::test_empty_remote_dimension_domain_stays_empty[rust]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_empty_remote_dimension_keeps_facts_in_null_group[python]", + "tests/semantic_conformance/test_rollup_reconstruction.py::test_empty_remote_dimension_keeps_facts_in_null_group[rust]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_lambda_daily_states_roll_up_to_months[python]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_lambda_daily_states_roll_up_to_months[rust]", "tests/semantic_conformance/test_rollup_reconstruction.py::test_average_chooses_compatible_count_by_definition_not_name[python]", @@ -12730,7 +14390,7 @@ "tests/semantic_conformance/test_rollup_reconstruction.py::test_global_filtered_distinct_rollup_count_population[rust-True]" ] }, - "scope-216": { + "scope-260": { "path": "tests/semantic_conformance/test_rollup_reconstruction.py", "declared_tests": [ "test_postgres_rollup_reconstruction_executes" @@ -12741,7 +14401,7 @@ "tests/semantic_conformance/test_rollup_reconstruction.py::test_postgres_rollup_reconstruction_executes[lambda]" ] }, - "scope-217": { + "scope-261": { "path": "tests/semantic_conformance/test_rollup_reconstruction.py", "declared_tests": [ "test_colliding_join_dimension_outputs_keep_raw_contract" @@ -12751,19 +14411,7 @@ "tests/semantic_conformance/test_rollup_reconstruction.py::test_colliding_join_dimension_outputs_keep_raw_contract[rust]" ] }, - "scope-218": { - "path": "tests/semantic_conformance/test_rollup_reconstruction.py", - "declared_tests": [ - "test_join_rollup_preserves_local_and_role_source_population" - ], - "collected_tests": [ - "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_rollup_preserves_local_and_role_source_population[python-local-first]", - "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_rollup_preserves_local_and_role_source_population[python-role-owner]", - "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_rollup_preserves_local_and_role_source_population[rust-local-first]", - "tests/semantic_conformance/test_rollup_reconstruction.py::test_join_rollup_preserves_local_and_role_source_population[rust-role-owner]" - ] - }, - "scope-219": { + "scope-262": { "path": "tests/semantic_conformance/test_rollup_routing.py", "declared_tests": [ "test_access_denied_before_rollup_access", @@ -12813,7 +14461,7 @@ "tests/semantic_conformance/test_rollup_routing.py::test_colliding_state_and_dimension_aliases_cannot_materialize_or_route[True]" ] }, - "scope-220": { + "scope-263": { "path": "tests/semantic_conformance/test_selected_table_calculations.py", "declared_tests": [ "test_all_calculations_match_independent_processor", @@ -12894,7 +14542,7 @@ "tests/semantic_conformance/test_selected_table_calculations.py::test_calculations_use_only_authorized_population[rust]" ] }, - "scope-221": { + "scope-264": { "path": "tests/semantic_conformance/test_selected_table_calculations.py", "declared_tests": [ "test_canonical_validation_checks_active_calculations" @@ -12907,7 +14555,7 @@ "tests/semantic_conformance/test_selected_table_calculations.py::test_canonical_validation_checks_active_calculations[unknown_option]" ] }, - "scope-222": { + "scope-265": { "path": "tests/semantic_conformance/test_selected_table_calculations.py", "declared_tests": [ "test_postgres_calculation_results_match_processor" @@ -12923,7 +14571,7 @@ "tests/semantic_conformance/test_selected_table_calculations.py::test_postgres_calculation_results_match_processor[rust-population3]" ] }, - "scope-223": { + "scope-266": { "path": "tests/semantic_conformance/test_semantic_sql_binding.py", "declared_tests": [ "test_ad_hoc_aggregate_inputs_are_physical_and_do_not_mutate_model", @@ -12963,10 +14611,10 @@ "tests/semantic_conformance/test_semantic_sql_binding.py::test_expression_dependencies_do_not_escape_requested_projection[rust]" ] }, - "scope-224": { + "scope-267": { "path": "tests/semantic_conformance/test_sibling_fanout_parity.py", "declared_tests": [ - "test_empty_sibling_population_has_no_groups", + "test_empty_sibling_population_keeps_measure_in_null_group", "test_minimized_generated_sibling_fanout", "test_sibling_groups_preserve_each_item_and_null_population", "test_source_identity_survives_three_edge_fanout_path" @@ -12978,13 +14626,13 @@ "tests/semantic_conformance/test_sibling_fanout_parity.py::test_sibling_groups_preserve_each_item_and_null_population[python-True]", "tests/semantic_conformance/test_sibling_fanout_parity.py::test_sibling_groups_preserve_each_item_and_null_population[rust-False]", "tests/semantic_conformance/test_sibling_fanout_parity.py::test_sibling_groups_preserve_each_item_and_null_population[rust-True]", - "tests/semantic_conformance/test_sibling_fanout_parity.py::test_empty_sibling_population_has_no_groups[python]", - "tests/semantic_conformance/test_sibling_fanout_parity.py::test_empty_sibling_population_has_no_groups[rust]", + "tests/semantic_conformance/test_sibling_fanout_parity.py::test_empty_sibling_population_keeps_measure_in_null_group[python]", + "tests/semantic_conformance/test_sibling_fanout_parity.py::test_empty_sibling_population_keeps_measure_in_null_group[rust]", "tests/semantic_conformance/test_sibling_fanout_parity.py::test_source_identity_survives_three_edge_fanout_path[python]", "tests/semantic_conformance/test_sibling_fanout_parity.py::test_source_identity_survives_three_edge_fanout_path[rust]" ] }, - "scope-225": { + "scope-268": { "path": "tests/semantic_conformance/test_snapshot_parity.py", "declared_tests": [ "test_coarse_time_uses_snapshot_within_each_month", @@ -13066,7 +14714,7 @@ "tests/semantic_conformance/test_snapshot_parity.py::test_snapshot_source_coalesce_is_distinct_from_final_count_default[rust]" ] }, - "scope-226": { + "scope-269": { "path": "tests/semantic_conformance/test_snowflake_dates.py", "declared_tests": [ "test_snowflake_date_differences" @@ -13098,10 +14746,11 @@ "tests/semantic_conformance/test_snowflake_dates.py::test_snowflake_date_differences[compile-COALESCE(DATEDIFF(day, NULL, DATE '2024-01-01'), 42)-42]" ] }, - "scope-227": { + "scope-270": { "path": "tests/semantic_conformance/test_source_null_ordering.py", "declared_tests": [ "test_multi_source_ordering_renders_target_dialect", + "test_semantic_sql_limit_uses_duckdb_null_order", "test_source_ordering_matches_independent_rows" ], "collected_tests": [ @@ -13240,10 +14889,16 @@ "tests/semantic_conformance/test_source_null_ordering.py::test_multi_source_ordering_renders_target_dialect[rust- ASC NULLS LAST-tsql]", "tests/semantic_conformance/test_source_null_ordering.py::test_multi_source_ordering_renders_target_dialect[rust- ASC NULLS LAST-mysql]", "tests/semantic_conformance/test_source_null_ordering.py::test_multi_source_ordering_renders_target_dialect[rust- DESC NULLS FIRST-tsql]", - "tests/semantic_conformance/test_source_null_ordering.py::test_multi_source_ordering_renders_target_dialect[rust- DESC NULLS FIRST-mysql]" + "tests/semantic_conformance/test_source_null_ordering.py::test_multi_source_ordering_renders_target_dialect[rust- DESC NULLS FIRST-mysql]", + "tests/semantic_conformance/test_source_null_ordering.py::test_semantic_sql_limit_uses_duckdb_null_order[python-]", + "tests/semantic_conformance/test_source_null_ordering.py::test_semantic_sql_limit_uses_duckdb_null_order[python- ASC NULLS LAST]", + "tests/semantic_conformance/test_source_null_ordering.py::test_semantic_sql_limit_uses_duckdb_null_order[python- DESC NULLS FIRST]", + "tests/semantic_conformance/test_source_null_ordering.py::test_semantic_sql_limit_uses_duckdb_null_order[rust-]", + "tests/semantic_conformance/test_source_null_ordering.py::test_semantic_sql_limit_uses_duckdb_null_order[rust- ASC NULLS LAST]", + "tests/semantic_conformance/test_source_null_ordering.py::test_semantic_sql_limit_uses_duckdb_null_order[rust- DESC NULLS FIRST]" ] }, - "scope-228": { + "scope-271": { "path": "tests/semantic_conformance/test_source_null_ordering.py", "declared_tests": [ "test_minimized_nullable_fanout_case" @@ -13252,7 +14907,16 @@ "tests/semantic_conformance/test_source_null_ordering.py::test_minimized_nullable_fanout_case" ] }, - "scope-229": { + "scope-272": { + "path": "tests/semantic_conformance/test_source_null_ordering.py", + "declared_tests": [ + "test_minimized_four_route_nullable_limit" + ], + "collected_tests": [ + "tests/semantic_conformance/test_source_null_ordering.py::test_minimized_four_route_nullable_limit" + ] + }, + "scope-273": { "path": "tests/semantic_conformance/test_special_population.py", "declared_tests": [ "test_cumulative_computed_population_excludes_orphans_and_hidden_rows", @@ -13270,10 +14934,11 @@ "tests/semantic_conformance/test_special_population.py::test_cumulative_computed_population_excludes_orphans_and_hidden_rows[rust]", "tests/semantic_conformance/test_special_population.py::test_snapshot_computed_population_and_null_unmatched_group[python]", "tests/semantic_conformance/test_special_population.py::test_snapshot_computed_population_and_null_unmatched_group[rust]", + "tests/semantic_conformance/test_special_population.py::test_special_routes_evaluate_computed_keys_instead_of_shadow_columns[python]", "tests/semantic_conformance/test_special_population.py::test_special_routes_evaluate_computed_keys_instead_of_shadow_columns[rust]" ] }, - "scope-230": { + "scope-274": { "path": "tests/semantic_conformance/test_temporal_dialect_fallback.py", "declared_tests": [ "test_calendar_capable_dialects_preserve_exact_period_lookup", @@ -13328,7 +14993,7 @@ "tests/semantic_conformance/test_temporal_dialect_fallback.py::test_calendar_capable_dialects_preserve_exact_period_lookup[rust-postgres]" ] }, - "scope-231": { + "scope-275": { "path": "tests/semantic_conformance/test_temporal_null_fill.py", "declared_tests": [ "test_base_fill_and_temporal_fill_are_separate", @@ -13388,7 +15053,7 @@ "tests/semantic_conformance/test_temporal_null_fill.py::test_comparison_fill_keeps_python_precedence_for_cumulative_controls[rust-controls1]" ] }, - "scope-232": { + "scope-276": { "path": "tests/semantic_conformance/test_time_key_projection.py", "declared_tests": [ "test_numeric_computed_identity_keeps_unbucketed_projection", @@ -13410,17 +15075,7 @@ "tests/semantic_conformance/test_time_key_projection.py::test_time_identity_stays_unbucketed_for_join_and_fanout[rust]" ] }, - "scope-233": { - "path": "tests/semantic_conformance/test_time_key_projection.py", - "declared_tests": [ - "test_time_identity_stays_unbucketed_for_join_and_fanout" - ], - "collected_tests": [ - "tests/semantic_conformance/test_time_key_projection.py::test_time_identity_stays_unbucketed_for_join_and_fanout[python]", - "tests/semantic_conformance/test_time_key_projection.py::test_time_identity_stays_unbucketed_for_join_and_fanout[rust]" - ] - }, - "scope-234": { + "scope-277": { "path": "tests/semantic_conformance/test_window_output_parity.py", "declared_tests": [ "test_aggregate_reference_honors_explicit_range_frame", @@ -13554,7 +15209,7 @@ "tests/semantic_conformance/test_window_output_parity.py::test_scalar_window_expression_is_typed_unsupported[rust-ABS(base.daily_amount)]" ] }, - "scope-235": { + "scope-278": { "path": "tests/semantic_conformance/test_window_output_parity.py", "declared_tests": [ "test_graph_window_rejects_missing_or_ambiguous_period_metric", @@ -13583,7 +15238,7 @@ "tests/semantic_conformance/test_window_output_parity.py::test_scalar_window_expression_is_typed_unsupported[rust-ABS(base.daily_amount)]" ] }, - "scope-236": { + "scope-279": { "path": "tests/semantic_conformance/test_yardstick_source_dialects.py", "declared_tests": [ "test_native_ordinary_statement_batches_retain_both_results", @@ -13631,7 +15286,7 @@ "tests/semantic_conformance/test_yardstick_source_dialects.py::test_native_ordinary_statement_batches_retain_both_results[rust-snowflake-\"]" ] }, - "scope-237": { + "scope-280": { "path": "tests/semantic_conformance/test_yardstick_source_dialects.py", "declared_tests": [ "test_native_ordinary_statement_batches_retain_both_results" @@ -13643,7 +15298,7 @@ "tests/semantic_conformance/test_yardstick_source_dialects.py::test_native_ordinary_statement_batches_retain_both_results[rust-snowflake-\"]" ] }, - "scope-238": { + "scope-281": { "path": "tests/server/test_api_security.py", "declared_tests": [ "test_custom_user_header_name", @@ -13697,7 +15352,7 @@ "tests/server/test_api_security.py::test_mounted_mcp_identity_does_not_persist_between_requests" ] }, - "scope-239": { + "scope-282": { "path": "tests/server/test_api_server.py", "declared_tests": [ "test_bearer_exchange_issues_short_lived_header_session", @@ -13772,7 +15427,7 @@ "tests/server/test_api_server.py::test_sql_endpoint_strict_mode_returns_409_when_rollup_missing" ] }, - "scope-240": { + "scope-283": { "path": "tests/server/test_api_server.py", "declared_tests": [ "test_serve_ui_serves_spa_and_keeps_api_gated" @@ -13781,7 +15436,7 @@ "tests/server/test_api_server.py::test_serve_ui_serves_spa_and_keeps_api_gated" ] }, - "scope-241": { + "scope-284": { "path": "tests/server/test_concurrency.py", "declared_tests": [ "test_concurrent_reads_do_not_serialize", @@ -13792,7 +15447,7 @@ "tests/server/test_concurrency.py::test_mutation_style_endpoint_works_while_queries_run" ] }, - "scope-242": { + "scope-285": { "path": "tests/server/test_connection.py", "declared_tests": [ "test_handle_auth" @@ -13801,7 +15456,7 @@ "tests/server/test_connection.py::test_handle_auth" ] }, - "scope-243": { + "scope-286": { "path": "tests/server/test_connection.py", "declared_tests": [ "test_handle_auth_partial_config_fails_closed" @@ -13810,7 +15465,7 @@ "tests/server/test_connection.py::test_handle_auth_partial_config_fails_closed" ] }, - "scope-244": { + "scope-287": { "path": "tests/server/test_connection.py", "declared_tests": [ "test_handle_system_queries" @@ -13819,7 +15474,7 @@ "tests/server/test_connection.py::test_handle_system_queries" ] }, - "scope-245": { + "scope-288": { "path": "tests/server/test_connection.py", "declared_tests": [ "test_dml_passthrough" @@ -13828,7 +15483,7 @@ "tests/server/test_connection.py::test_dml_passthrough" ] }, - "scope-246": { + "scope-289": { "path": "tests/server/test_connection.py", "declared_tests": [ "test_query_error_raises_exception" @@ -13837,7 +15492,7 @@ "tests/server/test_connection.py::test_query_error_raises_exception" ] }, - "scope-247": { + "scope-290": { "path": "tests/server/test_connection.py", "declared_tests": [ "test_user_attributes_lookup_by_session_user" @@ -13846,7 +15501,7 @@ "tests/server/test_connection.py::test_user_attributes_lookup_by_session_user" ] }, - "scope-248": { + "scope-291": { "path": "tests/server/test_connection.py", "declared_tests": [ "test_enforce_pg_access_denies_secured_model_without_attrs" @@ -13855,7 +15510,7 @@ "tests/server/test_connection.py::test_enforce_pg_access_denies_secured_model_without_attrs" ] }, - "scope-249": { + "scope-292": { "path": "tests/server/test_connection.py", "declared_tests": [ "test_pg_catalog_filters_session_models_and_physical_sources", @@ -13873,6 +15528,9 @@ "tests/server/test_connection.py::test_pg_rejects_physical_source_bypasses[select obj_description(oid, 'pg_namespace') from private_orders]", "tests/server/test_connection.py::test_pg_rejects_physical_source_bypasses[with source as (select * from private_orders) select * from source]", "tests/server/test_connection.py::test_pg_rejects_physical_source_bypasses[select 1; select * from private_orders]", + "tests/server/test_connection.py::test_pg_rejects_physical_source_bypasses[begin; select * from private_orders; commit]", + "tests/server/test_connection.py::test_pg_rejects_physical_source_bypasses[set search_path to main; select * from private_orders]", + "tests/server/test_connection.py::test_pg_rejects_physical_source_bypasses[discard all; select order_count from orders]", "tests/server/test_connection.py::test_pg_rejects_physical_source_bypasses[table orders]", "tests/server/test_connection.py::test_pg_rejects_physical_source_bypasses[show tables]", "tests/server/test_connection.py::test_pg_rejects_physical_source_bypasses[pragma show_tables]", @@ -13901,7 +15559,7 @@ "tests/server/test_connection.py::test_pg_session_setting_remains_safe_with_controls" ] }, - "scope-250": { + "scope-293": { "path": "tests/server/test_connection.py", "declared_tests": [ "test_empty_pg_catalog_is_valid" @@ -13910,7 +15568,119 @@ "tests/server/test_connection.py::test_empty_pg_catalog_is_valid" ] }, - "scope-251": { + "scope-294": { + "path": "tests/server/test_connection.py", + "declared_tests": [ + "test_pg_batch_hiding_a_write_is_rejected_as_a_write", + "test_pg_batch_in_one_message_is_rejected_not_partially_acknowledged", + "test_pg_bound_parameters_reach_semantic_queries", + "test_pg_catalog_lists_model_columns_and_hides_non_public_fields", + "test_pg_catalog_query_honors_requested_columns_and_parameters", + "test_pg_query_errors_reach_the_client_as_errors", + "test_pg_rejects_statements_that_change_the_database", + "test_pg_runs_read_statements", + "test_pg_single_statement_with_separator_text_is_not_a_batch", + "test_pg_transaction_statements_are_acknowledged", + "test_pg_values_without_a_wire_encoding_are_sent_as_text" + ], + "collected_tests": [ + "tests/server/test_connection.py::test_pg_rejects_statements_that_change_the_database[create table pwn (x integer)]", + "tests/server/test_connection.py::test_pg_rejects_statements_that_change_the_database[drop table orders]", + "tests/server/test_connection.py::test_pg_rejects_statements_that_change_the_database[alter table orders add column y integer]", + "tests/server/test_connection.py::test_pg_rejects_statements_that_change_the_database[insert into orders values (3, 'x', 1)]", + "tests/server/test_connection.py::test_pg_rejects_statements_that_change_the_database[update orders set status = 'x']", + "tests/server/test_connection.py::test_pg_rejects_statements_that_change_the_database[delete from orders]", + "tests/server/test_connection.py::test_pg_rejects_statements_that_change_the_database[truncate orders]", + "tests/server/test_connection.py::test_pg_rejects_statements_that_change_the_database[copy orders to 'orders.csv']", + "tests/server/test_connection.py::test_pg_rejects_statements_that_change_the_database[attach 'other.db' as other]", + "tests/server/test_connection.py::test_pg_rejects_statements_that_change_the_database[install httpfs]", + "tests/server/test_connection.py::test_pg_rejects_statements_that_change_the_database[pragma threads=1]", + "tests/server/test_connection.py::test_pg_rejects_statements_that_change_the_database[call pragma_version()]", + "tests/server/test_connection.py::test_pg_rejects_statements_that_change_the_database[with gone as (delete from orders returning *) select * from gone]", + "tests/server/test_connection.py::test_pg_rejects_statements_that_change_the_database[select * into copied from orders]", + "tests/server/test_connection.py::test_pg_rejects_statements_that_change_the_database[select 1; drop table orders]", + "tests/server/test_connection.py::test_pg_rejects_statements_that_change_the_database[explain analyze delete from orders]", + "tests/server/test_connection.py::test_pg_runs_read_statements[select 1 as ok]", + "tests/server/test_connection.py::test_pg_runs_read_statements[select 1 as ok union all select 2]", + "tests/server/test_connection.py::test_pg_runs_read_statements[with a as (select 1 as ok) select * from a]", + "tests/server/test_connection.py::test_pg_runs_read_statements[show tables]", + "tests/server/test_connection.py::test_pg_transaction_statements_are_acknowledged", + "tests/server/test_connection.py::test_pg_batch_in_one_message_is_rejected_not_partially_acknowledged[BEGIN; SELECT 1 AS ok; COMMIT]", + "tests/server/test_connection.py::test_pg_batch_in_one_message_is_rejected_not_partially_acknowledged[start transaction; select 1 as ok]", + "tests/server/test_connection.py::test_pg_batch_in_one_message_is_rejected_not_partially_acknowledged[SET search_path TO main; SELECT 1 AS ok]", + "tests/server/test_connection.py::test_pg_batch_in_one_message_is_rejected_not_partially_acknowledged[SHOW server_version; SELECT 1 AS ok]", + "tests/server/test_connection.py::test_pg_batch_in_one_message_is_rejected_not_partially_acknowledged[DISCARD ALL; SELECT 1 AS ok]", + "tests/server/test_connection.py::test_pg_batch_in_one_message_is_rejected_not_partially_acknowledged[DEALLOCATE ALL; SELECT 1 AS ok]", + "tests/server/test_connection.py::test_pg_batch_in_one_message_is_rejected_not_partially_acknowledged[RESET ALL; SELECT 1 AS ok]", + "tests/server/test_connection.py::test_pg_batch_in_one_message_is_rejected_not_partially_acknowledged[SELECT 1 AS ok; SELECT 2 AS ok]", + "tests/server/test_connection.py::test_pg_batch_in_one_message_is_rejected_not_partially_acknowledged[SELECT 1 AS ok; BEGIN]", + "tests/server/test_connection.py::test_pg_batch_in_one_message_is_rejected_not_partially_acknowledged[select table_name from information_schema.tables; select 1 as ok]", + "tests/server/test_connection.py::test_pg_batch_hiding_a_write_is_rejected_as_a_write[BEGIN; DROP TABLE orders; COMMIT]", + "tests/server/test_connection.py::test_pg_batch_hiding_a_write_is_rejected_as_a_write[SET search_path TO main; DELETE FROM orders]", + "tests/server/test_connection.py::test_pg_batch_hiding_a_write_is_rejected_as_a_write[DISCARD ALL; CREATE TABLE pwn (x INTEGER)]", + "tests/server/test_connection.py::test_pg_batch_hiding_a_write_is_rejected_as_a_write[SELECT 1; COMMIT; UPDATE orders SET status = 'x']", + "tests/server/test_connection.py::test_pg_single_statement_with_separator_text_is_not_a_batch", + "tests/server/test_connection.py::test_pg_bound_parameters_reach_semantic_queries", + "tests/server/test_connection.py::test_pg_query_errors_reach_the_client_as_errors", + "tests/server/test_connection.py::test_pg_catalog_lists_model_columns_and_hides_non_public_fields", + "tests/server/test_connection.py::test_pg_catalog_query_honors_requested_columns_and_parameters", + "tests/server/test_connection.py::test_pg_values_without_a_wire_encoding_are_sent_as_text" + ] + }, + "scope-295": { + "path": "tests/server/test_connection.py", + "declared_tests": [ + "test_pg_single_statement_with_separator_text_is_not_a_batch" + ], + "collected_tests": [ + "tests/server/test_connection.py::test_pg_single_statement_with_separator_text_is_not_a_batch" + ] + }, + "scope-296": { + "path": "tests/server/test_connection.py", + "declared_tests": [ + "test_pg_inlines_parameters_as_escaped_literals" + ], + "collected_tests": [ + "tests/server/test_connection.py::test_pg_inlines_parameters_as_escaped_literals" + ] + }, + "scope-297": { + "path": "tests/server/test_connection.py", + "declared_tests": [ + "test_pg_errors_map_to_sqlstates" + ], + "collected_tests": [ + "tests/server/test_connection.py::test_pg_errors_map_to_sqlstates" + ] + }, + "scope-298": { + "path": "tests/server/test_pg_wire.py", + "declared_tests": [ + "test_bad_queries_raise_postgres_errors", + "test_catalog_lists_semantic_models_with_columns", + "test_client_with_implicit_transactions", + "test_demo_mode_starts", + "test_extended_protocol_batch_is_rejected_not_partially_acknowledged", + "test_parameterized_queries", + "test_password_authentication", + "test_semantic_query_returns_typed_values", + "test_session_statements_from_drivers", + "test_simple_protocol_batch_answers_every_statement", + "test_starts_with_several_tables_per_schema", + "test_statements_that_change_the_database_are_rejected", + "test_values_riffq_cannot_encode_arrive_as_text" + ], + "collected_tests": [] + }, + "scope-299": { + "path": "tests/server/test_pg_wire.py", + "declared_tests": [ + "test_demo_mode_starts" + ], + "collected_tests": [] + }, + "scope-300": { "path": "tests/server/test_transport_security_parity.py", "declared_tests": [ "test_allowed_identity_gets_identical_rows_across_http_and_mcp", @@ -13949,7 +15719,7 @@ "tests/server/test_transport_security_parity.py::test_projection_queries_remain_available_with_controls[select 1 as ok union all select 2 as ok]" ] }, - "scope-252": { + "scope-301": { "path": "tests/templates/test_parameters.py", "declared_tests": [ "test_parameters_with_actual_data", @@ -13964,7 +15734,7 @@ "tests/templates/test_parameters.py::test_parameters_with_actual_data" ] }, - "scope-253": { + "scope-302": { "path": "tests/test_adapter_integration.py", "declared_tests": [ "TestSemanticLayerAdapterInterface::test_layer_adapter_fetch_record_batch" @@ -13973,7 +15743,7 @@ "tests/test_adapter_integration.py::TestSemanticLayerAdapterInterface::test_layer_adapter_fetch_record_batch" ] }, - "scope-254": { + "scope-303": { "path": "tests/test_adapter_integration.py", "declared_tests": [ "TestServerConnectionAdapterIntegration::test_connection_handler_uses_adapter_for_dml" @@ -13982,7 +15752,7 @@ "tests/test_adapter_integration.py::TestServerConnectionAdapterIntegration::test_connection_handler_uses_adapter_for_dml" ] }, - "scope-255": { + "scope-304": { "path": "tests/test_adapter_integration.py", "declared_tests": [ "TestServerConnectionAdapterIntegration::test_connection_handler_uses_adapter_for_system_queries" @@ -13991,7 +15761,7 @@ "tests/test_adapter_integration.py::TestServerConnectionAdapterIntegration::test_connection_handler_uses_adapter_for_system_queries" ] }, - "scope-256": { + "scope-305": { "path": "tests/test_adapter_integration.py", "declared_tests": [ "TestServerConnectionAdapterIntegration::test_connection_handler_uses_adapter_for_pg_namespace" @@ -14000,7 +15770,7 @@ "tests/test_adapter_integration.py::TestServerConnectionAdapterIntegration::test_connection_handler_uses_adapter_for_pg_namespace" ] }, - "scope-257": { + "scope-306": { "path": "tests/test_adapter_integration.py", "declared_tests": [ "TestServerCatalogAdapterIntegration::test_start_server_uses_adapter_for_catalog_queries" @@ -14009,7 +15779,7 @@ "tests/test_adapter_integration.py::TestServerCatalogAdapterIntegration::test_start_server_uses_adapter_for_catalog_queries" ] }, - "scope-258": { + "scope-307": { "path": "tests/test_adapter_integration.py", "declared_tests": [ "TestMCPServerAdapterIntegration::test_mcp_run_query_uses_adapter" @@ -14018,7 +15788,7 @@ "tests/test_adapter_integration.py::TestMCPServerAdapterIntegration::test_mcp_run_query_uses_adapter" ] }, - "scope-259": { + "scope-308": { "path": "tests/test_adapter_integration.py", "declared_tests": [ "TestWorkbenchAdapterIntegration::test_workbench_command_wiring" @@ -14027,7 +15797,7 @@ "tests/test_adapter_integration.py::TestWorkbenchAdapterIntegration::test_workbench_command_wiring" ] }, - "scope-260": { + "scope-309": { "path": "tests/test_adapter_integration.py", "declared_tests": [ "TestWidgetAdapterIntegration::test_widget_generator_uses_layer_dialect" @@ -14036,7 +15806,7 @@ "tests/test_adapter_integration.py::TestWidgetAdapterIntegration::test_widget_generator_uses_layer_dialect" ] }, - "scope-261": { + "scope-310": { "path": "tests/test_adapter_integration.py", "declared_tests": [ "TestWidgetAdapterIntegration::test_widget_date_range_query_handles_qualified_table" @@ -14045,7 +15815,7 @@ "tests/test_adapter_integration.py::TestWidgetAdapterIntegration::test_widget_date_range_query_handles_qualified_table" ] }, - "scope-262": { + "scope-311": { "path": "tests/test_adapter_integration.py", "declared_tests": [ "TestWidgetAdapterIntegration::test_widget_sets_time_series_column_in_config" @@ -14054,7 +15824,7 @@ "tests/test_adapter_integration.py::TestWidgetAdapterIntegration::test_widget_sets_time_series_column_in_config" ] }, - "scope-263": { + "scope-312": { "path": "tests/test_adapter_integration.py", "declared_tests": [ "TestWidgetAdapterIntegration::test_widget_binary_transport_populates_binary_traits" @@ -14063,7 +15833,7 @@ "tests/test_adapter_integration.py::TestWidgetAdapterIntegration::test_widget_binary_transport_populates_binary_traits" ] }, - "scope-264": { + "scope-313": { "path": "tests/test_adapter_integration.py", "declared_tests": [ "TestWidgetAdapterIntegration::test_widget_uses_adapter_in_layer_mode" @@ -14072,7 +15842,7 @@ "tests/test_adapter_integration.py::TestWidgetAdapterIntegration::test_widget_uses_adapter_in_layer_mode" ] }, - "scope-265": { + "scope-314": { "path": "tests/test_adapter_integration.py", "declared_tests": [ "TestWidgetAdapterIntegration::test_widget_execute_routes_through_adapter" @@ -14081,7 +15851,7 @@ "tests/test_adapter_integration.py::TestWidgetAdapterIntegration::test_widget_execute_routes_through_adapter" ] }, - "scope-266": { + "scope-315": { "path": "tests/test_adapter_integration.py", "declared_tests": [ "TestWidgetAdapterIntegration::test_widget_dataframe_mode_uses_raw_connection" @@ -14090,7 +15860,7 @@ "tests/test_adapter_integration.py::TestWidgetAdapterIntegration::test_widget_dataframe_mode_uses_raw_connection" ] }, - "scope-267": { + "scope-316": { "path": "tests/test_adapter_integration.py", "declared_tests": [ "TestWidgetAdapterIntegration::test_widget_execute_arrow_uses_fetch_record_batch" @@ -14099,7 +15869,16 @@ "tests/test_adapter_integration.py::TestWidgetAdapterIntegration::test_widget_execute_arrow_uses_fetch_record_batch" ] }, - "scope-268": { + "scope-317": { + "path": "tests/test_adapter_integration.py", + "declared_tests": [ + "test_widget_dataframe_arrow_uses_supported_duckdb_reader" + ], + "collected_tests": [ + "tests/test_adapter_integration.py::test_widget_dataframe_arrow_uses_supported_duckdb_reader" + ] + }, + "scope-318": { "path": "tests/test_bugfix_batch.py", "declared_tests": [ "TestConversionMetricDimensions::test_conversion_dimension_join_prevents_cross_group_leaking", @@ -14134,7 +15913,7 @@ "tests/test_bugfix_batch.py::TestConversionMetricDimensions::test_conversion_with_derived_dimension_sql" ] }, - "scope-269": { + "scope-319": { "path": "tests/test_charts.py", "declared_tests": [ "test_chart_generation_available" @@ -14143,7 +15922,7 @@ "tests/test_charts.py::test_chart_generation_available" ] }, - "scope-270": { + "scope-320": { "path": "tests/test_charts.py", "declared_tests": [ "test_format_label" @@ -14152,7 +15931,7 @@ "tests/test_charts.py::test_format_label" ] }, - "scope-271": { + "scope-321": { "path": "tests/test_charts.py", "declared_tests": [ "test_color_palette" @@ -14161,7 +15940,47 @@ "tests/test_charts.py::test_color_palette" ] }, - "scope-272": { + "scope-322": { + "path": "tests/test_charts.py", + "declared_tests": [ + "test_single_metric_chart_has_real_axis_without_mutating_records" + ], + "collected_tests": [ + "tests/test_charts.py::test_single_metric_chart_has_real_axis_without_mutating_records[total_revenue]", + "tests/test_charts.py::test_single_metric_chart_has_real_axis_without_mutating_records[index]" + ] + }, + "scope-323": { + "path": "tests/test_charts.py", + "declared_tests": [ + "test_y_only_chart_keeps_requested_metric" + ], + "collected_tests": [ + "tests/test_charts.py::test_y_only_chart_keeps_requested_metric" + ] + }, + "scope-324": { + "path": "tests/test_charts.py", + "declared_tests": [ + "test_all_metrics_with_synthetic_axis_are_rendered" + ], + "collected_tests": [ + "tests/test_charts.py::test_all_metrics_with_synthetic_axis_are_rendered[1-metrics0]", + "tests/test_charts.py::test_all_metrics_with_synthetic_axis_are_rendered[1-metrics1]", + "tests/test_charts.py::test_all_metrics_with_synthetic_axis_are_rendered[2-metrics0]", + "tests/test_charts.py::test_all_metrics_with_synthetic_axis_are_rendered[2-metrics1]" + ] + }, + "scope-325": { + "path": "tests/test_charts.py", + "declared_tests": [ + "test_x_only_chart_keeps_requested_dimension" + ], + "collected_tests": [ + "tests/test_charts.py::test_x_only_chart_keeps_requested_dimension" + ] + }, + "scope-326": { "path": "tests/test_cli_commands.py", "declared_tests": [ "test_workbench_calls_runner" @@ -14170,7 +15989,7 @@ "tests/test_cli_commands.py::test_workbench_calls_runner" ] }, - "scope-273": { + "scope-327": { "path": "tests/test_cli_commands.py", "declared_tests": [ "test_api_serve_calls_start_server" @@ -14179,7 +15998,7 @@ "tests/test_cli_commands.py::test_api_serve_calls_start_server" ] }, - "scope-274": { + "scope-328": { "path": "tests/test_cli_commands.py", "declared_tests": [ "test_api_serve_legacy_warning_precedes_start_server" @@ -14188,7 +16007,7 @@ "tests/test_cli_commands.py::test_api_serve_legacy_warning_precedes_start_server" ] }, - "scope-275": { + "scope-329": { "path": "tests/test_cli_commands.py", "declared_tests": [ "test_http_entrypoints_forward_trusted_identity" @@ -14202,7 +16021,7 @@ "tests/test_cli_commands.py::test_http_entrypoints_forward_trusted_identity[command2-True]" ] }, - "scope-276": { + "scope-330": { "path": "tests/test_cli_contract.py", "declared_tests": [ "test_api_auth_token_can_be_read_from_stdin" @@ -14211,7 +16030,7 @@ "tests/test_cli_contract.py::test_api_auth_token_can_be_read_from_stdin" ] }, - "scope-277": { + "scope-331": { "path": "tests/test_cli_project_contract.py", "declared_tests": [ "test_dashboard_serve_discovers_default_spec_and_project" @@ -14220,7 +16039,7 @@ "tests/test_cli_project_contract.py::test_dashboard_serve_discovers_default_spec_and_project" ] }, - "scope-278": { + "scope-332": { "path": "tests/test_cli_t2_contract.py", "declared_tests": [ "test_format_default_does_not_suppress_unstructured_server_status" @@ -14229,25 +16048,54 @@ "tests/test_cli_t2_contract.py::test_format_default_does_not_suppress_unstructured_server_status" ] }, - "scope-279": { + "scope-333": { + "path": "tests/test_dashboard.py", + "declared_tests": [ + "test_crossfilter_dashboard_asgi_app_routes_requests_without_eager_preagg" + ], + "collected_tests": [ + "tests/test_dashboard.py::test_crossfilter_dashboard_asgi_app_routes_requests_without_eager_preagg" + ] + }, + "scope-334": { "path": "tests/test_dashboard.py", "declared_tests": [ - "test_crossfilter_dashboard_asgi_app_routes_requests_without_eager_preagg" + "test_crossfilter_dashboard_asgi_app_loads_non_initial_tab_specs_lazily" + ], + "collected_tests": [ + "tests/test_dashboard.py::test_crossfilter_dashboard_asgi_app_loads_non_initial_tab_specs_lazily" + ] + }, + "scope-335": { + "path": "tests/test_example_result_conversions.py", + "declared_tests": [ + "test_result_converts_to_arrow_and_polars" + ], + "collected_tests": [ + "tests/test_example_result_conversions.py::test_result_converts_to_arrow_and_polars[query]", + "tests/test_example_result_conversions.py::test_result_converts_to_arrow_and_polars[sql]" + ] + }, + "scope-336": { + "path": "tests/test_example_result_conversions.py", + "declared_tests": [ + "test_result_fetches_rows_and_pandas" ], "collected_tests": [ - "tests/test_dashboard.py::test_crossfilter_dashboard_asgi_app_routes_requests_without_eager_preagg" + "tests/test_example_result_conversions.py::test_result_fetches_rows_and_pandas[query]", + "tests/test_example_result_conversions.py::test_result_fetches_rows_and_pandas[sql]" ] }, - "scope-280": { - "path": "tests/test_dashboard.py", + "scope-337": { + "path": "tests/test_manpage.py", "declared_tests": [ - "test_crossfilter_dashboard_asgi_app_loads_non_initial_tab_specs_lazily" + "test_checked_in_manpage_matches_live_cli" ], "collected_tests": [ - "tests/test_dashboard.py::test_crossfilter_dashboard_asgi_app_loads_non_initial_tab_specs_lazily" + "tests/test_manpage.py::test_checked_in_manpage_matches_live_cli" ] }, - "scope-281": { + "scope-338": { "path": "tests/test_mcp_apps.py", "declared_tests": [ "test_build_chart_html", @@ -14274,7 +16122,18 @@ "tests/test_mcp_apps.py::test_create_chart_without_apps_returns_dict" ] }, - "scope-282": { + "scope-339": { + "path": "tests/test_mcp_server.py", + "declared_tests": [ + "test_registered_query_tools_leave_event_loop_responsive" + ], + "collected_tests": [ + "tests/test_mcp_server.py::test_registered_query_tools_leave_event_loop_responsive[run_query-arguments0]", + "tests/test_mcp_server.py::test_registered_query_tools_leave_event_loop_responsive[run_sql-arguments1]", + "tests/test_mcp_server.py::test_registered_query_tools_leave_event_loop_responsive[create_chart-arguments2]" + ] + }, + "scope-340": { "path": "tests/test_native_build_cache.py", "declared_tests": [ "test_native_source_changes_invalidate_uv_wheels" @@ -14288,7 +16147,7 @@ "tests/test_native_build_cache.py::test_native_source_changes_invalidate_uv_wheels[crates/dax-pyo3-python/sqlctx_dax/__init__.py]" ] }, - "scope-283": { + "scope-341": { "path": "tests/test_performance.py", "declared_tests": [ "test_simple_rewrite_performance" @@ -14297,7 +16156,7 @@ "tests/test_performance.py::test_simple_rewrite_performance" ] }, - "scope-284": { + "scope-342": { "path": "tests/test_performance.py", "declared_tests": [ "test_complex_rewrite_performance" @@ -14306,7 +16165,7 @@ "tests/test_performance.py::test_complex_rewrite_performance" ] }, - "scope-285": { + "scope-343": { "path": "tests/test_performance.py", "declared_tests": [ "test_sql_generation_performance" @@ -14315,7 +16174,7 @@ "tests/test_performance.py::test_sql_generation_performance" ] }, - "scope-286": { + "scope-344": { "path": "tests/test_performance.py", "declared_tests": [ "test_multi_join_generation_performance" @@ -14324,7 +16183,7 @@ "tests/test_performance.py::test_multi_join_generation_performance" ] }, - "scope-287": { + "scope-345": { "path": "tests/test_performance.py", "declared_tests": [ "test_filter_parsing_performance" @@ -14333,7 +16192,7 @@ "tests/test_performance.py::test_filter_parsing_performance" ] }, - "scope-288": { + "scope-346": { "path": "tests/test_performance.py", "declared_tests": [ "test_query_rewriter_warm_vs_cold" @@ -14342,7 +16201,7 @@ "tests/test_performance.py::test_query_rewriter_warm_vs_cold" ] }, - "scope-289": { + "scope-347": { "path": "tests/test_performance.py", "declared_tests": [ "test_parameter_substitution_performance" @@ -14351,7 +16210,87 @@ "tests/test_performance.py::test_parameter_substitution_performance" ] }, - "scope-290": { + "scope-348": { + "path": "tests/test_preaggregation_correctness.py", + "declared_tests": [ + "test_bucket_filter_rewrite_preserves_literals", + "test_default_grain_can_roll_up_daily_buckets_to_month", + "test_default_grain_reads_bucket_and_preserves_alias", + "test_finalized_statistics_require_exact_grain", + "test_rollup_must_support_every_requested_grain_of_same_dimension", + "test_temporal_boundaries_match_materialized_grain", + "test_time_dimension_without_default_grain_falls_back_to_source", + "test_time_filters_only_route_complete_buckets" + ], + "collected_tests": [ + "tests/test_preaggregation_correctness.py::test_finalized_statistics_require_exact_grain[median]", + "tests/test_preaggregation_correctness.py::test_finalized_statistics_require_exact_grain[stddev]", + "tests/test_preaggregation_correctness.py::test_finalized_statistics_require_exact_grain[stddev_pop]", + "tests/test_preaggregation_correctness.py::test_finalized_statistics_require_exact_grain[variance]", + "tests/test_preaggregation_correctness.py::test_finalized_statistics_require_exact_grain[variance_pop]", + "tests/test_preaggregation_correctness.py::test_default_grain_reads_bucket_and_preserves_alias[orders.dt]", + "tests/test_preaggregation_correctness.py::test_default_grain_reads_bucket_and_preserves_alias[orders.dt__day]", + "tests/test_preaggregation_correctness.py::test_time_filters_only_route_complete_buckets[orders.dt >= TIMESTAMP '2026-10-01 12:00:00'-False]", + "tests/test_preaggregation_correctness.py::test_time_filters_only_route_complete_buckets[orders.dt < TIMESTAMP '2026-10-01 12:00:00'-False]", + "tests/test_preaggregation_correctness.py::test_time_filters_only_route_complete_buckets[orders.dt > TIMESTAMP '2026-10-01 00:00:00'-False]", + "tests/test_preaggregation_correctness.py::test_time_filters_only_route_complete_buckets[orders.dt <= TIMESTAMP '2026-10-01 00:00:00'-False]", + "tests/test_preaggregation_correctness.py::test_time_filters_only_route_complete_buckets[orders.dt = TIMESTAMP '2026-10-01 00:00:00'-False]", + "tests/test_preaggregation_correctness.py::test_time_filters_only_route_complete_buckets[orders.dt BETWEEN '2026-10-01' AND '2026-10-02'-False]", + "tests/test_preaggregation_correctness.py::test_time_filters_only_route_complete_buckets[orders.dt >= TIMESTAMP '2026-10-02 00:00:00'-True]", + "tests/test_preaggregation_correctness.py::test_time_filters_only_route_complete_buckets[orders.dt < DATE '2026-10-02'-True]", + "tests/test_preaggregation_correctness.py::test_time_filters_only_route_complete_buckets[TIMESTAMP '2026-10-02 00:00:00' <= orders.dt-True]", + "tests/test_preaggregation_correctness.py::test_time_filters_only_route_complete_buckets[TIMESTAMP '2026-10-02 00:00:00' > orders.dt-True]", + "tests/test_preaggregation_correctness.py::test_time_filters_only_route_complete_buckets[orders.dt IS NOT NULL-True]", + "tests/test_preaggregation_correctness.py::test_time_filters_only_route_complete_buckets[orders.dt >= '2026-10-01' AND orders.dt < '2026-10-03'-True]", + "tests/test_preaggregation_correctness.py::test_time_filters_only_route_complete_buckets[orders.dt >= '2026-10-01' AND orders.dt < '2026-10-02 12:00:00'-False]", + "tests/test_preaggregation_correctness.py::test_temporal_boundaries_match_materialized_grain[month-2026-10-01-True]", + "tests/test_preaggregation_correctness.py::test_temporal_boundaries_match_materialized_grain[month-2026-10-02-False]", + "tests/test_preaggregation_correctness.py::test_temporal_boundaries_match_materialized_grain[week-2026-10-05-True]", + "tests/test_preaggregation_correctness.py::test_temporal_boundaries_match_materialized_grain[week-2026-10-01-False]", + "tests/test_preaggregation_correctness.py::test_temporal_boundaries_match_materialized_grain[quarter-2026-10-01-True]", + "tests/test_preaggregation_correctness.py::test_temporal_boundaries_match_materialized_grain[quarter-2026-11-01-False]", + "tests/test_preaggregation_correctness.py::test_temporal_boundaries_match_materialized_grain[hour-2026-10-01 10:00:00-True]", + "tests/test_preaggregation_correctness.py::test_temporal_boundaries_match_materialized_grain[hour-2026-10-01 10:30:00-False]", + "tests/test_preaggregation_correctness.py::test_default_grain_can_roll_up_daily_buckets_to_month", + "tests/test_preaggregation_correctness.py::test_bucket_filter_rewrite_preserves_literals", + "tests/test_preaggregation_correctness.py::test_time_dimension_without_default_grain_falls_back_to_source", + "tests/test_preaggregation_correctness.py::test_rollup_must_support_every_requested_grain_of_same_dimension[False-orders.dt]", + "tests/test_preaggregation_correctness.py::test_rollup_must_support_every_requested_grain_of_same_dimension[False-orders.dt__month]", + "tests/test_preaggregation_correctness.py::test_rollup_must_support_every_requested_grain_of_same_dimension[True-orders.dt]", + "tests/test_preaggregation_correctness.py::test_rollup_must_support_every_requested_grain_of_same_dimension[True-orders.dt__month]" + ] + }, + "scope-349": { + "path": "tests/test_preaggregation_correctness.py", + "declared_tests": [ + "test_rollup_grain_is_bound_to_its_own_time_dimension" + ], + "collected_tests": [ + "tests/test_preaggregation_correctness.py::test_rollup_grain_is_bound_to_its_own_time_dimension[day-None-False]", + "tests/test_preaggregation_correctness.py::test_rollup_grain_is_bound_to_its_own_time_dimension[day-None-True]", + "tests/test_preaggregation_correctness.py::test_rollup_grain_is_bound_to_its_own_time_dimension[day-day-False]", + "tests/test_preaggregation_correctness.py::test_rollup_grain_is_bound_to_its_own_time_dimension[day-day-True]", + "tests/test_preaggregation_correctness.py::test_rollup_grain_is_bound_to_its_own_time_dimension[day-month-False]", + "tests/test_preaggregation_correctness.py::test_rollup_grain_is_bound_to_its_own_time_dimension[day-month-True]", + "tests/test_preaggregation_correctness.py::test_rollup_grain_is_bound_to_its_own_time_dimension[month-None-False]", + "tests/test_preaggregation_correctness.py::test_rollup_grain_is_bound_to_its_own_time_dimension[month-None-True]", + "tests/test_preaggregation_correctness.py::test_rollup_grain_is_bound_to_its_own_time_dimension[month-day-False]", + "tests/test_preaggregation_correctness.py::test_rollup_grain_is_bound_to_its_own_time_dimension[month-day-True]", + "tests/test_preaggregation_correctness.py::test_rollup_grain_is_bound_to_its_own_time_dimension[month-month-False]", + "tests/test_preaggregation_correctness.py::test_rollup_grain_is_bound_to_its_own_time_dimension[month-month-True]" + ] + }, + "scope-350": { + "path": "tests/test_preaggregation_correctness.py", + "declared_tests": [ + "test_finalized_rollup_cannot_regroup_secondary_time_dimension" + ], + "collected_tests": [ + "tests/test_preaggregation_correctness.py::test_finalized_rollup_cannot_regroup_secondary_time_dimension[False]", + "tests/test_preaggregation_correctness.py::test_finalized_rollup_cannot_regroup_secondary_time_dimension[True]" + ] + }, + "scope-351": { "path": "tests/test_query_fragment_boundary.py", "declared_tests": [ "test_rewriter_cte_scope_does_not_authorize_structured_or_later_calls" @@ -14360,7 +16299,7 @@ "tests/test_query_fragment_boundary.py::test_rewriter_cte_scope_does_not_authorize_structured_or_later_calls" ] }, - "scope-291": { + "scope-352": { "path": "tests/test_query_fragment_boundary.py", "declared_tests": [ "test_cte_scope_allows_expression_plan_and_identifier_folding" @@ -14369,7 +16308,7 @@ "tests/test_query_fragment_boundary.py::test_cte_scope_allows_expression_plan_and_identifier_folding" ] }, - "scope-292": { + "scope-353": { "path": "tests/test_sql_generation_security.py", "declared_tests": [ "test_conversion_invalid_entity_rejected" @@ -14378,7 +16317,7 @@ "tests/test_sql_generation_security.py::test_conversion_invalid_entity_rejected" ] }, - "scope-293": { + "scope-354": { "path": "tests/test_sql_generation_security.py", "declared_tests": [ "test_conversion_invalid_window_rejected" @@ -14387,7 +16326,7 @@ "tests/test_sql_generation_security.py::test_conversion_invalid_window_rejected" ] }, - "scope-294": { + "scope-355": { "path": "tests/test_sql_generation_security.py", "declared_tests": [ "test_conversion_event_name_quotes_escaped" @@ -14396,7 +16335,7 @@ "tests/test_sql_generation_security.py::test_conversion_event_name_quotes_escaped" ] }, - "scope-295": { + "scope-356": { "path": "tests/test_sql_generation_security.py", "declared_tests": [ "test_build_interval_duckdb" @@ -14405,7 +16344,7 @@ "tests/test_sql_generation_security.py::test_build_interval_duckdb" ] }, - "scope-296": { + "scope-357": { "path": "tests/test_sql_generation_security.py", "declared_tests": [ "test_build_interval_bigquery" @@ -14414,7 +16353,7 @@ "tests/test_sql_generation_security.py::test_build_interval_bigquery" ] }, - "scope-297": { + "scope-358": { "path": "tests/test_sql_generation_security.py", "declared_tests": [ "test_build_interval_postgres" @@ -14423,7 +16362,7 @@ "tests/test_sql_generation_security.py::test_build_interval_postgres" ] }, - "scope-298": { + "scope-359": { "path": "tests/test_workbench_demo.py", "declared_tests": [ "test_workbench_demo_starter_queries_execute" @@ -14432,7 +16371,7 @@ "tests/test_workbench_demo.py::test_workbench_demo_starter_queries_execute" ] }, - "scope-299": { + "scope-360": { "path": "tests/widget/test_widget_examples.py", "declared_tests": [ "test_build_auto_model_sets_simple_aggs" @@ -14491,6 +16430,12 @@ "evidence": "reason-1" } }, + "tests/adapters/gooddata/test_key_fidelity.py": { + "test_compound_grain_and_reordered_targets_execute_correct_join": { + "category": "real-gap", + "evidence": "reason-3" + } + }, "tests/adapters/metricflow/test_parsing.py": { "test_metricflow_adapter_join_discovery": { "category": "real-gap", @@ -14565,6 +16510,30 @@ "evidence": "reason-1" } }, + "tests/adapters/tmdl/test_aggregation_semantics.py": { + "test_aggregations_use_physical_source_column": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_distinctcount_applies_to_each_group_and_preserves_dax_on_export": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_distinctcount_preserves_blank_and_empty_input": { + "category": "real-gap", + "evidence": "reason-3" + } + }, + "tests/adapters/tmdl/test_export_fidelity.py": { + "test_exported_counts_preserve_boolean_null_and_empty_semantics": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_sql_column_resolves_to_dax_display_name": { + "category": "real-gap", + "evidence": "reason-3" + } + }, "tests/adapters/tmdl/test_parsing.py": { "test_tmdl_dax_only_calculated_table_is_not_compiled_as_sql": { "category": "real-gap", @@ -14575,20 +16544,46 @@ "evidence": "reason-1" } }, + "tests/core/test_directed_relationships.py": { + "test_dimension_first_query_selects_permitted_anchor_and_keeps_inner_predicate": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_directed_cycle_deduplicates_the_actual_join_target": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_multiple_metric_grains_use_permitted_anchor_in_each_population": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_nested_role_projects_incoming_relationship_keys": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_one_to_many_derived_metric_keeps_its_own_aggregate_grain": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_target_side_measure_is_not_duplicated_by_permitted_join": { + "category": "real-gap", + "evidence": "reason-3" + } + }, "tests/core/test_invariant_filters.py": { "test_inheritance_conjoins_invariants_and_rust_rewriter_falls_back": { "category": null, - "evidence": "reason-7" + "evidence": "reason-9" } }, "tests/core/test_relationship_role_aliases.py": { "test_many_to_many_through_column_check_uses_scoped_target_instance": { "category": "intentional-Python-only", - "evidence": "reason-9" + "evidence": "reason-11" }, "test_nested_role_alias_is_scoped_to_parent_instance": { "category": null, - "evidence": "reason-10" + "evidence": "reason-12" }, "test_role_alias_one_to_many_keeps_base_measure_fanout_safe": { "category": "real-gap", @@ -14599,6 +16594,24 @@ "evidence": "reason-1" } }, + "tests/core/test_required_filters.py": { + "test_graph_metric_and_intermediate_join_model": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_sql_group_fields_and_aliases": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_sql_scopes_aliases_and_engine_dispatch": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_yardstick_wrapper_cannot_bypass_requirements": { + "category": "real-gap", + "evidence": "reason-3" + } + }, "tests/core/test_security_advisor_regressions.py": { "test_rewriter_threads_user_attributes": { "category": "real-gap", @@ -14608,21 +16621,21 @@ "tests/dates/test_query_timezone.py": { "test_generator_timezone_bypasses_preagg_routing": { "category": null, - "evidence": "reason-11" + "evidence": "reason-14" }, "test_timezone_dialect_specific_sql": { "category": "intentional-Python-only", - "evidence": "reason-12" + "evidence": "reason-15" }, "test_timezone_value_is_validated_against_injection": { "category": null, - "evidence": "reason-11" + "evidence": "reason-14" } }, "tests/dates/test_time_comparison.py": { "test_model_level_conversion_metric": { "category": null, - "evidence": "reason-13" + "evidence": "reason-16" }, "test_model_level_time_comparison_metric": { "category": "real-gap", @@ -14630,25 +16643,89 @@ }, "test_named_calendar_comparison_without_declared_granularity": { "category": null, - "evidence": "reason-14" + "evidence": "reason-17" + } + }, + "tests/interchange/ossie/test_latest_query_interface.py": { + "test_physical_window_query_keeps_its_native_session_semantics": { + "category": "real-gap", + "evidence": "reason-3" + } + }, + "tests/interchange/ossie/test_latest_relational_array_dialects.py": { + "test_layer2_array_indexes_keep_source_and_query_dialects": { + "category": "real-gap", + "evidence": "reason-3" + } + }, + "tests/interchange/ossie/test_latest_relational_edges.py": { + "test_direct_rewriter_rejects_unsupported_security_controls": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_sql_measure_definitions_need_no_imported_model": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_qualified_physical_relation_does_not_bind_same_named_semantic_model": { + "category": "real-gap", + "evidence": "reason-3" + } + }, + "tests/interchange/ossie/test_layer2_conformance.py": { + "test_layer2_holistic_aggregates_consume_original_population": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_layer2_projection_order_and_aliases_are_preserved": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_layer2_result_contract": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_layer2_type_errors_are_rejected_before_database_execution": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_using_star_emits_merged_key_once": { + "category": "real-gap", + "evidence": "reason-3" + } + }, + "tests/interchange/ossie/test_portable_filtered_count.py": { + "test_layer2_filtered_count_window_reaches_target_emitter": { + "category": "real-gap", + "evidence": "reason-3" + } + }, + "tests/interchange/ossie/test_review_relational_boundaries.py": { + "test_physical_wildcard_rename_remains_ordinary_sql": { + "category": "real-gap", + "evidence": "reason-3" + }, + "test_stored_view_has_its_own_cte_scope": { + "category": "real-gap", + "evidence": "reason-3" } }, "tests/metrics/test_advanced.py": { "test_conversion_metric": { "category": "real-gap", - "evidence": "reason-19" + "evidence": "reason-23" }, "test_conversion_metric_backwards_compatible": { "category": "real-gap", - "evidence": "reason-20" + "evidence": "reason-24" }, "test_conversion_metric_steps_and_base_event": { "category": "real-gap", - "evidence": "reason-21" + "evidence": "reason-25" }, "test_cumulative_fill_nulls_applies_after_window": { "category": null, - "evidence": "reason-22" + "evidence": "reason-26" }, "test_dotted_metric_name_alias": { "category": "real-gap", @@ -14660,23 +16737,23 @@ }, "test_fill_nulls_with_zero": { "category": null, - "evidence": "reason-23" + "evidence": "reason-27" }, "test_filter_dimension_with_model_qualified_sql_expr": { "category": "real-gap", - "evidence": "reason-24" + "evidence": "reason-28" }, "test_model_measure_null_fill_applies_to_direct_and_dependent_metrics": { "category": null, - "evidence": "reason-23" + "evidence": "reason-27" }, "test_mom_difference": { "category": null, - "evidence": "reason-25" + "evidence": "reason-29" }, "test_month_comparison_does_not_use_previous_available_sparse_row": { "category": null, - "evidence": "reason-25" + "evidence": "reason-29" }, "test_month_to_date_metric": { "category": "real-gap", @@ -14684,67 +16761,67 @@ }, "test_multistep_conversion_2_steps_via_steps_list": { "category": "real-gap", - "evidence": "reason-26" + "evidence": "reason-30" }, "test_multistep_conversion_funnel": { "category": "real-gap", - "evidence": "reason-27" + "evidence": "reason-31" }, "test_multistep_funnel_chronological_order_enforced": { "category": "real-gap", - "evidence": "reason-28" + "evidence": "reason-32" }, "test_multistep_funnel_expression_timestamp": { "category": "real-gap", - "evidence": "reason-29" + "evidence": "reason-33" }, "test_multistep_funnel_model_name_prefix_step_predicates": { "category": "real-gap", - "evidence": "reason-30" + "evidence": "reason-34" }, "test_multistep_funnel_model_placeholder_filter": { "category": "real-gap", - "evidence": "reason-31" + "evidence": "reason-35" }, "test_multistep_funnel_model_placeholder_step_predicates": { "category": "real-gap", - "evidence": "reason-32" + "evidence": "reason-36" }, "test_multistep_funnel_model_placeholder_timestamp": { "category": "real-gap", - "evidence": "reason-33" + "evidence": "reason-37" }, "test_multistep_funnel_monotonic_counts": { "category": "real-gap", - "evidence": "reason-34" + "evidence": "reason-38" }, "test_multistep_funnel_only_prior_step2_not_counted": { "category": "real-gap", - "evidence": "reason-35" + "evidence": "reason-39" }, "test_multistep_funnel_or_step_with_filter": { "category": "real-gap", - "evidence": "reason-36" + "evidence": "reason-40" }, "test_multistep_funnel_order_by_metric_name": { "category": "real-gap", - "evidence": "reason-37" + "evidence": "reason-41" }, "test_multistep_funnel_qualified_filters": { "category": "real-gap", - "evidence": "reason-38" + "evidence": "reason-42" }, "test_multistep_funnel_repeated_actions_valid_path": { "category": "real-gap", - "evidence": "reason-39" + "evidence": "reason-43" }, "test_multistep_funnel_total_excludes_non_entrants": { "category": "real-gap", - "evidence": "reason-40" + "evidence": "reason-44" }, "test_offset_ratio_fill_nulls_applies_to_missing_prior_period": { "category": null, - "evidence": "reason-22" + "evidence": "reason-26" }, "test_offset_ratio_metric": { "category": "real-gap", @@ -14764,7 +16841,7 @@ }, "test_time_comparison_fill_nulls_applies_to_missing_prior_period": { "category": null, - "evidence": "reason-22" + "evidence": "reason-26" }, "test_wow_percent_change_partitions_by_dimension": { "category": "real-gap", @@ -14776,7 +16853,7 @@ }, "test_year_to_date_metric": { "category": null, - "evidence": "reason-41" + "evidence": "reason-45" }, "test_yoy_percent_change": { "category": "real-gap", @@ -14790,11 +16867,11 @@ }, "test_cohort_basic": { "category": null, - "evidence": "reason-42" + "evidence": "reason-46" }, "test_cohort_graph_level_metric": { "category": "real-gap", - "evidence": "reason-43" + "evidence": "reason-47" }, "test_cohort_mixed_with_conversion_raises": { "category": "real-gap", @@ -14810,11 +16887,11 @@ }, "test_cohort_outer_sql_references_subquery": { "category": null, - "evidence": "reason-42" + "evidence": "reason-46" }, "test_cohort_reserved_word_dimension": { "category": null, - "evidence": "reason-42" + "evidence": "reason-46" }, "test_cohort_unknown_dimension_raises": { "category": "real-gap", @@ -14822,31 +16899,31 @@ }, "test_cohort_with_dimension": { "category": null, - "evidence": "reason-42" + "evidence": "reason-46" }, "test_cohort_with_time_grain_uses_grained_output_alias": { "category": null, - "evidence": "reason-42" + "evidence": "reason-46" } }, "tests/metrics/test_conversion_source_parity.py": { "test_conversion_fill_is_accepted_without_changing_empty_result": { "category": null, - "evidence": "reason-44" + "evidence": "reason-48" }, "test_conversion_sql_source_expressions": { "category": null, - "evidence": "reason-44" + "evidence": "reason-48" }, "test_two_event_conversion_uses_last_time_dimension_instead_of_default": { "category": null, - "evidence": "reason-44" + "evidence": "reason-48" } }, "tests/metrics/test_cumulative.py": { "test_cumulative_with_time_comparison": { "category": null, - "evidence": "reason-45" + "evidence": "reason-49" }, "test_time_comparison_over_derived_cumulative_chain": { "category": "real-gap", @@ -14864,15 +16941,15 @@ "tests/metrics/test_filters.py": { "test_filter_classification_and_rewrite_respect_nested_select_alias_scope": { "category": "intentional-Python-only", - "evidence": "reason-46" + "evidence": "reason-50" }, "test_filter_classification_ignores_metric_names_in_non_column_tokens": { "category": "intentional-Python-only", - "evidence": "reason-47" + "evidence": "reason-51" }, "test_where_filter_rewrite_only_changes_semantic_columns": { "category": "intentional-Python-only", - "evidence": "reason-48" + "evidence": "reason-52" } }, "tests/metrics/test_non_additive_guard.py": { @@ -14884,7 +16961,7 @@ "tests/metrics/test_retention.py": { "test_retention_aliased_entity_dimension": { "category": "real-gap", - "evidence": "reason-49" + "evidence": "reason-53" }, "test_retention_ambiguous_model_raises": { "category": "real-gap", @@ -14892,15 +16969,15 @@ }, "test_retention_day_granularity_results": { "category": "real-gap", - "evidence": "reason-50" + "evidence": "reason-54" }, "test_retention_default_activity_event": { "category": "real-gap", - "evidence": "reason-51" + "evidence": "reason-55" }, "test_retention_filter_with_model_qualified_sql_expr": { "category": "real-gap", - "evidence": "reason-52" + "evidence": "reason-56" }, "test_retention_graph_metric_does_not_bind_to_same_name_model_metric": { "category": "real-gap", @@ -14908,7 +16985,7 @@ }, "test_retention_metric_level_filters": { "category": "real-gap", - "evidence": "reason-53" + "evidence": "reason-57" }, "test_retention_mixed_with_regular_metric_raises": { "category": "real-gap", @@ -14916,19 +16993,19 @@ }, "test_retention_model_level_metric": { "category": null, - "evidence": "reason-54" + "evidence": "reason-58" }, "test_retention_model_placeholder_expansion_sql_model": { "category": "real-gap", - "evidence": "reason-55" + "evidence": "reason-59" }, "test_retention_model_placeholder_expansion_table_model": { "category": "real-gap", - "evidence": "reason-56" + "evidence": "reason-60" }, "test_retention_model_placeholder_in_time_dimension": { "category": "real-gap", - "evidence": "reason-57" + "evidence": "reason-61" }, "test_retention_multiple_retention_metrics_raises": { "category": "real-gap", @@ -14936,19 +17013,19 @@ }, "test_retention_offset_in_sql": { "category": "real-gap", - "evidence": "reason-58" + "evidence": "reason-62" }, "test_retention_periods_zero_raises_validation_error": { "category": null, - "evidence": "reason-59" + "evidence": "reason-63" }, "test_retention_sql_generation": { "category": "real-gap", - "evidence": "reason-60" + "evidence": "reason-64" }, "test_retention_week_granularity": { "category": "real-gap", - "evidence": "reason-61" + "evidence": "reason-65" } }, "tests/metrics/test_symmetric_aggs.py": { @@ -14966,11 +17043,11 @@ }, "test_fanout_join_detection_multiple_joins": { "category": "intentional-Python-only", - "evidence": "reason-62" + "evidence": "reason-66" }, "test_fanout_join_detection_single_join": { "category": "intentional-Python-only", - "evidence": "reason-62" + "evidence": "reason-66" }, "test_fanout_rejects_filtered_unqualified_constant_complete_sql": { "category": "real-gap", @@ -15008,7 +17085,7 @@ "tests/native_compat/test_basic_model_fixture.py": { "test_native_fixture_rewrites_semantic_sql": { "category": null, - "evidence": "reason-63" + "evidence": "reason-67" } }, "tests/queries/test_cross_model_calculated_grain.py": { @@ -15038,535 +17115,547 @@ "tests/queries/test_rust_query_rewriter_route.py": { "test_caller_context_reaches_rust_without_fallback": { "category": null, - "evidence": "reason-7" + "evidence": "reason-9" }, "test_cte_collision_binding_belongs_to_contextual_rust": { "category": null, - "evidence": "reason-7" + "evidence": "reason-9" }, "test_explicit_python_overrides_legacy_environment": { "category": "intentional-Python-only", - "evidence": "reason-64" + "evidence": "reason-68" }, "test_nonstrict_yardstick_validation_returns_original_sql": { "category": null, - "evidence": "reason-7" + "evidence": "reason-9" }, "test_only_typed_failures_allow_fallback": { "category": null, - "evidence": "reason-7" + "evidence": "reason-9" }, "test_plain_query_explanation_does_not_claim_rust_compilation": { "category": null, - "evidence": "reason-7" + "evidence": "reason-9" }, "test_query_rewriter_passes_unexpanded_graph_metric_to_rust": { "category": null, - "evidence": "reason-7" + "evidence": "reason-9" }, "test_rust_route_validates_empty_projection_and_source": { "category": null, - "evidence": "reason-7" + "evidence": "reason-9" }, "test_security_errors_never_fall_back": { "category": null, - "evidence": "reason-7" + "evidence": "reason-9" }, "test_set_operations_reach_rust_before_python_rewrite": { "category": null, - "evidence": "reason-7" + "evidence": "reason-9" }, "test_strict_rust_passes_yardstick_sql_to_rust": { "category": null, - "evidence": "reason-7" + "evidence": "reason-9" }, "test_strict_rust_preserves_query_only_validation": { "category": null, - "evidence": "reason-7" + "evidence": "reason-9" }, "test_unexpected_compiler_errors_propagate": { "category": null, - "evidence": "reason-7" + "evidence": "reason-9" } }, "tests/queries/test_rust_rewrite_preaggregation_options.py": { "test_rollup_preference_reaches_native_compiler": { "category": null, - "evidence": "reason-7" + "evidence": "reason-9" } }, "tests/queries/test_semantic_sql_planner.py": { "test_additive_total_union_uses_branch_preaggregations": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_aggregate_boundary_count_metric_rollup": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" + }, + "test_aggregate_boundary_keeps_unaliased_date_trunc_type": { + "category": "intentional-Python-only", + "evidence": "reason-69" + }, + "test_aggregate_boundary_keeps_written_unaliased_expressions": { + "category": "intentional-Python-only", + "evidence": "reason-69" }, "test_aggregate_boundary_min_max_metric_rollup": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_aggregate_boundary_rejects_mismatched_min_rollup": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_aggregate_boundary_rejects_non_additive_subtotals": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_aggregate_boundary_scalar_sum_rollup": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_aggregate_boundary_sum_rollup_drops_finer_dimension": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_aggregate_boundary_sum_rollup_uses_preaggregation": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" + }, + "test_aggregate_boundary_time_grain_rollup_day_to_month": { + "category": "intentional-Python-only", + "evidence": "reason-69" }, - "test_aggregate_boundary_time_grain_rollup_day_to_month": { + "test_aggregate_boundary_time_grain_rollup_keeps_date_trunc_type": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_aggregate_boundary_time_grain_rollup_rejects_unsafe_dimension_expressions": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_aggregate_boundary_time_grain_rollup_rejects_week_to_month": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_aggregate_boundary_time_grain_rollup_uses_daily_preaggregation": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_bi_corpus_acceptance_matrix_records_expected_routes": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_bi_corpus_rejection_matrix_records_expected_reasons": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_conditional_aggregate_pivot_rejects_count_distinct_metric": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_conditional_aggregate_pivot_rejects_unsafe_shapes": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_conditional_aggregate_pivot_uses_inner_preaggregation": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_conditional_aggregate_pivot_with_outer_row_filter_uses_preaggregation": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_count_distinct_exact_grain_preaggregation_candidate": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_count_distinct_exact_grain_preaggregation_executes": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_count_distinct_rollup_preaggregation_rejected": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_derived_table_semantic_island_under_outer_join_uses_preaggregation": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_dimension_distinct_remote_dimension_probe_flattens": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_dimension_distinct_slicer_preserves_null_filter_order_and_limit": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_dimension_distinct_slicer_supports_lower_like_search": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_dimension_distinct_wrapper_rejects_computed_projection": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_dimension_distinct_wrapper_rejects_hidden_filter": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_dimension_distinct_wrapper_rejects_metrics": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_dimension_only_distinct_wrapper_flattens": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_explain_cte_semantic_query_pushes_metric_filter_to_having": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_explain_direct_semantic_query_is_machine_testable": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_explain_fanout_preaggregation_candidate": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_explain_from_metrics_query_records_metrics_source": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_explain_lists_deterministic_candidate_plans": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_explain_multiple_semantic_ctes_reports_all_scopes": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_explain_passthrough_plain_sql_non_strict": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_explain_preaggregation_negative_eligibility_reasons": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_explain_root_semantic_query_preserves_user_cte": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_explain_rust_rewriter_route": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_explain_single_model_preaggregation_candidate": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_explain_window_metric_candidate": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_explain_yardstick_route": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_explanation_can_be_serialized_to_dict": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_external_bi_wrapper_corpus_positive_cases": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_external_cte_chain_corpus_flattens_linear_steps": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_fanout_join_key_preaggregation_rejects_missing_join_key_rollup": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_fanout_join_key_preaggregation_rejects_one_to_many_remote_dimension": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_fanout_join_key_preaggregation_rolls_orders_to_customer_region": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_fetch_first_topn_rewrites_through_limit_pushdown": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_global_row_number_between_rewrites_to_limit_offset": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_global_row_number_topn_rejects_partitioned_rank": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_global_row_number_topn_rewrites_to_order_limit": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_global_topn_rejects_outer_projection_of_rank_column": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_global_topn_rejects_rank_tie_semantics": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_grouping_sets_subtotal_preserves_outer_shape_and_uses_preaggregation": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_hex_style_union_preview_cte_preserves_outer_limit": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_join_key_preaggregation_joins_remote_sql_source": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_join_key_preaggregation_reads_local_time_dimension_from_grain_column": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_join_key_preaggregation_reads_ungrained_local_time_dimension_from_grain_column": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_linear_cte_chain_rejects_unsafe_steps": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_multiple_semantic_cte_islands_use_preaggregations": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_one_semantic_cte_island_preserves_plain_cte": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_outer_dimension_filter_pushdown_predicate_matrix": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_outer_order_limit_pushdown_matrix": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_positive_wrapper_rewrites_match_unoptimized_baselines": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_projection_width_reduction_keeps_count_distinct_key_state": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_projection_width_reduction_keeps_join_keys_for_joined_dimensions": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_projection_width_reduction_omits_unused_primary_key": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_qualify_row_number_topn_rewrites_to_order_limit": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_rewrite_simple_query_still_generates_same_sql": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_root_having_metric_filter_uses_preaggregation": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_root_semantic_query_allows_redundant_group_by_dimensions": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_root_semantic_query_preserves_having_metric_filter": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_root_semantic_query_rejects_unsupported_aggregate_clauses": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_root_unqualified_dimension_filter_is_qualified_for_pushdown": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_safe_outer_filter_pushdown_from_cte_wrapper": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_safe_outer_filter_pushdown_rewrites_to_direct_semantic": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_safe_outer_order_limit_offset_pushdown": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_same_grain_aggregate_wrapper_flattens_without_changing_grouping": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_same_grain_aggregate_wrapper_rejects_computed_projection": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_semantic_island_with_outer_dependency_is_rejected": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_set_operation_branch_order_by_is_rejected": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_set_operation_mismatched_branch_projection_is_rejected": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_set_operation_preserves_raw_branch": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_sql_server_top_n_rewrites_through_limit_pushdown": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_trivial_wrapper_uses_direct_semantic_plan": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_union_all_semantic_branches_use_preaggregations": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_wrapped_fanout_preserves_aliases_and_executes": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_wrapped_fanout_strategy_selection": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_wrapped_fanout_uses_child_preaggregations": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_wrapped_metric_filter_uses_preaggregation_having": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_wrapped_optimizer_negative_cases": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_wrapped_preaggregation_executes_against_materialized_table": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_wrapped_preaggregation_preserves_projection_alias_and_order": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_wrapped_preaggregation_route_selection": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_wrapped_window_metric_executes_against_baseline": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_wrapped_window_metric_uses_inner_preaggregation": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_wrapper_metric_filter_over_hidden_metric_stays_postprocess": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_wrapper_mixed_and_filter_splits_row_and_metric_stages": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_wrapper_mixed_or_filter_stays_postprocess": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_wrapper_projection_flattening_aliases_without_changing_grouping": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" }, "test_wrapper_window_metric_filter_stays_postprocess": { "category": "intentional-Python-only", - "evidence": "reason-65" + "evidence": "reason-69" } }, "tests/queries/test_sql_fallback_policy.py": { "test_non_strict_rewrite_does_not_hide_runtime_bug": { "category": "intentional-Python-only", - "evidence": "reason-64" + "evidence": "reason-68" }, "test_rust_backend_fallback_is_observable": { "category": null, - "evidence": "reason-7" + "evidence": "reason-9" }, "test_rust_rewrite_does_not_hide_api_contract_defect": { "category": null, - "evidence": "reason-7" + "evidence": "reason-9" } }, "tests/queries/test_sql_rewriter.py": { "test_dry_run_with_postprocess_subquery": { "category": null, - "evidence": "reason-66" + "evidence": "reason-70" }, "test_explicit_join_requires_complete_composite_relationship": { "category": null, - "evidence": "reason-67" + "evidence": "reason-71" }, "test_postprocess_zero_limit_and_offset_in_outer": { "category": null, - "evidence": "reason-68" + "evidence": "reason-72" }, "test_query_without_metrics_or_dimensions": { "category": null, - "evidence": "reason-69" + "evidence": "reason-73" }, "test_rewrite_less_than_relative_date": { "category": null, - "evidence": "reason-70" + "evidence": "reason-74" }, "test_rewrite_not_equal_relative_date": { "category": null, - "evidence": "reason-71" + "evidence": "reason-75" }, "test_rewriter_directly": { "category": null, - "evidence": "reason-72" + "evidence": "reason-76" }, "test_rewriter_invalid_sql": { "category": null, - "evidence": "reason-73" + "evidence": "reason-77" }, "test_rewriter_non_select_query": { "category": null, - "evidence": "reason-74" + "evidence": "reason-78" }, "test_rewriter_non_strict_mode": { "category": null, - "evidence": "reason-75" + "evidence": "reason-79" }, "test_select_star_without_from": { "category": null, - "evidence": "reason-76" + "evidence": "reason-80" }, "test_zero_limit_and_offset_are_preserved": { "category": null, - "evidence": "reason-77" + "evidence": "reason-81" } }, "tests/queries/test_temporal_sql_projection.py": { @@ -15582,69 +17671,69 @@ "tests/queries/test_view_generation.py": { "test_generate_view_creates_valid_sql": { "category": null, - "evidence": "reason-78" + "evidence": "reason-82" }, "test_join_view_against_other_tables": { "category": null, - "evidence": "reason-79" + "evidence": "reason-83" }, "test_view_can_be_queried": { "category": null, - "evidence": "reason-80" + "evidence": "reason-84" }, "test_view_name_sql_injection_rejected": { "category": null, - "evidence": "reason-81" + "evidence": "reason-85" }, "test_view_name_with_spaces_rejected": { "category": null, - "evidence": "reason-82" + "evidence": "reason-86" } }, "tests/queries/test_yardstick_query_rewriter.py": { "test_yardstick_default_alias_not_applied_with_non_semantic_join": { "category": null, - "evidence": "reason-83" + "evidence": "reason-87" }, "test_yardstick_expression_dimension_rewrite_uses_projection_alias": { "category": null, - "evidence": "reason-84" + "evidence": "reason-88" }, "test_yardstick_generate_series_rewrite_uses_subquery_source": { "category": null, - "evidence": "reason-85" + "evidence": "reason-89" } }, "tests/queries/test_yardstick_warnings.py": { "test_lost_filter_warns_and_can_be_an_error": { "category": null, - "evidence": "reason-86" + "evidence": "reason-90" }, "test_unknown_or_ambiguous_measure_is_a_binding_error": { "category": null, - "evidence": "reason-87" + "evidence": "reason-91" }, "test_wrapper_explanation_matches_rewrite_and_emits_warning": { "category": null, - "evidence": "reason-88" + "evidence": "reason-92" }, "test_yardstick_table_function_requires_single_literal_read": { "category": null, - "evidence": "reason-89" + "evidence": "reason-93" }, "test_yardstick_wrapper_cannot_bypass_semantic_security": { "category": null, - "evidence": "reason-90" + "evidence": "reason-94" } }, "tests/semantic_conformance/test_complete_filters.py": { "test_complete_row_count_generator_reuse_observes_graph_changes": { "category": "intentional-Python-only", - "evidence": "reason-91" + "evidence": "reason-95" }, "test_complete_row_count_role_queries_preserve_caller_caches": { "category": "intentional-Python-only", - "evidence": "reason-92" + "evidence": "reason-96" }, "test_tsql_complete_row_count_retains_existing_path": { "category": "real-gap", @@ -15654,73 +17743,73 @@ "tests/semantic_conformance/test_default_time_differential.py": { "test_skipped_model_defaults_remain_skipped_in_source_children": { "category": "real-gap", - "evidence": "reason-94" + "evidence": "reason-3" } }, "tests/semantic_conformance/test_filtered_count_family.py": { "test_owned_count_generator_sees_live_graph_changes": { "category": "intentional-Python-only", - "evidence": "reason-91" + "evidence": "reason-95" } }, "tests/semantic_conformance/test_parameterized_segments.py": { "test_control_values_remain_raw_while_outputs_are_typed": { "category": null, - "evidence": "reason-96" + "evidence": "reason-98" }, "test_segment_subqueries_keep_physical_scope": { "category": null, - "evidence": "reason-96" + "evidence": "reason-98" }, "test_simple_segment_parameters_preserve_defaults_and_values": { "category": null, - "evidence": "reason-96" + "evidence": "reason-98" }, "test_template_value_contexts_match_python": { "category": null, - "evidence": "reason-96" + "evidence": "reason-98" } }, "tests/semantic_conformance/test_policy_cli.py": { "test_security_failures_never_enter_python_fallback": { "category": null, - "evidence": "reason-44" + "evidence": "reason-48" }, "test_undeclared_filter_columns_are_validation_errors_without_fallback": { "category": null, - "evidence": "reason-44" + "evidence": "reason-48" } }, "tests/semantic_conformance/test_postgres_policies.py": { "test_postgres_public_paths_reach_rust_with_transport_syntax": { "category": null, - "evidence": "reason-7" + "evidence": "reason-9" } }, "tests/semantic_conformance/test_yardstick_source_dialects.py": { "test_public_rewriter_preserves_multi_statement_strictness": { "category": null, - "evidence": "reason-96" + "evidence": "reason-98" }, "test_source_current_modifier_uses_canonical_group_context": { "category": null, - "evidence": "reason-96" + "evidence": "reason-98" }, "test_source_date_functions_inside_where_modifier": { "category": null, - "evidence": "reason-96" + "evidence": "reason-98" }, "test_source_functions_and_quoted_all_dimensions": { "category": null, - "evidence": "reason-96" + "evidence": "reason-98" }, "test_source_modifier_literals_and_unicode_offsets": { "category": null, - "evidence": "reason-96" + "evidence": "reason-98" }, "test_table_function_inner_sql_keeps_authored_dialect": { "category": null, - "evidence": "reason-96" + "evidence": "reason-98" } }, "tests/templates/test_parameters.py": { @@ -15744,23 +17833,23 @@ "tests/test_bugfix_batch.py": { "TestConversionMetricDimensions::test_conversion_dimension_join_prevents_cross_group_leaking": { "category": "real-gap", - "evidence": "reason-97" + "evidence": "reason-99" }, "TestConversionMetricDimensions::test_conversion_with_derived_dimension_sql": { "category": "real-gap", - "evidence": "reason-98" + "evidence": "reason-100" }, "TestConversionMetricDimensions::test_conversion_with_dimension": { "category": "real-gap", - "evidence": "reason-99" + "evidence": "reason-101" }, "TestConversionMetricDimensions::test_conversion_with_time_granularity": { "category": "real-gap", - "evidence": "reason-100" + "evidence": "reason-102" }, "TestConversionMetricDimensions::test_conversion_without_dimensions_still_works": { "category": "real-gap", - "evidence": "reason-101" + "evidence": "reason-103" }, "TestDuplicateSegmentResolution::test_segment_not_double_applied": { "category": "real-gap", @@ -15768,7 +17857,7 @@ }, "TestFanoutAllHops::test_multi_hop_fanout_detected": { "category": "intentional-Python-only", - "evidence": "reason-102" + "evidence": "reason-104" }, "TestNullSafeJoin::test_join_condition_not_coalesce_equality": { "category": "real-gap", @@ -15778,234 +17867,528 @@ "category": "real-gap", "evidence": "reason-1" }, - "TestSharedFiltersOnOuterQuery::test_classify_filters_preserves_or_group_parens": { + "TestSharedFiltersOnOuterQuery::test_classify_filters_preserves_or_group_parens": { + "category": "intentional-Python-only", + "evidence": "reason-105" + }, + "TestSharedFiltersOnOuterQuery::test_compound_and_filter_decomposed_into_pushdowns": { + "category": "real-gap", + "evidence": "reason-1" + }, + "TestSharedFiltersOnOuterQuery::test_filter_rewrite_uses_ast": { + "category": "real-gap", + "evidence": "reason-1" + }, + "TestSharedFiltersOnOuterQuery::test_model_specific_filter_pushdown": { + "category": "real-gap", + "evidence": "reason-1" + }, + "TestSharedFiltersOnOuterQuery::test_or_group_parens_preserved_in_pushdown": { + "category": "real-gap", + "evidence": "reason-1" + } + }, + "tests/test_foreign_key_dimensions.py": { + "test_foreign_key_as_dimension_no_join": { + "category": null, + "evidence": "reason-106" + }, + "test_foreign_key_dimension_with_join": { + "category": null, + "evidence": "reason-107" + } + }, + "tests/test_performance.py": { + "test_simple_rewrite_performance": { + "category": "intentional-Python-only", + "evidence": "reason-108" + }, + "test_complex_rewrite_performance": { + "category": "intentional-Python-only", + "evidence": "reason-108" + }, + "test_sql_generation_performance": { + "category": "intentional-Python-only", + "evidence": "reason-108" + }, + "test_multi_join_generation_performance": { + "category": "intentional-Python-only", + "evidence": "reason-108" + }, + "test_filter_parsing_performance": { + "category": "intentional-Python-only", + "evidence": "reason-108" + }, + "test_query_rewriter_warm_vs_cold": { + "category": "intentional-Python-only", + "evidence": "reason-108" + }, + "test_parameter_substitution_performance": { + "category": "intentional-Python-only", + "evidence": "reason-108" + } + }, + "tests/test_query_fragment_boundary.py": { + "test_rewriter_cte_scope_does_not_authorize_structured_or_later_calls": { + "category": "real-gap", + "evidence": "reason-1" + }, + "test_cte_scope_allows_expression_plan_and_identifier_folding": { + "category": "real-gap", + "evidence": "reason-1" + } + }, + "tests/test_sql_generation_security.py": { + "test_conversion_invalid_entity_rejected": { + "category": "real-gap", + "evidence": "reason-1" + }, + "test_conversion_invalid_window_rejected": { + "category": "real-gap", + "evidence": "reason-1" + }, + "test_conversion_event_name_quotes_escaped": { + "category": "real-gap", + "evidence": "reason-1" + }, + "test_count_fanout_uses_column_reference": { + "category": null, + "evidence": "reason-109" + }, + "test_build_interval_duckdb": { + "category": "intentional-Python-only", + "evidence": "reason-110" + }, + "test_build_interval_bigquery": { + "category": "intentional-Python-only", + "evidence": "reason-110" + }, + "test_build_interval_postgres": { + "category": "intentional-Python-only", + "evidence": "reason-110" + } + }, + "tests/test_workbench_demo.py": { + "test_workbench_demo_starter_queries_execute": { + "category": "real-gap", + "evidence": "reason-1" + } + }, + "tests/widget/test_widget_examples.py": { + "test_auto_model_metrics_generate_without_dependency_errors": { + "category": null, + "evidence": "reason-111" + }, + "test_notebook_metric_sql_generates": { + "category": null, + "evidence": "reason-112" + } + } + }, + "explanations": { + "reason-1": "docs/rust-parity-helper-evidence.json#unresolved-public-helper-contracts: These direct Python helper assertions have no assertion-level native counterpart established by this audit. This is a coverage gap, not a claim that native behavior is defective. Limitation: Do not count shared Rust-selected success for these helpers as native execution evidence. Public engine replay or an independently asserted native contract is required to close each item.", + "reason-2": "Per-test adjudication below distinguishes replay coverage, private units, and unresolved behavioral coverage.", + "reason-3": "Direct helper behavioral coverage has no established replay counterpart; requires native coverage adjudication, not a confirmed Rust defect.", + "reason-4": "Explicit external database, network oracle, or integration environment gate.", + "reason-5": "Dependency availability gate; native Rust must be installed for acceptance.", + "reason-6": "OSI legacy adapter shim defaults to Python independently of --test-engine; separate backend override required.", + "reason-7": "Explicit LegacyOSIAdapter alias bypasses canonical native OSI adapter; legacy compatibility coverage needs separate Rust evidence.", + "reason-8": "Optional local dependency, artifact, fixture, or emulator compatibility gate.", + "reason-9": "Explicit use_rust_rewriter=True route in this test.", + "reason-10": "Explicit engine selection, legacy fallback, or routing contract.", + "reason-11": "Direct private implementation-unit calls: generator._model_needs_keyed_join_columns", + "reason-12": "docs/rust-parity-helper-evidence.json#nested-role-identity: origin$countries and destination$countries remain separately scoped join instances; native fixture asserts US/Canada and Canada/France independently. Counterparts: tests/semantic_conformance/test_relationship_role_parity.py::test_nested_country_paths_keep_parent_role_identity", + "reason-13": "Behavioral test explicitly pins Python; remove pin or establish equivalent Rust coverage.", + "reason-14": "docs/rust-parity-helper-evidence.json#timezone-routing: Timezone queries bypass UTC rollups; quote/space/backslash/newline injection attempts are rejected before SQL. Counterparts: tests/semantic_conformance/test_query_timezone_parity.py::test_timezone_bypasses_utc_rollup; tests/semantic_conformance/test_query_timezone_parity.py::test_timezone_rejects_invalid_characters", + "reason-15": "Direct private implementation-unit calls: SQLGenerator(g, dialect='bigquery', timezone='America/New_York')._date_trunc, SQLGenerator(g, dialect='mysql', timezone='UTC')._date_trunc, SQLGenerator(g, dialect='snowflake', timezone='America/New_York')._date_trunc, SQLGenerator(g, dialect='spark', timezone='America/New_York')._date_trunc", + "reason-16": "docs/rust-parity-helper-evidence.json#model-conversion-window: Model-local conversion metric selects distinct signup entities and counts purchases within an inclusive seven-day window; late purchases do not convert. Counterparts: tests/semantic_conformance/test_conversion_parity.py::test_unique_entities_and_inclusive_window Limitation: Python graph auto-registration bookkeeping remains Python-owned; the public native fixture tests model-local resolution and results.", + "reason-17": "docs/rust-parity-helper-evidence.json#timezone-period-lookup: Named dod/wow/mom/qoq/yoy map to calendar intervals without a declared grain; month result regression independently verifies sparse periods and category partitions. Counterparts: sqlctx-rs/src/sql/generator/temporal.rs::named_comparisons_have_calendar_intervals_without_declared_granularity; tests/semantic_conformance/test_feature_parity.py::test_named_calendar_comparison_without_declared_granularity Limitation: All five intervals have native unit assertions; the dual-engine result counterpart executes month specifically.", + "reason-18": "Deselected by default addopts; may additionally have dependency or behavioral skips.", + "reason-19": "Behavioral or emulator limitation; do not count the omitted contract as parity.", + "reason-20": "Unconditional or conditional behavioral omission requiring explicit review.", + "reason-21": "Python-only parameter selection: adjudicate behavioral coverage separately from private implementation contracts.", + "reason-22": "Connection contract delegated to the integration suite.", + "reason-23": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_conversion_metric: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-24": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_conversion_metric_backwards_compatible: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-25": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_conversion_metric_steps_and_base_event: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-26": "docs/rust-parity-helper-evidence.json#temporal-null-fill: Fill applies to final cumulative/comparison/offset-ratio result; empty/prior-missing periods use the declared default instead of feeding a filled base value into the temporal operation. Counterparts: tests/semantic_conformance/test_temporal_null_fill.py::test_cumulative_final_default_keeps_null_base_and_partitions; tests/semantic_conformance/test_temporal_null_fill.py::test_missing_prior_and_zero_denominator_fill_after_calculation; tests/semantic_conformance/test_temporal_null_fill.py::test_offset_ratio_default_applies_after_sparse_prior_division", + "reason-27": "docs/rust-parity-helper-evidence.json#null-default-dependencies: Model leaf defaults are used by direct, derived and ratio dependencies; null groups/empty aggregates retain explicit defaults. Counterparts: tests/semantic_conformance/test_null_fill.py::test_metric_result_and_dependency_defaults; tests/semantic_conformance/test_null_fill.py::test_filled_leaf_participates_in_cross_source_calculation", + "reason-28": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_filter_dimension_with_model_qualified_sql_expr: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-29": "docs/rust-parity-helper-evidence.json#sparse-month-comparison: Month comparison subtracts the matching prior calendar month within each category and yields null across a missing month. Counterparts: tests/semantic_conformance/test_feature_parity.py::test_sparse_comparison_uses_calendar_month_and_category", + "reason-30": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_conversion_2_steps_via_steps_list: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-31": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_conversion_funnel: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-32": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_chronological_order_enforced: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-33": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_expression_timestamp: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-34": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_model_name_prefix_step_predicates: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-35": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_model_placeholder_filter: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-36": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_model_placeholder_step_predicates: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-37": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_model_placeholder_timestamp: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-38": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_monotonic_counts: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-39": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_only_prior_step2_not_counted: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-40": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_or_step_with_filter: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-41": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_order_by_metric_name: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-42": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_qualified_filters: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-43": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_repeated_actions_valid_path: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-44": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_total_excludes_non_entrants: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-45": "docs/rust-parity-helper-evidence.json#cumulative-year-reset: Year-to-date window partitions on calendar year rather than retaining prior-year rows. Counterparts: sqlctx-rs/src/sql/generator/temporal.rs::cumulative_frames_preserve_groups_and_calendar_reset Limitation: Native counterpart asserts emitted calendar-year partition/frame; it is not a result-level duplicate of the original fixture.", + "reason-46": "docs/rust-parity-helper-evidence.json#cohort-group-results: Model-local inner count-distinct/HAVING cohort qualification preserves outer dimension/time-grain names; outer average reads qualified inner aggregate values, and reserved output dimensions are quoted. Counterparts: tests/semantic_conformance/test_cohort_parity.py::test_count_counts_qualified_inner_groups_including_null_entity; tests/semantic_conformance/test_cohort_parity.py::test_query_grouping_changes_inner_and_outer_grain; tests/semantic_conformance/test_cohort_parity.py::test_time_bucket_is_carried_through_to_outer_output; tests/semantic_conformance/test_cohort_parity.py::test_outer_aggregations_read_qualified_inner_values; tests/semantic_conformance/test_cohort_parity.py::test_reserved_output_dimension_is_quoted Limitation: Counterparts cover the same operations with independent synthetic populations; graph-owner inference is explicitly excluded from this mapping.", + "reason-47": "docs/rust-parity-helper-evidence.json#unowned-graph-cohort: Python infers the unique source model from the graph-level cohort entity without metric_owners. Rust strict graph scope requires an explicit cohort owner and rejects this valid Python shape. Counterparts: tests/semantic_conformance/test_cohort_parity.py::test_owned_graph_cohort_unsupported_shapes_remain_gated; sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Counterpart is negative evidence: mutation=unowned is intentionally rejected. SemanticLayer.add_metric does not supply an owner, and graph_to_semantic_input preserves that absence. Source-confirmed; live repro remains lead-owned.", + "reason-48": "Co-located engine-parametrized native/reference oracle; inspect test and Rust import.", + "reason-49": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.metrics.test_cumulative::test_cumulative_with_time_comparison]", + "reason-50": "Direct private implementation-unit calls: generator._add_where_filters_to_query, generator._split_where_having_filters, snowflake_generator._split_where_having_filters", + "reason-51": "Direct private implementation-unit calls: generator._split_where_having_filters", + "reason-52": "Direct private implementation-unit calls: generator._add_where_filters_to_query", + "reason-53": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_aliased_entity_dimension: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-54": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_day_granularity_results: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-55": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_default_activity_event: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-56": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_filter_with_model_qualified_sql_expr: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-57": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_metric_level_filters: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-58": "docs/rust-parity-helper-evidence.json#model-retention: Model-local retention executes with a fixed cohort/period/active_users/cohort_size/percentage schema. Counterparts: tests/semantic_conformance/test_retention_parity.py::test_first_cohort_sparse_periods_nulls_and_inactive_denominator", + "reason-59": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_model_placeholder_expansion_sql_model: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-60": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_model_placeholder_expansion_table_model: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-61": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_model_placeholder_in_time_dimension: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-62": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_offset_in_sql: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-63": "docs/rust-parity-helper-evidence.json#retention-period-validation: Zero retention periods are rejected instead of silently defaulting to 28. Counterparts: sqlctx-rs/src/sql/generator/retention.rs::retention_requires_valid_period_and_granularity", + "reason-64": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_sql_generation: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-65": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_week_granularity: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-66": "Direct private implementation-unit calls: generator._has_fanout_joins", + "reason-67": "docs/rust-parity-helper-evidence.json#shared-native-manifest-rewrite: Both harnesses load tests/native-fixtures/manifest.yml rewrite_queries and assert each sql_contains token after semantic rewrite. Counterparts: sqlctx-rs/tests/native_fixtures.rs::native_fixtures_load_and_compile Limitation: Compilation/token assertions only; this source test does not execute rewritten SQL.", + "reason-68": "docs/rust-parity-helper-evidence.json#legacy-rewriter-route: Explicit Python route override and monkeypatched Python _rewrite_python RuntimeError propagation test the legacy implementation contract, not a missing native semantic query feature.", + "reason-69": "Python optimizer plan/rule contract (module docstring); engine-selected SemanticLayer execution assertions remain active.", + "reason-70": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_dry_run_with_postprocess_subquery]", + "reason-71": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_explicit_join_requires_complete_composite_relationship]", + "reason-72": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_postprocess_zero_limit_and_offset_in_outer]", + "reason-73": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_query_without_metrics_or_dimensions]", + "reason-74": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_rewrite_less_than_relative_date]", + "reason-75": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_rewrite_not_equal_relative_date]", + "reason-76": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_rewriter_directly]", + "reason-77": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_rewriter_invalid_sql]", + "reason-78": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_rewriter_non_select_query]", + "reason-79": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_rewriter_non_strict_mode]", + "reason-80": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_select_star_without_from]", + "reason-81": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_zero_limit_and_offset_are_preserved]", + "reason-82": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.queries.test_view_generation::test_generate_view_creates_valid_sql]", + "reason-83": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.queries.test_view_generation::test_join_view_against_other_tables]", + "reason-84": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.queries.test_view_generation::test_view_can_be_queried]", + "reason-85": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.queries.test_view_generation::test_view_name_sql_injection_rejected]", + "reason-86": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.queries.test_view_generation::test_view_name_with_spaces_rejected]", + "reason-87": "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_default_alias_not_applied_with_non_semantic_join]", + "reason-88": "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_expression_dimension_rewrite_uses_projection_alias]", + "reason-89": "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_generate_series_rewrite_uses_subquery_source]", + "reason-90": "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_lost_filter_warns_and_can_be_an_error]", + "reason-91": "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_unknown_or_ambiguous_measure_is_a_binding_error]", + "reason-92": "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_wrapper_explanation_matches_rewrite_and_emits_warning]", + "reason-93": "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_table_function_requires_single_literal_read]", + "reason-94": "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_wrapper_cannot_bypass_semantic_security]", + "reason-95": "Python SQLGenerator object reuse and graph identity contract.", + "reason-96": "Python graph private cache identity and SQLGenerator non-mutation contract.", + "reason-97": "Engine-asymmetric contract: skips the Python parameter; Rust still runs. Not a Rust-default blocker by itself.", + "reason-98": "Engine-parametrized layer fixture and result/rows helper branch between Rust bridge and Python helper in this module.", + "reason-99": "docs/rust-parity-helper-evidence.json#unowned-tests-test_bugfix_batch.py-test_conversion_dimension_join_prevents_cross_group_leaking: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-100": "docs/rust-parity-helper-evidence.json#unowned-tests-test_bugfix_batch.py-test_conversion_with_derived_dimension_sql: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-101": "docs/rust-parity-helper-evidence.json#unowned-tests-test_bugfix_batch.py-test_conversion_with_dimension: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-102": "docs/rust-parity-helper-evidence.json#unowned-tests-test_bugfix_batch.py-test_conversion_with_time_granularity: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-103": "docs/rust-parity-helper-evidence.json#unowned-tests-test_bugfix_batch.py-test_conversion_without_dimensions_still_works: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", + "reason-104": "Direct private implementation-unit calls: gen._has_fanout_joins", + "reason-105": "Direct private implementation-unit calls: gen._classify_filters_for_pushdown, self._build_graph", + "reason-106": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.test_foreign_key_dimensions::test_foreign_key_as_dimension_no_join]", + "reason-107": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.test_foreign_key_dimensions::test_foreign_key_dimension_with_join]", + "reason-108": "docs/rust-parity-helper-evidence.json#python-helper-timings: Timing thresholds and warm-cache comparisons directly benchmark Python SQLGenerator/QueryRewriter objects; these are not correctness exclusions or proof of native performance.", + "reason-109": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.test_sql_generation_security::test_count_fanout_uses_column_reference]", + "reason-110": "Direct private implementation-unit calls: gen._build_interval", + "reason-111": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.widget.test_widget_examples::test_auto_model_metrics_generate_without_dependency_errors]", + "reason-112": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.widget.test_widget_examples::test_notebook_metric_sql_generates]" + }, + "execution_evidence": { + "label": "PR 409 review working tree based on 5ca50124, Python 3.13 / DuckDB 1.5.6 / rebuilt native engine. Full Rust shared lane before the final Python local-calculation and funnel DATE-expectation fixes: 11724 passed, 147 skipped, 2 failed. Both failures were the funnel DATE expectation; after repair its full module passed 45 tests. Final calculation follow-ups: 2913 conformance passes plus those two repaired assertions, 958 metric/query passes, and 520/520 generated inputs agreed.", + "testcases": 11873, + "skipped": 147, + "failures": 2, + "errors": 0, + "skip_reasons": { + "Existing native direct-call batch contract; public Python rejects strict batches": 2, + "Native boundary syntax contract; target-dialect result oracle is shared above": 5, + "Native effective-anchor routing regression": 2, + "Native input validation contract": 1, + "Native output-name collision contract": 1, + "Native rewrite boundary contract": 3, + "Native source-dialect literal contract": 12, + "Native subquery scope regression": 1, + "PostgreSQL adapter available, tested in integration tests": 1, + "PostgreSQL execution requires SQLCTX_TEST_POSTGRES_DSN": 44, + "PostgreSQL policy execution requires SQLCTX_TEST_POSTGRES_DSN": 36, + "Python joins physical keys; native computed-key identity has its own independent oracle": 1, + "Python reparses completed Redshift aggregates with its generic SQL parser": 3, + "Rust target emission; Python reparses Redshift using its generic parser": 3, + "Set SQLCTX_YARDSTICK_UPSTREAM_TESTS=1 to fetch and replay live upstream Yardstick tests": 2, + "Strict Rust compiler validation contract": 9, + "could not import 'anywidget': No module named 'anywidget'": 8, + "could not import 'textual': No module named 'textual'": 2, + "set SQLCTX_DAX_ONLINE_CONFORMANCE=1 to probe DAX Formatter": 11 + }, + "limitations": "JUnit does not enumerate deselected tests. Historical results do not validate current edits.", + "omissions_by_reason": { + "set SQLCTX_DAX_ONLINE_CONFORMANCE=1 to probe DAX Formatter": { + "category": "external-service", + "type": "pytest.skip", + "tests": [ + "tests.dax.test_online_conformance::test_stable_syntax_matches_dax_formatter[expression-=sumx(filter('Sales','Sales'[Amount]>100),'Sales'[Amount])]", + "tests.dax.test_online_conformance::test_stable_syntax_matches_dax_formatter[query-EVALUATE {(1,2),(3,4)}]", + "tests.dax.test_online_conformance::test_stable_syntax_matches_dax_formatter[query-DEFINE MEASURE 'S'[M]=SUM('S'[A]) VAR threshold=10 EVALUATE ROW(\"m\",[M])]", + "tests.dax.test_online_conformance::test_stable_syntax_matches_dax_formatter[query-DEFINE FUNCTION myUdf=(x:NUMERIC)=>x EVALUATE {myUdf(1)}]", + "tests.dax.test_online_conformance::test_stable_syntax_matches_dax_formatter[query-DEFINE TABLE data=ROW(\"Year\",2000,\"IsTotal\",FALSE()) WITH VISUAL SHAPE AXIS ROWS GROUP [Year] TOTAL [IsTotal] ORDER BY [Year] DENSIFY \"IsDensified\" EVALUATE data]", + "tests.dax.test_online_conformance::test_stable_syntax_is_accepted_by_dax_formatter[=dt\"2020-12-15T12:30:59\"]", + "tests.dax.test_online_conformance::test_stable_syntax_is_accepted_by_dax_formatter[EVALUATE DATATABLE(\"A\", INTEGER, \"B\", STRING, {{1, \"x\"}, {2,}})]", + "tests.dax.test_online_conformance::test_stable_syntax_is_accepted_by_dax_formatter[EVALUATE FILTER('Product', ('Product'[Color], 'Product'[Brand]) IN {(\"Red\", \"Contoso\")})]", + "tests.dax.test_online_conformance::test_stable_syntax_is_accepted_by_dax_formatter[\\n DEFINE\\n TABLE data = ROW(\"Year\", 2000, \"IsTotal\", FALSE())\\n WITH VISUAL SHAPE\\n AXIS ROWS GROUP [Year] TOTAL [IsTotal] ORDER BY [Year]\\n DENSIFY \"IsDensified\"\\n EVALUATE data\\n ]", + "tests.dax.test_online_conformance::test_udf_defaults_are_known_sqlbi_lag", + "tests.dax.test_online_conformance::test_local_semantic_checks_are_stricter_than_formatter" + ] + }, + "PostgreSQL adapter available, tested in integration tests": { + "category": "external-service", + "type": "pytest.skip", + "tests": [ + "tests.db.test_semantic_layer_adapters::test_postgres_url_recognized" + ] + }, + "Set SQLCTX_YARDSTICK_UPSTREAM_TESTS=1 to fetch and replay live upstream Yardstick tests": { + "category": "external-service", + "type": "pytest.skip", + "tests": [ + "tests.queries.test_yardstick_measures_replay::test_yardstick_upstream_create_view_definitions", + "tests.queries.test_yardstick_measures_replay::test_yardstick_upstream_sql_replay" + ] + }, + "Python reparses completed Redshift aggregates with its generic SQL parser": { + "category": "real-gap", + "type": "pytest.skip", + "tests": [ + "tests.semantic_conformance.test_approximate_distinct::test_approximate_dialect_rendering_and_population_results[python-complete-redshift-APPROXIMATE COUNT]", + "tests.semantic_conformance.test_approximate_distinct::test_approximate_dialect_rendering_and_population_results[python-complete_filtered-redshift-APPROXIMATE COUNT]", + "tests.semantic_conformance.test_approximate_distinct::test_approximate_dialect_rendering_and_population_results[python-nested_complete-redshift-APPROXIMATE COUNT]" + ] + }, + "Rust target emission; Python reparses Redshift using its generic parser": { + "category": "real-gap", + "type": "pytest.skip", + "tests": [ + "tests.semantic_conformance.test_approximate_distinct::test_redshift_nested_approximate_expressions_use_independent_parser[python-ROUND(COALESCE(APPROX_COUNT_DISTINCT(user_id), 0), 0)]", + "tests.semantic_conformance.test_approximate_distinct::test_redshift_nested_approximate_expressions_use_independent_parser[python-GREATEST(APPROX_COUNT_DISTINCT(user_id), 0)]", + "tests.semantic_conformance.test_approximate_distinct::test_redshift_nested_approximate_expressions_use_independent_parser[python-NULLIF(APPROX_COUNT_DISTINCT(user_id), 0)]" + ] + }, + "PostgreSQL execution requires SQLCTX_TEST_POSTGRES_DSN": { + "category": "external-service", + "type": "pytest.skip", + "tests": [ + "tests.semantic_conformance.test_complete_filters_postgres::test_complete_filters_preserve_identifier_identity[SUM(orders.Amount)-orders.Amount > 0-5]", + "tests.semantic_conformance.test_complete_filters_postgres::test_complete_filters_preserve_identifier_identity[SUM(orders.\"Amount\")-orders.\"Amount\" > 0-30]", + "tests.semantic_conformance.test_complete_filters_postgres::test_complete_filters_preserve_identifier_identity[AVG(orders.Amount)-orders.Amount > 0-2.5]", + "tests.semantic_conformance.test_complete_filters_postgres::test_complete_filters_preserve_identifier_identity[AVG(orders.\"Amount\")-orders.\"Amount\" > 0-15]", + "tests.semantic_conformance.test_complete_filters_postgres::test_complete_filters_preserve_identifier_identity[COUNT(DISTINCT orders.\"Amount\")-orders.\"Amount\" > 0-2]", + "tests.semantic_conformance.test_complete_filters_postgres::test_complete_filters_preserve_identifier_identity[COUNT(DISTINCT orders.Amount)-orders.Amount > 0-2]", + "tests.semantic_conformance.test_complete_filters_postgres::test_complete_filters_preserve_identifier_identity[SUM(orders.Amount)-orders.Amount > 0 AND orders.\"Amount\" = 10 AND orders.label = 'orders.Amount'-2]", + "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_float_fanout_average_preserves_values[none]", + "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_float_fanout_average_preserves_values[average]", + "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_float_fanout_average_preserves_values[sum]", + "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_complete_row_count[grouped]", + "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_complete_row_count[no_matches]", + "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_complete_row_count[empty]", + "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_owned_count_family[grouped-model]", + "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_owned_count_family[grouped-graph]", + "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_owned_count_family[empty-model]", + "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_owned_count_family[empty-graph]", + "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_owned_count_family[no_matches-model]", + "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_owned_count_family[no_matches-graph]", + "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_owned_count_family[fanout-model]", + "tests.semantic_conformance.test_complete_filters_postgres::test_postgres_filtered_owned_count_family[fanout-graph]", + "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[False-price * qty - COALESCE(rebate, 0)-expected0-model]", + "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[False-price * qty - COALESCE(rebate, 0)-expected0-graph]", + "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[False-COALESCE(price * qty, 7)-expected1-model]", + "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[False-COALESCE(price * qty, 7)-expected1-graph]", + "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[False-CASE WHEN qty > 0 THEN price * qty ELSE 9 END-expected2-model]", + "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[False-CASE WHEN qty > 0 THEN price * qty ELSE 9 END-expected2-graph]", + "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[True-price * qty - COALESCE(rebate, 0)-expected0-model]", + "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[True-price * qty - COALESCE(rebate, 0)-expected0-graph]", + "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[True-COALESCE(price * qty, 7)-expected1-model]", + "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[True-COALESCE(price * qty, 7)-expected1-graph]", + "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[True-CASE WHEN qty > 0 THEN price * qty ELSE 9 END-expected2-model]", + "tests.semantic_conformance.test_filtered_row_expressions::test_postgres_filtered_row_expression_oracles[True-CASE WHEN qty > 0 THEN price * qty ELSE 9 END-expected2-graph]", + "tests.semantic_conformance.test_rollup_reconstruction::test_postgres_rollup_reconstruction_executes[direct]", + "tests.semantic_conformance.test_rollup_reconstruction::test_postgres_rollup_reconstruction_executes[join]", + "tests.semantic_conformance.test_rollup_reconstruction::test_postgres_rollup_reconstruction_executes[lambda]", + "tests.semantic_conformance.test_selected_table_calculations::test_postgres_calculation_results_match_processor[python-population0]", + "tests.semantic_conformance.test_selected_table_calculations::test_postgres_calculation_results_match_processor[python-population1]", + "tests.semantic_conformance.test_selected_table_calculations::test_postgres_calculation_results_match_processor[python-population2]", + "tests.semantic_conformance.test_selected_table_calculations::test_postgres_calculation_results_match_processor[python-population3]", + "tests.semantic_conformance.test_selected_table_calculations::test_postgres_calculation_results_match_processor[rust-population0]", + "tests.semantic_conformance.test_selected_table_calculations::test_postgres_calculation_results_match_processor[rust-population1]", + "tests.semantic_conformance.test_selected_table_calculations::test_postgres_calculation_results_match_processor[rust-population2]", + "tests.semantic_conformance.test_selected_table_calculations::test_postgres_calculation_results_match_processor[rust-population3]" + ] + }, + "Native boundary syntax contract; target-dialect result oracle is shared above": { "category": "intentional-Python-only", - "evidence": "reason-103" - }, - "TestSharedFiltersOnOuterQuery::test_compound_and_filter_decomposed_into_pushdowns": { - "category": "real-gap", - "evidence": "reason-1" - }, - "TestSharedFiltersOnOuterQuery::test_filter_rewrite_uses_ast": { - "category": "real-gap", - "evidence": "reason-1" - }, - "TestSharedFiltersOnOuterQuery::test_model_specific_filter_pushdown": { - "category": "real-gap", - "evidence": "reason-1" - }, - "TestSharedFiltersOnOuterQuery::test_or_group_parens_preserved_in_pushdown": { - "category": "real-gap", - "evidence": "reason-1" - } - }, - "tests/test_foreign_key_dimensions.py": { - "test_foreign_key_as_dimension_no_join": { - "category": null, - "evidence": "reason-104" + "type": "pytest.skip", + "tests": [ + "tests.semantic_conformance.test_dialect_boundary::test_native_declared_graph_and_query_syntax[python-bigquery-IFNULL(`amount`, 0)-`orders`.`tenant` = 1-`orders`.`label` DESC NULLS LAST]", + "tests.semantic_conformance.test_dialect_boundary::test_native_declared_graph_and_query_syntax[python-mysql-IFNULL(`amount`, 0)-`orders`.`tenant` = 1-`orders`.`label` DESC]", + "tests.semantic_conformance.test_dialect_boundary::test_native_declared_graph_and_query_syntax[python-tsql-ISNULL([amount], 0)-[orders].[tenant] = 1-[orders].[label] DESC]", + "tests.semantic_conformance.test_dialect_boundary::test_native_declared_graph_and_query_syntax[python-snowflake-COALESCE(\"amount\", 0)-\"orders\".\"tenant\" = 1-\"orders\".\"label\" DESC NULLS LAST]", + "tests.semantic_conformance.test_dialect_boundary::test_native_declared_graph_and_query_syntax[python-postgres-COALESCE(\"amount\", 0)-\"orders\".\"tenant\" = 1-\"orders\".\"label\" DESC NULLS LAST]" + ] }, - "test_foreign_key_dimension_with_join": { - "category": null, - "evidence": "reason-105" - } - }, - "tests/test_performance.py": { - "test_simple_rewrite_performance": { + "Native rewrite boundary contract": { "category": "intentional-Python-only", - "evidence": "reason-106" + "type": "pytest.skip", + "tests": [ + "tests.semantic_conformance.test_dialect_boundary::test_native_rewrite_syntax_and_policy_context[python-bigquery-`]", + "tests.semantic_conformance.test_dialect_boundary::test_native_rewrite_syntax_and_policy_context[python-mysql-`]", + "tests.semantic_conformance.test_dialect_boundary::test_native_rewrite_syntax_and_policy_context[python-postgres-\"]" + ] }, - "test_complex_rewrite_performance": { + "Native input validation contract": { "category": "intentional-Python-only", - "evidence": "reason-106" + "type": "pytest.skip", + "tests": [ + "tests.semantic_conformance.test_dialect_boundary::test_native_fragment_framing_and_source_snapshot[python]" + ] }, - "test_sql_generation_performance": { + "Native source-dialect literal contract": { "category": "intentional-Python-only", - "evidence": "reason-106" + "type": "pytest.skip", + "tests": [ + "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-a\\\\b-mysql]", + "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-a\\\\b-bigquery]", + "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-a\\\\b-snowflake]", + "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-a\\\\b-spark]", + "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-a\\\\' OR 1=1 ---mysql]", + "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-a\\\\' OR 1=1 ---bigquery]", + "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-a\\\\' OR 1=1 ---snowflake]", + "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-a\\\\' OR 1=1 ---spark]", + "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-O'Brien-mysql]", + "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-O'Brien-bigquery]", + "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-O'Brien-snowflake]", + "tests.semantic_conformance.test_dialect_boundary::test_source_dialect_preserves_typed_policy_and_parameter_values[python-O'Brien-spark]" + ] }, - "test_multi_join_generation_performance": { - "category": "intentional-Python-only", - "evidence": "reason-106" + "PostgreSQL policy execution requires SQLCTX_TEST_POSTGRES_DSN": { + "category": "external-service", + "type": "pytest.skip", + "tests": [ + "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[alice-True-10-compile]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[alice-True-10-rewrite]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[O'Brien-True-7-compile]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[O'Brien-True-7-rewrite]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[x' OR '1'='1-True-11-compile]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[x' OR '1'='1-True-11-rewrite]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[back\\\\slash' OR TRUE ---True-13-compile]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[back\\\\slash' OR TRUE ---True-13-rewrite]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[None-False-17-compile]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_preserves_typed_policy_literals_and_exact_population[None-False-17-rewrite]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_policy_denial_produces_no_sql[None-compile]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_policy_denial_produces_no_sql[None-rewrite]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_policy_denial_produces_no_sql[attributes1-compile]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_policy_denial_produces_no_sql[attributes1-rewrite]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_policy_denial_produces_no_sql[attributes2-compile]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_policy_denial_produces_no_sql[attributes2-rewrite]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_policy_denial_produces_no_sql[attributes3-compile]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_policy_denial_produces_no_sql[attributes3-rewrite]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_visibility_is_enforced_only_when_requested[compile]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_visibility_is_enforced_only_when_requested[rewrite]", + "tests.semantic_conformance.test_postgres_policies::test_other_policy_output_dialects_preserve_population[compile]", + "tests.semantic_conformance.test_postgres_policies::test_other_policy_output_dialects_preserve_population[rewrite]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_translates_year_in_policy_and_invariant[compile]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_translates_year_in_policy_and_invariant[rewrite]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_date_diff_policy_is_not_claimed_equivalent[compile]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_date_diff_policy_is_not_claimed_equivalent[rewrite]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_public_paths_reach_rust_with_transport_syntax[compile]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_public_paths_reach_rust_with_transport_syntax[query]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_public_paths_reach_rust_with_transport_syntax[sql]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_public_paths_reach_rust_with_transport_syntax[rewriter]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_public_denial_does_not_fall_back[compile]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_public_denial_does_not_fall_back[sql]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_transport_normalizes_declared_graph_dialect", + "tests.semantic_conformance.test_postgres_policies::test_explicit_postgres_graph_input_preserves_policy_results", + "tests.semantic_conformance.test_postgres_policies::test_postgres_public_null_ordering_matches_adapter[query]", + "tests.semantic_conformance.test_postgres_policies::test_postgres_public_null_ordering_matches_adapter[sql]" + ] }, - "test_filter_parsing_performance": { + "Native subquery scope regression": { "category": "intentional-Python-only", - "evidence": "reason-106" + "type": "pytest.skip", + "tests": [ + "tests.semantic_conformance.test_rewriter_ci_regressions::test_subquery_local_alias_can_shadow_outer_semantic_source[python]" + ] }, - "test_query_rewriter_warm_vs_cold": { + "Native output-name collision contract": { "category": "intentional-Python-only", - "evidence": "reason-106" + "type": "pytest.skip", + "tests": [ + "tests.semantic_conformance.test_rollup_reconstruction::test_colliding_join_dimension_outputs_keep_raw_contract[python]" + ] }, - "test_parameter_substitution_performance": { + "Native effective-anchor routing regression": { "category": "intentional-Python-only", - "evidence": "reason-106" - } - }, - "tests/test_query_fragment_boundary.py": { - "test_rewriter_cte_scope_does_not_authorize_structured_or_later_calls": { - "category": "real-gap", - "evidence": "reason-1" - }, - "test_cte_scope_allows_expression_plan_and_identifier_folding": { - "category": "real-gap", - "evidence": "reason-1" - } - }, - "tests/test_sql_generation_security.py": { - "test_conversion_invalid_entity_rejected": { - "category": "real-gap", - "evidence": "reason-1" - }, - "test_conversion_invalid_window_rejected": { - "category": "real-gap", - "evidence": "reason-1" + "type": "pytest.skip", + "tests": [ + "tests.semantic_conformance.test_rollup_reconstruction::test_join_rollup_preserves_local_and_role_source_population[python-local-first]", + "tests.semantic_conformance.test_rollup_reconstruction::test_join_rollup_preserves_local_and_role_source_population[python-role-owner]" + ] }, - "test_conversion_event_name_quotes_escaped": { + "Python joins physical keys; native computed-key identity has its own independent oracle": { "category": "real-gap", - "evidence": "reason-1" - }, - "test_count_fanout_uses_column_reference": { - "category": null, - "evidence": "reason-107" + "type": "pytest.skip", + "tests": [ + "tests.semantic_conformance.test_time_key_projection::test_time_identity_stays_unbucketed_for_join_and_fanout[python]" + ] }, - "test_build_interval_duckdb": { + "Strict Rust compiler validation contract": { "category": "intentional-Python-only", - "evidence": "reason-108" + "type": "pytest.skip", + "tests": [ + "tests.semantic_conformance.test_window_output_parity::test_window_dependency_cycles_return_validation_errors[python-references0]", + "tests.semantic_conformance.test_window_output_parity::test_window_dependency_cycles_return_validation_errors[python-references1]", + "tests.semantic_conformance.test_window_output_parity::test_quoted_output_expression_is_generated_for_bigquery[python]", + "tests.semantic_conformance.test_window_output_parity::test_graph_window_rejects_missing_or_ambiguous_period_metric[python-missing]", + "tests.semantic_conformance.test_window_output_parity::test_graph_window_rejects_missing_or_ambiguous_period_metric[python-daily_amount]", + "tests.semantic_conformance.test_window_output_parity::test_scalar_window_expression_is_typed_unsupported[python-base.daily_amount]", + "tests.semantic_conformance.test_window_output_parity::test_scalar_window_expression_is_typed_unsupported[python-base.daily_amount + 1]", + "tests.semantic_conformance.test_window_output_parity::test_scalar_window_expression_is_typed_unsupported[python-SUM(base.daily_amount) + 1]", + "tests.semantic_conformance.test_window_output_parity::test_scalar_window_expression_is_typed_unsupported[python-ABS(base.daily_amount)]" + ] }, - "test_build_interval_bigquery": { + "Existing native direct-call batch contract; public Python rejects strict batches": { "category": "intentional-Python-only", - "evidence": "reason-108" + "type": "pytest.skip", + "tests": [ + "tests.semantic_conformance.test_yardstick_source_dialects::test_native_ordinary_statement_batches_retain_both_results[python-bigquery-`]", + "tests.semantic_conformance.test_yardstick_source_dialects::test_native_ordinary_statement_batches_retain_both_results[python-snowflake-\"]" + ] }, - "test_build_interval_postgres": { - "category": "intentional-Python-only", - "evidence": "reason-108" - } - }, - "tests/test_workbench_demo.py": { - "test_workbench_demo_starter_queries_execute": { - "category": "real-gap", - "evidence": "reason-1" - } - }, - "tests/widget/test_widget_examples.py": { - "test_auto_model_metrics_generate_without_dependency_errors": { - "category": null, - "evidence": "reason-109" + "could not import 'textual': No module named 'textual'": { + "category": "optional-host", + "type": "pytest.skip", + "tests": [ + "tests.test_adapter_integration.TestWorkbenchAdapterIntegration::test_workbench_command_wiring", + "tests.test_cli_commands::test_workbench_calls_runner" + ] }, - "test_notebook_metric_sql_generates": { - "category": null, - "evidence": "reason-110" + "could not import 'anywidget': No module named 'anywidget'": { + "category": "optional-host", + "type": "pytest.skip", + "tests": [ + "tests.test_adapter_integration.TestWidgetAdapterIntegration::test_widget_generator_uses_layer_dialect", + "tests.test_adapter_integration.TestWidgetAdapterIntegration::test_widget_date_range_query_handles_qualified_table", + "tests.test_adapter_integration.TestWidgetAdapterIntegration::test_widget_sets_time_series_column_in_config", + "tests.test_adapter_integration.TestWidgetAdapterIntegration::test_widget_binary_transport_populates_binary_traits", + "tests.test_adapter_integration.TestWidgetAdapterIntegration::test_widget_uses_adapter_in_layer_mode", + "tests.test_adapter_integration.TestWidgetAdapterIntegration::test_widget_execute_routes_through_adapter", + "tests.test_adapter_integration.TestWidgetAdapterIntegration::test_widget_dataframe_mode_uses_raw_connection", + "tests.test_adapter_integration.TestWidgetAdapterIntegration::test_widget_execute_arrow_uses_fetch_record_batch" + ] } } - }, - "explanations": { - "reason-1": "docs/rust-parity-helper-evidence.json#unresolved-public-helper-contracts: These direct Python helper assertions have no assertion-level native counterpart established by this audit. This is a coverage gap, not a claim that native behavior is defective. Limitation: Do not count shared Rust-selected success for these helpers as native execution evidence. Public engine replay or an independently asserted native contract is required to close each item.", - "reason-2": "Per-test adjudication below distinguishes replay coverage, private units, and unresolved behavioral coverage.", - "reason-3": "OSI legacy adapter shim defaults to Python independently of --test-engine; separate backend override required.", - "reason-4": "Dependency availability gate; native Rust must be installed for acceptance.", - "reason-5": "Explicit LegacyOSIAdapter alias bypasses canonical native OSI adapter; legacy compatibility coverage needs separate Rust evidence.", - "reason-6": "Optional local dependency, artifact, fixture, or emulator compatibility gate.", - "reason-7": "Explicit use_rust_rewriter=True route in this test.", - "reason-8": "Explicit engine selection, legacy fallback, or routing contract.", - "reason-9": "Direct private implementation-unit calls: generator._model_needs_keyed_join_columns", - "reason-10": "docs/rust-parity-helper-evidence.json#nested-role-identity: origin$countries and destination$countries remain separately scoped join instances; native fixture asserts US/Canada and Canada/France independently. Counterparts: tests/semantic_conformance/test_relationship_role_parity.py::test_nested_country_paths_keep_parent_role_identity", - "reason-11": "docs/rust-parity-helper-evidence.json#timezone-routing: Timezone queries bypass UTC rollups; quote/space/backslash/newline injection attempts are rejected before SQL. Counterparts: tests/semantic_conformance/test_query_timezone_parity.py::test_timezone_bypasses_utc_rollup; tests/semantic_conformance/test_query_timezone_parity.py::test_timezone_rejects_invalid_characters", - "reason-12": "Direct private implementation-unit calls: SQLGenerator(g, dialect='bigquery', timezone='America/New_York')._date_trunc, SQLGenerator(g, dialect='mysql', timezone='UTC')._date_trunc, SQLGenerator(g, dialect='snowflake', timezone='America/New_York')._date_trunc, SQLGenerator(g, dialect='spark', timezone='America/New_York')._date_trunc", - "reason-13": "docs/rust-parity-helper-evidence.json#model-conversion-window: Model-local conversion metric selects distinct signup entities and counts purchases within an inclusive seven-day window; late purchases do not convert. Counterparts: tests/semantic_conformance/test_conversion_parity.py::test_unique_entities_and_inclusive_window Limitation: Python graph auto-registration bookkeeping remains Python-owned; the public native fixture tests model-local resolution and results.", - "reason-14": "docs/rust-parity-helper-evidence.json#timezone-period-lookup: Named dod/wow/mom/qoq/yoy map to calendar intervals without a declared grain; month result regression independently verifies sparse periods and category partitions. Counterparts: sqlctx-rs/src/sql/generator/temporal.rs::named_comparisons_have_calendar_intervals_without_declared_granularity; tests/semantic_conformance/test_feature_parity.py::test_named_calendar_comparison_without_declared_granularity Limitation: All five intervals have native unit assertions; the dual-engine result counterpart executes month specifically.", - "reason-15": "Explicit external database, network oracle, or integration environment gate.", - "reason-16": "Deselected by default addopts; may additionally have dependency or behavioral skips.", - "reason-17": "Behavioral or emulator limitation; do not count the omitted contract as parity.", - "reason-18": "Connection contract delegated to the integration suite.", - "reason-19": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_conversion_metric: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-20": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_conversion_metric_backwards_compatible: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-21": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_conversion_metric_steps_and_base_event: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-22": "docs/rust-parity-helper-evidence.json#temporal-null-fill: Fill applies to final cumulative/comparison/offset-ratio result; empty/prior-missing periods use the declared default instead of feeding a filled base value into the temporal operation. Counterparts: tests/semantic_conformance/test_temporal_null_fill.py::test_cumulative_final_default_keeps_null_base_and_partitions; tests/semantic_conformance/test_temporal_null_fill.py::test_missing_prior_and_zero_denominator_fill_after_calculation; tests/semantic_conformance/test_temporal_null_fill.py::test_offset_ratio_default_applies_after_sparse_prior_division", - "reason-23": "docs/rust-parity-helper-evidence.json#null-default-dependencies: Model leaf defaults are used by direct, derived and ratio dependencies; null groups/empty aggregates retain explicit defaults. Counterparts: tests/semantic_conformance/test_null_fill.py::test_metric_result_and_dependency_defaults; tests/semantic_conformance/test_null_fill.py::test_filled_leaf_participates_in_cross_source_calculation", - "reason-24": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_filter_dimension_with_model_qualified_sql_expr: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-25": "docs/rust-parity-helper-evidence.json#sparse-month-comparison: Month comparison subtracts the matching prior calendar month within each category and yields null across a missing month. Counterparts: tests/semantic_conformance/test_feature_parity.py::test_sparse_comparison_uses_calendar_month_and_category", - "reason-26": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_conversion_2_steps_via_steps_list: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-27": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_conversion_funnel: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-28": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_chronological_order_enforced: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-29": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_expression_timestamp: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-30": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_model_name_prefix_step_predicates: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-31": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_model_placeholder_filter: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-32": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_model_placeholder_step_predicates: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-33": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_model_placeholder_timestamp: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-34": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_monotonic_counts: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-35": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_only_prior_step2_not_counted: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-36": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_or_step_with_filter: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-37": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_order_by_metric_name: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-38": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_qualified_filters: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-39": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_repeated_actions_valid_path: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-40": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_advanced.py-test_multistep_funnel_total_excludes_non_entrants: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-41": "docs/rust-parity-helper-evidence.json#cumulative-year-reset: Year-to-date window partitions on calendar year rather than retaining prior-year rows. Counterparts: sqlctx-rs/src/sql/generator/temporal.rs::cumulative_frames_preserve_groups_and_calendar_reset Limitation: Native counterpart asserts emitted calendar-year partition/frame; it is not a result-level duplicate of the original fixture.", - "reason-42": "docs/rust-parity-helper-evidence.json#cohort-group-results: Model-local inner count-distinct/HAVING cohort qualification preserves outer dimension/time-grain names; outer average reads qualified inner aggregate values, and reserved output dimensions are quoted. Counterparts: tests/semantic_conformance/test_cohort_parity.py::test_count_counts_qualified_inner_groups_including_null_entity; tests/semantic_conformance/test_cohort_parity.py::test_query_grouping_changes_inner_and_outer_grain; tests/semantic_conformance/test_cohort_parity.py::test_time_bucket_is_carried_through_to_outer_output; tests/semantic_conformance/test_cohort_parity.py::test_outer_aggregations_read_qualified_inner_values; tests/semantic_conformance/test_cohort_parity.py::test_reserved_output_dimension_is_quoted Limitation: Counterparts cover the same operations with independent synthetic populations; graph-owner inference is explicitly excluded from this mapping.", - "reason-43": "docs/rust-parity-helper-evidence.json#unowned-graph-cohort: Python infers the unique source model from the graph-level cohort entity without metric_owners. Rust strict graph scope requires an explicit cohort owner and rejects this valid Python shape. Counterparts: tests/semantic_conformance/test_cohort_parity.py::test_owned_graph_cohort_unsupported_shapes_remain_gated; sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Counterpart is negative evidence: mutation=unowned is intentionally rejected. SemanticLayer.add_metric does not supply an owner, and graph_to_semantic_input preserves that absence. Source-confirmed; live repro remains lead-owned.", - "reason-44": "Co-located engine-parametrized native/reference oracle; inspect test and Rust import.", - "reason-45": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.metrics.test_cumulative::test_cumulative_with_time_comparison]", - "reason-46": "Direct private implementation-unit calls: generator._add_where_filters_to_query, generator._split_where_having_filters, snowflake_generator._split_where_having_filters", - "reason-47": "Direct private implementation-unit calls: generator._split_where_having_filters", - "reason-48": "Direct private implementation-unit calls: generator._add_where_filters_to_query", - "reason-49": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_aliased_entity_dimension: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-50": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_day_granularity_results: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-51": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_default_activity_event: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-52": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_filter_with_model_qualified_sql_expr: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-53": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_metric_level_filters: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-54": "docs/rust-parity-helper-evidence.json#model-retention: Model-local retention executes with a fixed cohort/period/active_users/cohort_size/percentage schema. Counterparts: tests/semantic_conformance/test_retention_parity.py::test_first_cohort_sparse_periods_nulls_and_inactive_denominator", - "reason-55": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_model_placeholder_expansion_sql_model: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-56": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_model_placeholder_expansion_table_model: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-57": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_model_placeholder_in_time_dimension: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-58": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_offset_in_sql: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-59": "docs/rust-parity-helper-evidence.json#retention-period-validation: Zero retention periods are rejected instead of silently defaulting to 28. Counterparts: sqlctx-rs/src/sql/generator/retention.rs::retention_requires_valid_period_and_granularity", - "reason-60": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_sql_generation: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-61": "docs/rust-parity-helper-evidence.json#unowned-tests-metrics-test_retention.py-test_retention_week_granularity: This positive test adds a retention metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-62": "Direct private implementation-unit calls: generator._has_fanout_joins", - "reason-63": "docs/rust-parity-helper-evidence.json#shared-native-manifest-rewrite: Both harnesses load tests/native-fixtures/manifest.yml rewrite_queries and assert each sql_contains token after semantic rewrite. Counterparts: sqlctx-rs/tests/native_fixtures.rs::native_fixtures_load_and_compile Limitation: Compilation/token assertions only; this source test does not execute rewritten SQL.", - "reason-64": "docs/rust-parity-helper-evidence.json#legacy-rewriter-route: Explicit Python route override and monkeypatched Python _rewrite_python RuntimeError propagation test the legacy implementation contract, not a missing native semantic query feature.", - "reason-65": "Python optimizer plan/rule contract (module docstring); engine-selected SemanticLayer execution assertions remain active.", - "reason-66": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_dry_run_with_postprocess_subquery]", - "reason-67": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_explicit_join_requires_complete_composite_relationship]", - "reason-68": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_postprocess_zero_limit_and_offset_in_outer]", - "reason-69": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_query_without_metrics_or_dimensions]", - "reason-70": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_rewrite_less_than_relative_date]", - "reason-71": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_rewrite_not_equal_relative_date]", - "reason-72": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_rewriter_directly]", - "reason-73": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_rewriter_invalid_sql]", - "reason-74": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_rewriter_non_select_query]", - "reason-75": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_rewriter_non_strict_mode]", - "reason-76": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_select_star_without_from]", - "reason-77": "tests/queries/test_rust_sql_rewriter_parity.py::test_semantic_sql_contract[test_zero_limit_and_offset_are_preserved]", - "reason-78": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.queries.test_view_generation::test_generate_view_creates_valid_sql]", - "reason-79": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.queries.test_view_generation::test_join_view_against_other_tables]", - "reason-80": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.queries.test_view_generation::test_view_can_be_queried]", - "reason-81": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.queries.test_view_generation::test_view_name_sql_injection_rejected]", - "reason-82": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.queries.test_view_generation::test_view_name_with_spaces_rejected]", - "reason-83": "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_default_alias_not_applied_with_non_semantic_join]", - "reason-84": "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_expression_dimension_rewrite_uses_projection_alias]", - "reason-85": "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_generate_series_rewrite_uses_subquery_source]", - "reason-86": "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_lost_filter_warns_and_can_be_an_error]", - "reason-87": "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_unknown_or_ambiguous_measure_is_a_binding_error]", - "reason-88": "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_wrapper_explanation_matches_rewrite_and_emits_warning]", - "reason-89": "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_table_function_requires_single_literal_read]", - "reason-90": "tests/queries/test_rust_yardstick_parity.py::test_yardstick_result_contract[test_yardstick_wrapper_cannot_bypass_semantic_security]", - "reason-91": "Python SQLGenerator object reuse and graph identity contract.", - "reason-92": "Python graph private cache identity and SQLGenerator non-mutation contract.", - "reason-93": "Python-only parameter selection: adjudicate behavioral coverage separately from private implementation contracts.", - "reason-94": "Direct helper behavioral coverage has no established replay counterpart; requires native coverage adjudication, not a confirmed Rust defect.", - "reason-95": "Engine-asymmetric contract: skips the Python parameter; Rust still runs. Not a Rust-default blocker by itself.", - "reason-96": "Engine-parametrized layer fixture and result/rows helper branch between Rust bridge and Python helper in this module.", - "reason-97": "docs/rust-parity-helper-evidence.json#unowned-tests-test_bugfix_batch.py-test_conversion_dimension_join_prevents_cross_group_leaking: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-98": "docs/rust-parity-helper-evidence.json#unowned-tests-test_bugfix_batch.py-test_conversion_with_derived_dimension_sql: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-99": "docs/rust-parity-helper-evidence.json#unowned-tests-test_bugfix_batch.py-test_conversion_with_dimension: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-100": "docs/rust-parity-helper-evidence.json#unowned-tests-test_bugfix_batch.py-test_conversion_with_time_granularity: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-101": "docs/rust-parity-helper-evidence.json#unowned-tests-test_bugfix_batch.py-test_conversion_without_dimensions_still_works: This positive test adds a conversion metric with graph.add_metric and no owner. The positive public counterparts reviewed use model-local metrics; they do not prove the graph-scoped contract. Counterparts: sqlctx-rs/src/sql/generator.rs::strict_graph_metric_owners Limitation: Strict owner discovery does not inspect entity/event fields; live native rejection and any source inference from qualified filters must be checked before calling every variant unsupported.", - "reason-102": "Direct private implementation-unit calls: gen._has_fanout_joins", - "reason-103": "Direct private implementation-unit calls: gen._classify_filters_for_pushdown, self._build_graph", - "reason-104": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.test_foreign_key_dimensions::test_foreign_key_as_dimension_no_join]", - "reason-105": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.test_foreign_key_dimensions::test_foreign_key_dimension_with_join]", - "reason-106": "docs/rust-parity-helper-evidence.json#python-helper-timings: Timing thresholds and warm-cache comparisons directly benchmark Python SQLGenerator/QueryRewriter objects; these are not correctness exclusions or proof of native performance.", - "reason-107": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.test_sql_generation_security::test_count_fanout_uses_column_reference]", - "reason-108": "Direct private implementation-unit calls: gen._build_interval", - "reason-109": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.widget.test_widget_examples::test_auto_model_metrics_generate_without_dependency_errors]", - "reason-110": "tests/core/test_pure_rust_python_test_parity.py::test_existing_python_layer_contract_matches_pure_rust[tests.widget.test_widget_examples::test_notebook_metric_sql_generates]" } } diff --git a/docs/rust-parity-exceptions.md b/docs/rust-parity-exceptions.md index 5bba1d9af..efdfe5177 100644 --- a/docs/rust-parity-exceptions.md +++ b/docs/rust-parity-exceptions.md @@ -8,37 +8,37 @@ This is an auditable source inventory, not a passing-test claim. The JSON contai ```json { - "source_records": 740, + "source_records": 866, "by_kind": { - "engine-control": 244, - "engine-matrix": 94, - "implementation-import": 83, - "importorskip": 202, - "integration-marker": 13, + "engine-control": 306, + "engine-matrix": 100, + "implementation-import": 96, + "importorskip": 243, + "integration-marker": 14, "legacy-adapter-import": 6, "public-layer-import": 20, "skip": 65, - "skipif": 13 + "skipif": 16 }, - "exception_records": 366, - "observation_records": 374, + "exception_records": 444, + "observation_records": 422, "exceptions_by_category": { - "external-service": 42, - "intentional-Python-only": 35, - "optional-host": 235, - "real-gap": 54 + "external-service": 45, + "intentional-Python-only": 33, + "optional-host": 276, + "real-gap": 90 }, "exceptions_by_direction": { - "both-engines": 279, - "python-only-exclusion": 14, - "rust-coverage-exclusion": 73 + "both-engines": 329, + "python-only-exclusion": 9, + "rust-coverage-exclusion": 106 }, - "declared_test_functions": 6511, - "collected_nodeids": 11876, + "declared_test_functions": 7165, + "collected_nodeids": 14597, "direct_helper_tests": { "native_counterpart_or_route": 84, - "intentional_python_implementation": 126, - "unresolved_native_coverage": 129 + "intentional_python_implementation": 129, + "unresolved_native_coverage": 158 } } ``` @@ -66,14 +66,37 @@ This is an auditable source inventory, not a passing-test claim. The JSON contai | `tests/adapters/osi/test_query_execution.py::` | legacy-adapter-import | Explicit LegacyOSIAdapter alias bypasses canonical native OSI adapter; legacy compatibility coverage needs separate Rust evidence. | | `tests/adapters/test_added_fixture_coverage.py::` | legacy-adapter-import | Explicit LegacyOSIAdapter alias bypasses canonical native OSI adapter; legacy compatibility coverage needs separate Rust evidence. | | `tests/adapters/test_fixture_functionality_contracts.py::` | legacy-adapter-import | Explicit LegacyOSIAdapter alias bypasses canonical native OSI adapter; legacy compatibility coverage needs separate Rust evidence. | +| `tests/core/test_required_filters.py::required_layer` | engine-control | Behavioral test explicitly pins Python; remove pin or establish equivalent Rust coverage. | | `tests/db/test_bigquery_integration.py::test_semantic_layer_date_functions` | skip | Behavioral or emulator limitation; do not count the omitted contract as parity. | | `tests/db/test_clickhouse_integration.py::test_semantic_layer_date_functions` | skip | Behavioral or emulator limitation; do not count the omitted contract as parity. | +| `tests/db/test_ossie_integration.py::` | skipif | Unconditional or conditional behavioral omission requiring explicit review. | +| `tests/db/test_ossie_integration.py::test_semantic_view_on_database` | engine-matrix | Python-only parameter selection: adjudicate behavioral coverage separately from private implementation contracts. | +| `tests/db/test_ossie_integration.py::test_semantic_view_on_database` | skipif | Unconditional or conditional behavioral omission requiring explicit review. | +| `tests/db/test_ossie_integration.py::test_ossie_cli_on_core_database` | skipif | Unconditional or conditional behavioral omission requiring explicit review. | +| `tests/db/test_ossie_integration.py::test_wide_structured_ordering_keeps_backend_semantics_on_database` | engine-matrix | Python-only parameter selection: adjudicate behavioral coverage separately from private implementation contracts. | | `tests/db/test_snowflake_integration.py::test_semantic_layer_date_functions` | skip | Behavioral or emulator limitation; do not count the omitted contract as parity. | | `tests/db/test_spark_integration.py::test_semantic_layer_date_functions` | skip | Behavioral or emulator limitation; do not count the omitted contract as parity. | -| `tests/semantic_conformance/test_approximate_distinct.py::test_approximate_dialect_rendering_and_population_results` | skip | Behavioral or emulator limitation; do not count the omitted contract as parity. | -| `tests/semantic_conformance/test_approximate_distinct.py::test_redshift_nested_approximate_expressions_use_independent_parser` | skip | Behavioral or emulator limitation; do not count the omitted contract as parity. | +| `tests/interchange/ossie/test_latest_logical.py::test_latest_dataset_metrics_preserve_fields_source_columns_and_count_rows` | engine-control | Behavioral test explicitly pins Python; remove pin or establish equivalent Rust coverage. | +| `tests/interchange/ossie/test_latest_logical.py::test_dataset_metric_names_are_local_and_can_repeat_across_datasets` | engine-control | Behavioral test explicitly pins Python; remove pin or establish equivalent Rust coverage. | +| `tests/interchange/ossie/test_latest_portable.py::_layer` | engine-control | Behavioral test explicitly pins Python; remove pin or establish equivalent Rust coverage. | +| `tests/interchange/ossie/test_latest_synthesis.py::test_latest_export_expands_derived_dependencies_and_preserves_native_inputs` | engine-control | Behavioral test explicitly pins Python; remove pin or establish equivalent Rust coverage. | +| `tests/interchange/ossie/test_latest_synthesis.py::test_latest_imported_dataset_metric_scopes_survive_graph_synthesis` | engine-control | Behavioral test explicitly pins Python; remove pin or establish equivalent Rust coverage. | +| `tests/interchange/ossie/test_latest_synthesis.py::test_latest_export_preserves_quoted_physical_inputs_in_declared_fields` | engine-control | Behavioral test explicitly pins Python; remove pin or establish equivalent Rust coverage. | +| `tests/interchange/ossie/test_latest_wide_edge_cases.py::test_cross_output_dialect_preserves_stored_array_index_and_metric_inputs` | engine-control | Behavioral test explicitly pins Python; remove pin or establish equivalent Rust coverage. | +| `tests/interchange/ossie/test_layer3_api_contract.py::test_native_binding_error_does_not_fall_back_to_python` | engine-control | Behavioral test explicitly pins Python; remove pin or establish equivalent Rust coverage. | +| `tests/interchange/ossie/test_layer3_api_contract.py::test_strict_wide_rejects_unhandled_security_context` | engine-control | Behavioral test explicitly pins Python; remove pin or establish equivalent Rust coverage. | +| `tests/interchange/ossie/test_layer3_api_contract.py::test_strict_wide_rejects_visibility_enforcement_even_without_policy_models` | engine-control | Behavioral test explicitly pins Python; remove pin or establish equivalent Rust coverage. | +| `tests/interchange/ossie/test_layer3_api_contract.py::test_wide_compile_preserves_graph_input_dialect_when_output_changes` | engine-control | Behavioral test explicitly pins Python; remove pin or establish equivalent Rust coverage. | +| `tests/interchange/ossie/test_portable_filtered_count.py::test_layer2_filtered_count_window_reaches_target_emitter` | engine-matrix | Python-only parameter selection: adjudicate behavioral coverage separately from private implementation contracts. | +| `tests/interchange/ossie/test_review_distinct_anchor.py::test_distinct_constant_counts_keep_source_population` | engine-matrix | Python-only parameter selection: adjudicate behavioral coverage separately from private implementation contracts. | +| `tests/queries/test_query_correctness_regressions.py::python_layer` | engine-control | Behavioral test explicitly pins Python; remove pin or establish equivalent Rust coverage. | | `tests/semantic_conformance/test_complete_filters.py::test_tsql_complete_row_count_retains_existing_path` | engine-matrix | Python-only parameter selection: adjudicate behavioral coverage separately from private implementation contracts. | -| `tests/semantic_conformance/test_time_key_projection.py::test_time_identity_stays_unbucketed_for_join_and_fanout` | skip | Behavioral or emulator limitation; do not count the omitted contract as parity. | +| `tests/server/test_pg_wire.py::` | skip | Unconditional or conditional behavioral omission requiring explicit review. | +| `tests/test_manpage.py::test_checked_in_manpage_matches_live_cli` | skip | Unconditional or conditional behavioral omission requiring explicit review. | +| `tests/test_mcp_server.py::test_registered_query_tools_leave_event_loop_responsive` | skip | Unconditional or conditional behavioral omission requiring explicit review. | +| `tests/test_preaggregation_correctness.py::rollup_layer` | engine-control | Behavioral test explicitly pins Python; remove pin or establish equivalent Rust coverage. | +| `tests/test_preaggregation_correctness.py::test_rollup_grain_is_bound_to_its_own_time_dimension` | engine-control | Behavioral test explicitly pins Python; remove pin or establish equivalent Rust coverage. | +| `tests/test_preaggregation_correctness.py::test_finalized_rollup_cannot_regroup_secondary_time_dimension` | engine-control | Behavioral test explicitly pins Python; remove pin or establish equivalent Rust coverage. | ## Direct implementation coverage @@ -87,17 +110,28 @@ Each count below is a unique declared function, not parametrized cases. Native c | --- | ---: | ---: | ---: | | `tests/adapters/bsl/test_parsing.py` | 0 | 0 | 6 | | `tests/adapters/cube/test_fixtures.py` | 0 | 0 | 5 | +| `tests/adapters/gooddata/test_key_fidelity.py` | 0 | 0 | 1 | | `tests/adapters/metricflow/test_parsing.py` | 0 | 0 | 7 | | `tests/adapters/sqlctx_adapter/test_parsing.py` | 0 | 0 | 1 | | `tests/adapters/tableau/test_real_world.py` | 0 | 0 | 2 | | `tests/adapters/test_added_fixture_coverage.py` | 0 | 0 | 2 | | `tests/adapters/test_fixture_functionality_contracts.py` | 0 | 0 | 4 | +| `tests/adapters/tmdl/test_aggregation_semantics.py` | 0 | 0 | 3 | +| `tests/adapters/tmdl/test_export_fidelity.py` | 0 | 0 | 2 | | `tests/adapters/tmdl/test_parsing.py` | 0 | 0 | 2 | +| `tests/core/test_directed_relationships.py` | 0 | 0 | 6 | | `tests/core/test_invariant_filters.py` | 1 | 0 | 0 | | `tests/core/test_relationship_role_aliases.py` | 1 | 1 | 2 | +| `tests/core/test_required_filters.py` | 0 | 0 | 4 | | `tests/core/test_security_advisor_regressions.py` | 0 | 0 | 1 | | `tests/dates/test_query_timezone.py` | 2 | 1 | 0 | | `tests/dates/test_time_comparison.py` | 2 | 0 | 1 | +| `tests/interchange/ossie/test_latest_query_interface.py` | 0 | 0 | 1 | +| `tests/interchange/ossie/test_latest_relational_array_dialects.py` | 0 | 0 | 1 | +| `tests/interchange/ossie/test_latest_relational_edges.py` | 0 | 0 | 3 | +| `tests/interchange/ossie/test_layer2_conformance.py` | 0 | 0 | 5 | +| `tests/interchange/ossie/test_portable_filtered_count.py` | 0 | 0 | 1 | +| `tests/interchange/ossie/test_review_relational_boundaries.py` | 0 | 0 | 2 | | `tests/metrics/test_advanced.py` | 8 | 0 | 29 | | `tests/metrics/test_cohort.py` | 5 | 0 | 6 | | `tests/metrics/test_conversion_source_parity.py` | 3 | 0 | 0 | @@ -111,7 +145,7 @@ Each count below is a unique declared function, not parametrized cases. Native c | `tests/queries/test_deterministic_join_anchor.py` | 0 | 0 | 1 | | `tests/queries/test_rust_query_rewriter_route.py` | 12 | 1 | 0 | | `tests/queries/test_rust_rewrite_preaggregation_options.py` | 1 | 0 | 0 | -| `tests/queries/test_semantic_sql_planner.py` | 0 | 102 | 0 | +| `tests/queries/test_semantic_sql_planner.py` | 0 | 105 | 0 | | `tests/queries/test_sql_fallback_policy.py` | 2 | 1 | 0 | | `tests/queries/test_sql_rewriter.py` | 12 | 0 | 0 | | `tests/queries/test_temporal_sql_projection.py` | 0 | 0 | 2 | diff --git a/tests/semantic_conformance/differential/README.md b/tests/semantic_conformance/differential/README.md index eee002b33..bd2e30c6b 100644 --- a/tests/semantic_conformance/differential/README.md +++ b/tests/semantic_conformance/differential/README.md @@ -4,6 +4,15 @@ `SemanticLayer(engine="python", fallback=False)` and `SemanticLayer(engine="rust", fallback=False)`, executes both SQL statements in the same one-thread DuckDB database, and checks their public columns and rows. +Cases with an equivalent explicit SQL projection also run through the production +Python and Rust SQL rewriters. The SQL selects the structured dimensions and +metrics from `metrics`, applies row predicates in WHERE and aggregate predicates +in HAVING, and orders/pages either the direct query or an outer query over a CTE +whose alias shadows a model name. SQL spells out NULL placement to match the +structured request, including when the two interfaces have different defaults. +Cases with structured segments, implicit default-time grouping, or additional +cumulative dependency outputs keep their two structured routes. Version 1 +fixtures without `rewrite_shape` keep their original structured replay. The Rust layer also has a Python compiler tripwire, and both engine selections must report the requested engine without a fallback reason. These tests require the installed Rust extension built from the checkout being evaluated. @@ -63,10 +72,10 @@ model definitions, graph metrics, query, and typed table schemas. Every actual compile checks strict engine selection; reused SQL executes again against the new population. Successful immutable definition validation is also reused for that exact key; every population still checks row shape, non-null unique primary -keys, and actual DuckDB insertion/type validity. Only the latest key per engine +keys, and actual DuckDB insertion/type validity. Only the latest key per route and latest validated definition are retained. Default `DATA_VARIANTS=1`, replay, and minimization always compile fresh. Reports expose -`unique_compiler_inputs`, per-engine `actual_compile_attempts`, +`unique_compiler_inputs`, per-route `actual_compile_attempts`, `actual_successful_compilations`, `compilation_cache_hits`, and `checked_populations`; engine-selection counts refer to actual compilations, while successful-execution counts include all populations. Cache reuse measures @@ -75,7 +84,7 @@ input coverage. The campaign continues after failures and records counts by failure class, fingerprint, family and feature. It records compile/execution wall time per -engine, successful execution and actual engine-selection counts, reduction time, +route, successful execution and actual engine-selection counts, reduction time, total elapsed time and checked/passed counts in `report.json`, checkpointed every 100 cases and at exit. Counts describe generated features, not proof that every defined feature was selected. The report path is diff --git a/tests/semantic_conformance/differential/fixtures/README.md b/tests/semantic_conformance/differential/fixtures/README.md index a332fe750..4dd0996c9 100644 --- a/tests/semantic_conformance/differential/fixtures/README.md +++ b/tests/semantic_conformance/differential/fixtures/README.md @@ -12,6 +12,7 @@ that every feature remains after reduction. Replay uses the stored case directly | `cross-source-cumulative.case.json` | A cross-source scalar calculation beside a cumulative metric retains independent grouped source totals. Rust rejected the graph calculation as if it required one owner. | `test_cross_source_windows.py` | | `cumulative-dimension-collision.case.json` | Window inputs must use the grouped aliases for both sibling labels. Both engines referenced missing `base.label` instead of `base.items_label` and `base.refunds_label`. | `test_cross_source_windows.py` | | `absent-local-calculation.case.json` | A model-local scalar formula uses count zero and metric defaults for a group introduced by another source. Python computed the formula before the full join and returned NULL instead. | `test_absent_counts.py` | +| `rewrite-null-order.case.json` | A nullable grouping column sorted ascending with NULLS LAST must return the non-null group under LIMIT 1. Python semantic SQL discarded the parsed NULL placement. | `test_source_null_ordering.py` | The initial reductions were budgeted and preserve the original failure class; they are not claims of globally minimal inputs. Their independent result tests diff --git a/tests/semantic_conformance/differential/fixtures/rewrite-null-order.case.json b/tests/semantic_conformance/differential/fixtures/rewrite-null-order.case.json new file mode 100644 index 000000000..f5d182971 --- /dev/null +++ b/tests/semantic_conformance/differential/fixtures/rewrite-null-order.case.json @@ -0,0 +1,69 @@ +{ + "data_variant": 0, + "family": "base", + "features": [ + "explicit_null_order", + "limit" + ], + "index": 22, + "metrics": [], + "models": [ + { + "dimensions": [ + { + "name": "category", + "type": "categorical" + } + ], + "metrics": [ + { + "agg": "count", + "name": "rows" + } + ], + "name": "facts", + "primary_key": "id", + "table": "generated_facts" + } + ], + "query": { + "dimensions": [ + "facts.category" + ], + "limit": 1, + "metrics": [ + "facts.rows" + ], + "order_by": [ + "facts.category ASC NULLS LAST" + ] + }, + "rewrite_shape": "direct", + "seed": 20261005, + "tables": [ + { + "columns": [ + [ + "id", + "integer" + ], + [ + "category", + "varchar" + ] + ], + "name": "generated_facts", + "rows": [ + [ + 1, + null + ], + [ + 2, + "a" + ] + ] + } + ], + "version": 1 +} diff --git a/tests/semantic_conformance/differential/generator.py b/tests/semantic_conformance/differential/generator.py index 8e4651a27..4bbd22cf9 100644 --- a/tests/semantic_conformance/differential/generator.py +++ b/tests/semantic_conformance/differential/generator.py @@ -259,6 +259,18 @@ def generate_case(seed: int, index: int) -> Case: if rng.randrange(3) == 0: query["offset"] = rng.randint(1, 3) features.append("offset") + # SQL has an explicit projection. Structured defaults/window dependency + # outputs and segment controls have separate result contracts. + rewrite_shape = None + if family != "default_time" and "facts.running" not in metrics and not query.get("segments"): + rewrite_shape = rng.choice(["direct", "cte"]) + features.append(f"rewrite:{rewrite_shape}") + if query.get("order_by") and rng.choice([False, True]): + query["order_by"] = [ + f"{key} NULLS FIRST" if key.endswith(" DESC") else f"{key} ASC NULLS LAST" for key in query["order_by"] + ] + features.append("explicit_null_order") + return Case( seed=seed, index=index, @@ -268,6 +280,7 @@ def generate_case(seed: int, index: int) -> Case: query=query, tables=tables, features=features, + rewrite_shape=rewrite_shape, ) diff --git a/tests/semantic_conformance/differential/harness.py b/tests/semantic_conformance/differential/harness.py index 28a517372..941833522 100644 --- a/tests/semantic_conformance/differential/harness.py +++ b/tests/semantic_conformance/differential/harness.py @@ -7,6 +7,7 @@ import math import re import sys +from collections import Counter from copy import deepcopy from dataclasses import asdict, dataclass, field, replace from datetime import date, datetime @@ -21,7 +22,9 @@ from sqlctx import Metric, Model, SemanticLayer from sqlctx.core.semantic_graph import SemanticGraph +from sqlctx.core.transport_security import rewrite_transport_sql from sqlctx.db.duckdb import DuckDBAdapter +from sqlctx.sql.order_by import split_order_field from sqlctx.validation import validate_model, validate_query @@ -37,6 +40,7 @@ class Case: features: list[str] = field(default_factory=list) version: int = 1 data_variant: int = 0 + rewrite_shape: str | None = None def to_dict(self) -> dict: return asdict(self) @@ -48,6 +52,49 @@ def write(self, path: Path) -> None: def read(cls, path: Path) -> "Case": return cls(**json.loads(path.read_text())) + def semantic_sql(self) -> str: + """Render the same explicit projection and grouping as the structured query.""" + query = self.query + metrics = query.get("metrics", []) + selected = query.get("dimensions", []) + metrics + leaves = [name.split(".")[-1] for name in selected] + counts = Counter(leaves) + outputs = { + ref: leaf if counts[leaf] == 1 else ref.replace(".", "_") + for ref, leaf in zip(selected, leaves, strict=True) + } + projection = ", ".join(f'{ref} as "{outputs[ref]}"' for ref in selected) + inner = f"select {projection} from metrics" + where, having = [], [] + for predicate in query.get("filters", []): + # Generated predicates start with one semantic field. + target = having if predicate.split()[0] in metrics else where + target.append(f"({predicate})") + if where: + inner += " where " + " and ".join(where) + if having: + inner += " having " + " and ".join(having) + if self.rewrite_shape == "cte": + # The outer alias shadows a semantic model; only grouped outputs are in scope. + columns = ", ".join(f'facts."{name}"' for name in outputs.values()) + sql = f"with groups_cte as ({inner}) select {columns} from groups_cte as facts" + elif self.rewrite_shape == "direct": + sql = inner + else: + raise ValueError(f"Unknown differential SQL shape: {self.rewrite_shape}") + if order := query.get("order_by"): + keys = [] + for item in order: + field, suffix = split_order_field(item, selected) + if "NULLS" not in suffix: + suffix = "DESC NULLS LAST" if suffix == "DESC" else "ASC NULLS FIRST" + keys.append(f'"{outputs[field]}" {suffix}') + sql += " order by " + ", ".join(keys) + for clause in ("limit", "offset"): + if query.get(clause) is not None: + sql += f" {clause} {query[clause]}" + return sql + @property def ordered(self) -> bool: return bool(self.query.get("order_by")) @@ -189,8 +236,8 @@ def expression(sql: str, owner: str | None, physical: bool = False) -> None: owner, name = segment.split(".") if owner not in graph.models or name not in {s.name for s in graph.models[owner].segments}: raise ValueError("Unknown query segment") - order = [re.sub(r"\s+(ASC|DESC)$", "", item, flags=re.I) for item in case.query.get("order_by", [])] selected = case.query.get("metrics", []) + case.query.get("dimensions", []) + order = [split_order_field(item, selected)[0] for item in case.query.get("order_by", [])] if any(item not in selected for item in order): raise ValueError("Order expression must be selected") if order and not set(case.query.get("dimensions", [])) <= set(order): @@ -301,6 +348,7 @@ class EngineResult: compile_seconds: float = 0 execute_seconds: float = 0 compilation_reused: bool = False + semantic_sql: str | None = None @dataclass @@ -310,6 +358,12 @@ class Outcome: rust: EngineResult | None = None detail: str | None = None + rewrites: dict[str, EngineResult] = field(default_factory=dict) + comparison_route: str = "rust" + + def routes(self): + return {"python": self.python, "rust": self.rust, **self.rewrites} + def failure_identity(self) -> tuple: """Preserve the diagnostic or public-result discrepancy being reduced. @@ -318,10 +372,11 @@ def failure_identity(self) -> tuple: a missing group for an unrelated ordering/metric discrepancy. """ if self.failure_class in {"rows", "columns"} and self.python and self.rust: - columns = tuple(self.python.columns), tuple(self.rust.columns) + other = self.routes()[self.comparison_route] + columns = self.comparison_route, tuple(self.python.columns), tuple(other.columns) if self.failure_class == "columns": return "columns", columns - left, right = self.python.rows, self.rust.rows + left, right = self.python.rows, other.rows if len(left) == len(right) and rows_equal(left, right, ordered=False): witness = next( (_canonical_row(a), _canonical_row(b)) for a, b in zip(left, right) if not _row_equal(a, b) @@ -341,7 +396,7 @@ def failure_identity(self) -> tuple: return "rows", "cardinality", columns, len(left) > len(right), witness return "rows", "values", columns, witness diagnostics = [] - for result in [self.python, self.rust]: + for result in self.routes().values(): if result and result.error: # Retain referenced owner/column names and multi-line semantic # validation detail; remove SQL excerpts and variable locations. @@ -402,6 +457,7 @@ def compilation_key(case: Case) -> str: "models": case.models, "metrics": case.metrics, "query": case.query, + "rewrite_shape": case.rewrite_shape, "schemas": [{"name": t["name"], "columns": t["columns"]} for t in case.tables], }, sort_keys=True, @@ -412,6 +468,7 @@ def _compile(self, case: Case, engine: str) -> EngineResult: result = EngineResult() started = perf_counter() try: + engine, _, rewrite = engine.partition("_") layer = SemanticLayer(connection=self.adapter, engine=engine, fallback=False, auto_register=False) layer.graph = make_graph(case) if engine == "rust": @@ -422,7 +479,13 @@ def forbidden_python(*args, **kwargs): layer._compile_with_python = forbidden_python # Some compiler planning paths expand mutable selection lists. Give # each engine an independent request, preserving the replay fixture. - result.sql = layer.compile(**deepcopy(case.query)) + if rewrite: + result.semantic_sql = case.semantic_sql() + result.sql = rewrite_transport_sql( + layer, result.semantic_sql, user_attributes=None, transport="differential" + ) + else: + result.sql = layer.compile(**deepcopy(case.query)) result.compile_seconds = perf_counter() - started result.selection = layer.last_engine_selection result.stage = "selection" @@ -474,24 +537,31 @@ def evaluate(self, case: Case, *, reuse_compilation: bool = False) -> Outcome: self._load(case) except Exception as exc: return Outcome("invalid_case", detail=f"{type(exc).__name__}: {exc}") - if reuse_compilation: - python = self._engine(case, "python", reuse_compilation=True) - rust = self._engine(case, "rust", reuse_compilation=True) - else: - python = self._engine(case, "python") - rust = self._engine(case, "rust") + routes = ["python", "rust"] + if case.rewrite_shape is not None: + routes += ["python_rewrite", "rust_rewrite"] + options = {"reuse_compilation": True} if reuse_compilation else {} + results = {route: self._engine(case, route, **options) for route in routes} + outcome = Outcome(None, results.pop("python"), results.pop("rust"), rewrites=results) errors = [ - f"{engine}:{result.stage}:{result.error_type}" - for engine, result in [("python", python), ("rust", rust)] + f"{route}:{result.stage}:{result.error_type}" + for route, result in outcome.routes().items() if result.error is not None ] if errors: - return Outcome("|".join(errors), python, rust) - if python.columns != rust.columns: - return Outcome("columns", python, rust) - if not rows_equal(python.rows, rust.rows, ordered=case.ordered): - return Outcome("rows", python, rust) - return Outcome(None, python, rust) + outcome.failure_class = "|".join(errors) + return outcome + for route, result in outcome.routes().items(): + if route == "python": + continue + if outcome.python.columns != result.columns: + outcome.failure_class = "columns" + elif not rows_equal(outcome.python.rows, result.rows, ordered=case.ordered): + outcome.failure_class = "rows" + if outcome.failure_class: + outcome.comparison_route = route + break + return outcome def outcome_dict(outcome: Outcome) -> dict: diff --git a/tests/semantic_conformance/test_generated_differential.py b/tests/semantic_conformance/test_generated_differential.py index 0f73a1e92..3729df59e 100644 --- a/tests/semantic_conformance/test_generated_differential.py +++ b/tests/semantic_conformance/test_generated_differential.py @@ -97,8 +97,7 @@ def cases(): checked += 1 families[case.family] += 1 features.update(case.features) - for engine in ["python", "rust"]: - result = getattr(outcome, engine) + for engine, result in outcome.routes().items(): if result: timing[f"{engine}_compile"] += result.compile_seconds timing[f"{engine}_execute"] += result.execute_seconds diff --git a/tests/semantic_conformance/test_source_null_ordering.py b/tests/semantic_conformance/test_source_null_ordering.py index dccf22cad..3d56c1fab 100644 --- a/tests/semantic_conformance/test_source_null_ordering.py +++ b/tests/semantic_conformance/test_source_null_ordering.py @@ -119,3 +119,20 @@ def test_semantic_sql_limit_uses_duckdb_null_order(layer, suffix): assert layer.last_engine_selection == {"engine": layer.engine, "reason": None} assert [column[0] for column in cursor.description] == ["label", "total"] assert cursor.fetchall() == ([(None, 10)] if suffix.endswith("FIRST") else [("a", None)]) + + +def test_minimized_four_route_nullable_limit(): + from tests.semantic_conformance.differential.harness import Case, DifferentialRunner + + pytest.importorskip("sqlctx_rs") + case = Case.read(Path(__file__).parent / "differential" / "fixtures" / "rewrite-null-order.case.json") + runner = DifferentialRunner() + try: + outcome = runner.evaluate(case) + assert outcome.failure_class is None + assert set(outcome.routes()) == {"python", "rust", "python_rewrite", "rust_rewrite"} + for result in outcome.routes().values(): + assert result.columns == ["category", "rows"] + assert result.rows == [("a", 1)] + finally: + runner.close()