Skip to content

docs: FFI rungs — restore libntsrocq path + #1093 orient scout - #447

Merged
grootstebozewolf merged 1 commit into
mainfrom
docs/ffi-rungs-orient-restore
Aug 5, 2026
Merged

docs: FFI rungs — restore libntsrocq path + #1093 orient scout#447
grootstebozewolf merged 1 commit into
mainfrom
docs/ffi-rungs-orient-restore

Conversation

@grootstebozewolf

Copy link
Copy Markdown
Owner

Summary

Deliverables

Path Role
docs/ffi-rungs-2026-08.md Rung ladder 0–6, re-extract, parity YELLOW note
scripts/rebuild_oracle_ffi.sh coqc extract → oracle_bin + libntsrocq
oracle/gen_jts1093_orient_scout.py Ozaki vs Shewchuk Stage A vs ORIENT_EXACT
oracle/jts1093_orient_vectors.txt 10-vector table (GATE GREEN)
oracle/Makefile jts1093-orient-scout + extract hint
docs/phase5-ffi-abi.md §0 rebuild pointer
docs/jts-open-prs-scout-2026-08.md Orientation lane STARTED

Local gates (WSL)

Rungs 1–2 GREEN: re-extract adds b64_orient2d_exact; make -C oracle ffi succeeds.

Rung 3 YELLOW: ffi-parity — 3 ORIENT_EXACT* failures (FFI segfault on extreme subnormal/overflow coords). Filtered/in-circle/snap/… OK (~1215 cases). Policy: exact GT via oracle_bin until fixed.

Rung 4 GREEN:

ORIENT_EXACT pin POS
Ozaki CERTAIN vs exact conflicts: 0
Shewchuk CERTAIN vs exact conflicts: 0
GATE: GREEN

Test plan

  • Re-extract + make -C oracle ffi (local WSL)
  • python3 oracle/gen_jts1093_orient_scout.py --oracle oracle/oracle_bin --ffi-probe oracle/ffi_probe
  • Optional: fix ORIENT_EXACT FFI segfault class (follow-up)
  • Optional: expand #1093 vector bank / JTS comment with numbers

Re-extract rebuild helper, rung ladder, and Ozaki vs Shewchuk vs ORIENT_EXACT
harness. Full libntsrocq builds after extract; exact FFI still YELLOW on extremes.
@grootstebozewolf
grootstebozewolf merged commit 1b9358d into main Aug 5, 2026
4 checks passed
@grootstebozewolf
grootstebozewolf deleted the docs/ffi-rungs-orient-restore branch August 5, 2026 01:32
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