Corebox: drilling, sampling, QA/QC and assays
2,169 words6 subsections5 tablesPlan version 0.1
On this page6
Corebox owns layer L0 of the subsurface: immutable, bitemporal observations with characterized error. Everything in Strata, Lodestar and Touchstone is only as good as Corebox's error models. It is also where MNPI is born.
12.1 Records (fmine-drill, fmine-qaqc)
| Record | Key fields | Notes |
|---|---|---|
Collar |
hole id, type (diamond DD, RC, aircore, RAB, sonic, blasthole), CRS-registered position with survey method and accuracy, planned vs actual, program, embargo state | Position accuracy is an error model, not a comment |
Survey |
depth, azimuth, dip, instrument (gyro, magnetic multishot, single-shot, none), magnetic interference flag, run direction (in/out), error model | "No survey" is a state, never an assumed straight hole. A magnetic survey in a domain with logged magnetite or high susceptibility is Suspect until a gyro check exists: shifts > 30 m are recorded in 150–200 m holes (E380, E381) |
Interval |
from/to, recovery % with method (length, mass, volume, unknown), lithology, alteration (type, intensity), mineralization, weathering, logger (human, scanner, ML model@version) | Each logger is a different evidence source; ML logs are ModelledUncalibrated until scored against human relogs |
Structure |
depth, alpha/beta (oriented core), type, confidence, orientation-line quality | Converted to true orientation with desurvey uncertainty |
Sample |
interval(s), mass, sample type (half core, quarter core, RC split, blasthole cone/full), splitter, chain of custody, dispatch batch | Support (mass and length) is first-class (§13.4) |
AssayResult |
sample, analyte, method = measurand (fire assay–AAS/gravimetric, screen fire assay, PhotonAssay, LeachWELL/BLEG, 4-acid ICP-MS/OES, aqua regia, fusion XRF, LECO S/C, sequential Cu leach CuT/CuAS/CuCN), value or censored (<DL, >UL), lab, batch, certificate, qaqc_regime (None, Partial, Current) per campaign |
Different methods measure different things. A cyanide-soluble Au is not a total Au. Never merge methods silently. A method changeover is a covariate: Kibali CPA reads +2.7% against fire assay over 62,545 tandem samples (FACT, E225). Analyte mass fractions outside [0, 1] are refused on import: Porgera's database held S > 100% (FACT, C4 P12). |
QaqcInsertion |
CRM (certified mean, σ_C and σ_L, certificate source), blank (coarse/pulp), duplicate (field, coarse reject, pulp), umpire | Insertion rates per program are TARGETs set by QP policy. Hallmark shows target vs achieved, each with its denominator: Carlin achieved CRM 4.38% and duplicates 3.76% against 5% (FACT, E165); Kibali's Table 11-2 mixes two bases (INFERENCE, E226). Textbook defaults (field duplicates 5–10%, pulp 3–5%, CRMs 3–5%, ≥ 5% of duplicates external; E373) are PolicyDefault, never compliance. |
Density |
method (water immersion with/without wax coating, gamma log, pycnometer), moisture state | Density is a field (§13.2), not a constant per domain |
LabCertificate |
signed original in CAS; parsed results reference it; or the explicit state LimsDirectNoCertificate |
Imports as ThirdPartySigned evidence for FA purposes (§21). Porgera's assays arrived with no certificates and "no way to validate" them (FACT, E299); §24.5 reports the no-certificate share per domain. The same record serves environmental samples (§18.4). |
GeometTest |
Bond work indices (BWi, RWi, CWi), SMC/JK drop-weight (A×b, ta), abrasion index, flotation and leach tests, preg-robbing index (PRI), mineralogy (QEMSCAN/MLA) | Located on composites with explicit support; feeds transfer cards (§13, §17) |
GeotechLog |
RQD (run-based), fracture frequency, joint condition, UCS/Is50 tests, GSI/RMR/Q (judgement indices, ordinal) | Ordinal indices are never averaged (INV-014) |
TwinPair |
original and twin hole, separation (m, from desurveyed traces), drilling techniques, matched intervals, per-pair CV_AVR%, RMA slope, paired test | Separation above the policy limit (default 5 m) renders WeakTwin; a twin study is a Claim over its pairs (E375, E376) |
12.2 Processing laws
- Desurvey. Minimum-curvature desurvey with survey-error propagation (an ISCWSA-style error model), giving each interval a positional covariance. Straight-line desurvey is only a declared fallback for unsurveyed short holes.
- Compositing. Domain-respecting, length- or mass-weighted, with residual handling declared. Conservation (Σ length × grade) is checked for every composite set (PO-CORE-2).
- Interval joins. Interval overlap joins are built in
fmine-drillon an interval tree. frankenpandasIntervalIndexlookups are linear scans with no overlap join (FACT, R8), andmerge_asofis point-based (FACT, R3). - Censored data. Below-detection results are handled by censored likelihood (Tobit-style, or
Kaplan–Meier/ROS for descriptive statistics). Substituting DL/2 is refused (guard G-CENS).
frankenscipy's
CensoredDataexists but is used only in a log-rank test, so censored fitting is a build item (FACT, R8). - Embargo. Every assay and intercept starts
Embargoed{wall}. Release is a human act citing the public release (news release URL, filing ID) with its valid time. MNPI handling is in §31.1. - Recovery–grade bias test. Per (domain, campaign, drilling method), report the dependence of grade on core
recovery. A significant dependence opens an InvestigationCase and marks the affected intervals
Conflicted. Poor recovery is the main diamond-drilling sampling error (E378). - Data-generation comparison. Each campaign is compared with the others (Q–Q plots, means by domain) before it joins an estimate; one biased campaign was found only this way (E379).
- Survey checks. In/out run consistency and collar-vs-DTM residuals are recorded per hole (E381).
12.3 Sampling theory and measurement-error models (DESIGN)
-
Gy's theory of sampling. For each sampling protocol (split sizes, crushing and pulverizing stages), compute the fundamental sampling error (FSE) variance:
- the general form is σ²_FSE = (1/M_S − 1/M_L)·c·f·g·ℓ·d³, with d in cm, M in g and c in g/cm³;
- the calibrated form is σ²_FSE = K·d_N^α·(1/M_S − 1/M_L). K and α are Claims with a calibration method
(
Mste,ThirtyPieces,HeterogeneityTest,DrillData) orAssumed(default K = 470, α = 1.5; E363). In lode gold K spans 1 to > 10,000 (E362), so anAssumedK makes the nomogramSpeculative; - for coarse gold, nugget-effect (Ingamells) formulations apply (HYPOTHESIS: not confirmed by the corpus).
The protocol's nomogram is a Claim (
Derived, from declared constants with their own evidence classes). It records the grade at which K was calibrated and isOutsideValidityat other grades (E359). The default acceptance line is a relative variance of 0.01 (E360), registered as policy data. A sample made of fewer than 30 increments is flagged. -
Error-model decomposition. The measurement-error variance for each (analyte, method, sample type) is decomposed into FSE, analytical error and method bias:
- field, coarse and pulp duplicate pairs give the variance at each stage. The canonical statistic is
CV_AVR% = 100·√((2/N)·Σ(a−b)²/(a+b)²) per (stage, analyte, grade band); HARD (= CV/√2) and AMPD (= √2·CV)
are derived views (E371). Thompson–Howarth plots show their N (≥ 50 required) and are labelled "assumes
normal errors; optimistic" (E369, E370). A duplicate's mass must match the original's (E374). No field
duplicates at all (Porgera, C4 P12) sets
FieldDuplicateAbsent: the stage decomposition is not identifiable; - CRMs give accuracy and bias;
- blanks give contamination.
This decomposition drives the geostatistical nugget split (geological vs sampling nugget, §13.4) and the reconciliation measurement nodes (§20). When the sampling share of the nugget exceeds a policy share, Helm's information options (§22) include "improve the sampling protocol" beside "infill drilling", priced by the same EVSI (E390).
- field, coarse and pulp duplicate pairs give the variance at each stage. The canonical statistic is
CV_AVR% = 100·√((2/N)·Σ(a−b)²/(a+b)²) per (stage, analyte, grade band); HARD (= CV/√2) and AMPD (= √2·CV)
are derived views (E371). Thompson–Howarth plots show their N (≥ 50 required) and are labelled "assumes
normal errors; optimistic" (E369, E370). A duplicate's mass must match the original's (E374). No field
duplicates at all (Porgera, C4 P12) sets
-
Blasthole samples have their own measurand error and bias models: cone sampling and sub-drill contamination. They are observations of the same belief at a different support, not a separate model (§13.6).
12.4 QA/QC as a sequential-evidence problem (DESIGN)
- CRM monitoring.
- A CRM rule is policy data that names (a) its SD basis: certified within-lab σ_C, certified between-lab σ_L, or the lab's running S_W; and (b) its test: single-value |X − μ| ≤ k·SD, or the batch-mean CANMET test |m − μ| ≤ 2√(σ_L² + S_W²/n) (E364, E365). The default is a warning at k = 2 and a failure at k = 3 on the named basis. The same ten-result batch gives 10 warnings and 8 failures on σ_C, 3 and 0 on σ_L, and a CANMET pass, with a bias of about 12 standard errors (INFERENCE, E366). Bias magnitude with its interval is always reported beside pass/fail.
- Site rules differ and are versioned per source document: Kibali fails a single result beyond 3 SD (E221); Loulo also fails three consecutive results beyond 2 SD on one side (E222); NGM fails two consecutive beyond ±2 SD on one side, with grade-tiered re-assay windows (E166). The same blank rule reads "and" in one NGM report and "either/or" in another (C2 §4.5b), so rule text is a metric-definition registry entry.
- Pattern monitors run beside the e-process per (CRM, lab, method): two successive beyond 2 SD, four successive beyond 1 SD on one side, sign imbalance, and a dispersion-collapse monitor (running SD well below certified), which can indicate tampering (E367, E368). A dispersion-collapse alarm opens an InvestigationCase with integrity scope, not a recalibration.
- Rates are disaggregated per lab: internal mine labs failed one CRM at 12.8% and 27% against 4.8% at an accredited lab (FACT, E167).
- In addition to the threshold rules, an anytime-valid e-process per (CRM, lab, method) detects drift that
threshold rules miss. Its alarm opens a QA/QC investigation (lifted
fs-eproc).
- Failure cascade. A failed batch flips its results to
stale/conflictedand propagates down the provenance DAG: composites, then projections, then claims. Affected projections are markedStale, so a known known is revocable (§9.1). Re-assays supersede.- A batch committed with an unresolved failure is
CommittedFlagged(Loulo commits re-failed batches; E223). Strata decides explicitly, per estimate, whether flagged assays enter. - Sample retention is a data gate: where originals are discarded after QC (Kibali CPA; E224), re-assay is impossible and the state says so.
- "Control absent" periods are first-class: Cortez stopped outside check assays from 2015 to 2021 and used assay bias-adjustment factors until 2007 (FACT, E168, E169).
- A batch committed with an unresolved failure is
- Duplicates feed the measurement-error model continuously. Precision outside policy triggers an InvestigationCase.
- Umpire assays quantify inter-laboratory bias as a hierarchical bias term.
- Twin holes. G-TWIN: a correction derived from a twin study may feed a
Full-basis internal projection with its uncertainty. It never enters aPublicor disclosure-basis estimate without a recorded QP acceptance (E377). An RC smearing monitor opens an InvestigationCase proposing diamond twins when an RC hole shows a significant down-hole grade decline inside mineralized intervals (E391); NGM's audit records RC contamination below the water table (E164). - Lab turnaround is a durable obligation (
OB-LAB). A dispatched sample must resolve to a result or a declared loss with a QA/QC finding, so missing samples are never silent.
12.5 Statistical sampling of quality and quantity beyond drillholes
The same error-model discipline applies to every quantity-and-quality measurement in the mine. Each node's error model enters reconciliation (§20).
| Measurement | Error model source | Consumer |
|---|---|---|
| Truck payload (onboard weighing) | Calibration against weighbridge; per-truck bias | Headframe (§16), Touchstone |
| Belt weightometer | Calibration chain, drift (e-process) | Crucible, Touchstone |
| Cross-belt / slurry analysers (PGNAA, XRF, LIBS) | Calibration to physical samples; matrix effects | Crucible blending, Touchstone |
| Mill feed / tails / concentrate samplers | Sampler design (cross-stream cut), Gy errors, bias tests | Metallurgical balance (§17, §20) |
| Stockpile surveys (drone/LiDAR) | Registration accuracy; bulking factor; base-surface uncertainty | Touchstone |
| Bullion / doré | Weight and fire assay of bars; refinery outturn | Bullion (§21) |
| Concentrate shipments | Draft survey, moisture determination, assay exchange, umpire | Bullion provisional pricing (§21) |
12.6 Guards, proof obligations and gates
| Guard | Condition | Action |
|---|---|---|
G-CORE-1 (G-TWIN) |
A twin-hole bias correction enters a Public or disclosure-basis estimate without a recorded QP acceptance (§12.4; E377) |
Refuse publish; restrict twin-derived adjustments to Full-basis internal projections |
| G-CORE-2 | A drillhole interval, survey, density or plant/fleet sample enters L0 without a characterized measurement-error model or explicit Uncharacterized status (§12.1–12.5) |
Refuse ingest or downgrade to ModelledUncalibrated |
| ID | Statement | Verification |
|---|---|---|
| PO-CORE-1 | Desurvey matches reference minimum-curvature results within 1 mm per 1,000 m | Oracle harness (textbook cases, lab oracle) |
| PO-CORE-2 | Compositing conserves Σ length × grade (and mass × grade) to 1e-12 relative | Property tests |
| PO-CORE-3 | No method merge without an explicit MeasurandMapping claim |
Lint + test |
| PO-CORE-4 | A QA/QC failure cascades to every dependent projection within one anchor publication | Lab test |
| PO-CORE-5 | Embargoed results never appear in a Public basis or an unwalled projection | Wall differential tests (§31) |
| Gate | Threshold (TARGET) |
|---|---|
| GATE-CORE-01 | 10⁵ holes / 2×10⁷ intervals ingested, desurveyed and composited; full rebuild ≤ 15 min; as-known-at query from one anchor |
| GATE-CORE-02 | On synthetic QA/QC streams with injected drift, the e-process detects drift of 1 SD within the documented detection delay, with false alarms ≤ α; on streams with injected variance collapse (running SD at 0.3 of certified), the dispersion monitor alarms within its documented delay; the CRM scorer reports pass/fail on every named SD basis plus bias with its interval |