Collar › Rules › Intervals › R43
Rules · Intervals
R43 · Deeper than EOH
Blocker Intervals
Nothing can be logged or sampled below the end of the hole. A row past EOH means EOH is wrong (often the driller's depth against the logged depth) or the row is. Exports and desurvey stop at EOH, so the excess would be dropped or extrapolated.
What it checks
In every interval and point table except the survey, reports a row whose to (or point depth) is deeper than the collar's EOH plus the tolerance.
Why it matters
Nothing can be logged or sampled below the end of the hole. Exports and desurvey stop at EOH, so the excess would be dropped or extrapolated. It is a blocker.
What to do
Decide which is wrong, the row or EOH: the driller's depth and the logged depth often differ. Collar offers: Set to = EOH on the interval, and Set EOH to the deepest logged depth.
The fixes Collar offers
- * The vocabulary of the rules engine: rule definitions, parameters, scopes, review items and the fix descriptors the review queue renders. Data shapes only; behaviour lives in engine.ts, lifecycle.ts, settings.ts and the catalogue. / import type { PhotoSettings } from "../photos/settings"; import type { CertificateId, HoleId, IdKey, IsoDate, Severity, Unit } from "../types"; import type { ProjectData } from "./data"; import type { RuleResults } from "./results"; /** A catalogue rule id (R1 … R114, R120 … R127). */ export type RuleId = R${number}; /** Where a rule sits in PRODUCT §4.3 (one catalogue module per group). */ export type RuleGroup = "collar" | "survey" | "intervals" | "core" | "samples" | "results" | "qaqc" | "project" | "photos"; /** How a rule's findings partition, which decides what incremental re-validation re-runs: - hole: each finding depends only on one hole's rows (plus its parent or daughters, and project tables such as code_list); re-run per hole. - project: findings compare holes or rows across the project; re-run whole. - certificate: findings depend on one certificate's results; re-run per certificate (unless crossCertificate: then a certificate change re-runs it whole). / export type Granularity = "hole" | "project" | "certificate"; /** Pseudo-tables a rule may read besides real tables. */ export const RESULTS = "@results"; export const CONTEXT = "@context"; // ---------------------------------------------------------------- parameters export interface NumberParam { readonly kind: "number"; readonly default: number; readonly min?: number; readonly max?: number; readonly unit?: string; readonly label: string; } export interface BooleanParam { readonly kind: "boolean"; readonly default: boolean; readonly label: string; } export interface StringsParam { readonly kind: "strings"; readonly default: readonly string[]; readonly label: string; } /** A map of names to numbers (method accuracies, insertion targets, grade triggers). */ export interface NumberMapParam { readonly kind: "numberMap"; readonly default: Readonly<Record<string, number>>; readonly min?: number; /** The keys are matched case-folded (element symbols): two keys that fold alike are refused. */ readonly foldKeys?: boolean; readonly unit?: string; readonly label: string; } export type ParamSpec = NumberParam | BooleanParam | StringsParam | NumberMapParam; export type ParamSpecs = Readonly<Record<string, ParamSpec>>; export type ParamValue<S extends ParamSpec> = S extends NumberParam ? number : S extends BooleanParam ? boolean : S extends StringsParam ? readonly string[] : Readonly<Record<string, number>>; export type ParamsOf<P extends ParamSpecs> = { readonly [K in keyof P]: ParamValue<P[K]> }; /** JSON as stored in project.json settings rows. */ export type Json = string | number | boolean | null | readonly Json[] | { readonly [k: string]: Json }; /** Every exemptible (†) rule also takes this parameter: hole types the rule skips. */ export const EXEMPT_PARAM = "exempt_hole_types"; // ---------------------------------------------------------------- fixes /** A depth as the on-disk metres text the fix would write ("184.50"). */ export type DepthText = string; /** A fix option the review queue renders as a button with label. Fixes are descriptors: the editing controller turns them into change records (and previews them for "fix all"); the engine never edits. / export type Fix = /** Set an interval's to to the hole's EOH.
- Set collar.eoh_depth (usually to the deepest interval).
Settings
| Setting | Default | What it means |
|---|---|---|
| Allowed depth past EOH | 0 m | How far past EOH, in metres, a depth may go without being reported (default 0, plus half a millimetre for rounding). Raise it slightly only if loggers routinely round the last interval up. |
From Collar 1.1.0's rule catalogue. The same text is in the app under Help.