Skip to content

test(vortex-spatial): add differential test harness against the geo oracle - #9391

Open
HarukiMoriarty wants to merge 1 commit into
developfrom
nemo/geo-harness
Open

test(vortex-spatial): add differential test harness against the geo oracle#9391
HarukiMoriarty wants to merge 1 commit into
developfrom
nemo/geo-harness

Conversation

@HarukiMoriarty

@HarukiMoriarty HarukiMoriarty commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

First step of #9388: the correctness harness lands before any kernel swap.

The property: executing a scalar function over generated native geometry columns must equal the geo crate applied row by row, exactly, with no epsilon.

  • tests/differential/ generates columns with lattice-biased coordinates, so shapes frequently share vertices, touch boundaries, and turn collinear
  • covers ST_Length (already native, so both sides compute independently) and ST_Distance (all 7×7 type pairs, coupled operands, constant sides, sliced columns)
  • failures shrink to a minimal column and persist to proptest-regressions/
  • well-formed inputs only: nulls and degenerate shapes are executor policy, covered by each kernel's unit tests

Native kernel PRs stack on this and must keep the suite green unchanged, so a failure after a swap implicates the new kernel alone.

…racle

Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant