VERIFICATION / ORACLES / AI GOVERNANCE

How Orebit proves its numbers.

Generating a geology interface takes an hour. Proving that survey arcs follow minimum curvature, negative lab codes never enter averages, and kriging matches an independent solver takes automated oracles on every build.

1. Independent numerical oracles

Orebit does not test its own output only against itself. Core calculations are cross-checked against independent pure-Python oracles (including a Python re-derivation of the GSLIB gamv directional variogram formula, without executing GSLIB Fortran), Qhull, analytic closed-form solutions, and MineLib benchmarks before release.

Calculation Independent oracle Measured check
Quick Estimate (OK, IDW, NN) Independent pure-Python solver across 4 datasets (gold, Ni laterite, Fe, volumetric Sn) max rel diff ≤ 5.83e-08 (4,858 blocks, 0 mismatches)
Directional continuity & 3D variography 2D directional scan oracle, 3-axis analytical oracle, and Python gamv formula re-derivation 604 / 604 directional continuity checks pass (plus 3-axis and Python gamv formula suites)
Domain solid clipping & block support Analytic prism geometry and Qhull volume oracle 864 / 864 known answers pass
Ultimate pit shell optimization (PitOpt) NetworkX preflow-push vs C/SciPy Dinic max-flow, brute force, and MineLib marvin 100% exact closure partition match; 593 pytest checks pass

2. Non-destructive geology rules

Silent data mutations destroy resource audits. Every Orebit module enforces written scientific invariants:

3. Human-governed AI & Local MCP (PRD §4.2)

GeoSuite and PitOpt include optional AI Chat (local Ollama/LM Studio or your own API endpoint) and Local Desktop MCP. Both are off by default, make zero network requests on boot, and enforce a strict single-host Content Security Policy. In code, AI cannot cross geological sign-off boundaries.

What AI can assist with

  • Read active project summaries, validation counts, and cutoff tables.
  • Inspect why specific blocks were unestimated or flagged.
  • Capture plots and render comparison charts inside chat.
  • Propose workflow steps that still wait for your confirmation.

Hard-blocked in code (human click required)

  • Approving geological domains or signing off reviews (approve, review).
  • Applying grade top-cuts (topcut.apply).
  • Mutating or repairing raw drillhole rows (repair, delete).
  • Exporting reports or sending raw assay rows without per-message opt-in.

4. Test your own scripts on our public benchmark

Orebit publishes five fully synthetic datasets under CC BY 4.0 (epithermal gold, nickel laterite, alluvial tin, plus open-pit gold and nickel with surface topography and block models) with documented known answers. Use them to teach, benchmark your own Python or AI scripts, or reproduce every tutorial number.