Skip to content

docs: JTS #1094 in-circle FFI scout + corpus code review - #445

Merged
grootstebozewolf merged 1 commit into
mainfrom
docs/jts-1094-incircle-ffi-scout
Aug 5, 2026
Merged

docs: JTS #1094 in-circle FFI scout + corpus code review#445
grootstebozewolf merged 1 commit into
mainfrom
docs/jts-1094-incircle-ffi-scout

Conversation

@grootstebozewolf

@grootstebozewolf grootstebozewolf commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Summary

Files

Path Role
docs/jts-1094-incircle-lane-2026-08.md Scout outcome + full review
docs/jts-open-prs-scout-2026-08.md Link session 2 into inventory
oracle/scout_incircle_{ffi.ml,stubs.c,probe.c} Minimal Phase-5-style in-circle FFI
oracle/gen_jts1094_incircle_scout.py Generator / gate (Stage A#1094 + FFI + oracle parity)
oracle/jts1094_incircle_vectors.txt 27-vector table
oracle/Makefile scout-incircle-ffi, jts1094-scout targets
oracle/.gitignore scout lib/probe build products

Gate (local)

Vectors: 27
FFI pin: POS 1.5
FFI ≡ oracle_bin bit-parity: 0 failures
EXPECTED pin failures: 0
Stage A CERTAIN vs FFI conflicts: 0
Stage A UNCERTAIN: 4 (incl. GEOS955 → FFI POS)
Bound policy diverge (#1094 ≥ vs #1212 >): 6 (vertex permanent=0; same boolean)

Test plan

  • Build scout FFI (WSL / Linux):
    make -C oracle scout-incircle-ffi
  • Differential gate (exit 0; pin POS 1.5; FFI ≡ oracle_bin bits):
    # Linux: use local oracle_bin after `make -C oracle`
    python3 oracle/gen_jts1094_incircle_scout.py \
      --oracle oracle/oracle_bin \
      --ffi-probe oracle/scout_incircle_probe
    
    # Windows host + WSL oracle binary (as run in session):
    python3 oracle/gen_jts1094_incircle_scout.py \
      --oracle /home/user/nettopologysuite.proofs/oracle/oracle_bin \
      --ffi-probe oracle/scout_incircle_probe
  • Or combined Makefile target (needs both oracle_bin and scout probe):
    make -C oracle jts1094-scout
  • Optional: full libntsrocq rebuild + wire CI smoke later (not required for merge)

Session 2 of the mesh in-circle lane (#68): differential gate of
locationtech/jts#1094 Stage A against nts_rocq_in_circle (scout FFI),
oracle_bin bit-parity, and a corpus-backed review. Tip remains #1212;
#1094 stays same-lane history with adaptive-escalation reference.
@grootstebozewolf
grootstebozewolf merged commit 041a9e7 into main Aug 5, 2026
4 checks passed
@grootstebozewolf
grootstebozewolf deleted the docs/jts-1094-incircle-ffi-scout branch August 5, 2026 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant