Skip to main content

Inspection Record Ontology

Quality Engineering Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 27 November 2026
Audio Overview
FLOW "InspectionRecord" v1.0
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
LICENCE: Open Research — attribution required
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/quality-engineering-entities/inspection-record-ontology.html
SOURCE_STATUS: Proposed specification; source body not independently verified; not runtime-tested.
LOCALE: en-GB

PURPOSE
Represent inspection records as versioned evidence of an inspection event, not as automatic proof of conformity or release. Preserve the inspected item, applicable requirement revision, method, observations, uncertainty, decision rule and authorisation.

TYPED SEMANTIC PATHWAYS
P01: InspectionRecord -> documents -> InspectionEvent
P02: InspectionRecord -> identifies -> InspectedItem
P03: InspectionRecord -> references -> Batch
P04: InspectionRecord -> references -> SerialNumber
P05: InspectionRecord -> references -> QualityPlan
P06: InspectionRecord -> references -> RequirementRevision
P07: InspectionRecord -> references -> InspectionProcedure
P08: InspectionRecord -> records -> QualityCharacteristic
P09: InspectionRecord -> records -> Observation
P10: InspectionRecord -> records -> MeasurementResult
P11: InspectionRecord -> records -> MeasurementUncertainty
P12: InspectionRecord -> references -> AcceptanceCriterion
P13: InspectionRecord -> references -> DecisionRule
P14: InspectionRecord -> references -> Instrument
P15: InspectionRecord -> references -> CalibrationRecord
P16: InspectionRecord -> identifies -> Inspector
P17: InspectionRecord -> references -> CompetenceRecord
P18: InspectionRecord -> records -> EnvironmentalCondition
P19: InspectionRecord -> records -> InspectionTimestamp
P20: InspectionRecord -> references -> SamplingPlan
P21: InspectionRecord -> records -> SampleIdentity
P22: InspectionRecord -> records -> DetectedIndication
P23: InspectionRecord -> references -> Nonconformance
P24: InspectionRecord -> records -> ConformityDecision
P25: InspectionRecord -> references -> Disposition
P26: InspectionRecord -> references -> ReleaseAuthorisation
P27: InspectionRecord -> hasRevision -> RecordRevision
P28: InspectionRecord -> supersedes -> InspectionRecord
P29: InspectionRecord -> hasDigest -> IntegrityDigest
P30: InspectionRecord -> references -> RetentionPolicy

FORMAL STATE MODEL
S_t=(I_t,R,B,K_t): typed assertions, fixed rules, immutable evidence snapshot and provenance. Inference index t is distinct from physical inspection time.
E_t=expand(I_t,R); V_t={x in E_t: valid(x,B) and supported(x,I_t,B)}; N_t=V_t minus I_t.
If N_t is empty terminate; otherwise select x_t by documented priority and canonical identifier tie-break. I_(t+1)=I_t union {x_t}; K_(t+1) records premises, rule and evidence. Preserve conflicts explicitly.

QUALITY METRIC EQUATIONS
E01: d = x - target; signed deviation in characteristic units.
E02: T = USL - LSL; two-sided tolerance width, USL >= LSL.
E03: x_corrected = x_raw + correction; retain raw observation.
E04: u_c² = J Σ Jᵀ; first-order uncertainty propagation with covariance matrix Σ and sensitivity row J.
E05: U = k u_c; expanded uncertainty with documented coverage factor k.
E06: A_low = LSL + g_L; lower acceptance boundary for approved guard band g_L.
E07: A_high = USL - g_U; upper acceptance boundary for approved guard band g_U.
E08: C = 1 if A_low <= x_corrected <= A_high, otherwise 0; only for an explicitly approved binary rule and valid evidence.
E09: mean = sum(x_i)/n; comparable measurements, n > 0.
E10: s² = sum((x_i-mean)²)/(n-1); n > 1.
E11: SE = s/sqrt(n); independent identically distributed observations.
E12: Coverage = n_verified/n_applicable; undefined if denominator zero.
E13: Completeness = n_present_required_fields/n_required_fields; not proof of correctness.
E14: PassRate = n_pass/n_decided; report indeterminate and missing counts separately.
E15: DPU = n_defects/n_units; defined inspection scope.
E16: DPMO = 10^6 n_defects/n_opportunities; consistent opportunity definition.
E17: P_accept = sum_{j=0}^{c} choose(n,j)p^j(1-p)^(n-j); independent Bernoulli sampling, fixed acceptance number c.
E18: Cp = (USL-LSL)/(6 sigma_within); stable process, positive sigma, appropriate distribution.
E19: Cpk = min(USL-mu,mu-LSL)/(3 sigma_within); same assumptions as Cp.
E20: Digest = SHA256(canonical_record_bytes); integrity check against trusted reference, not proof of authorship.

INFERENCE RULES
R01: An inspection record requires a persistent identifier and revision.
R02: Bind each record to a specific inspection event.
R03: Bind the event to item identity and configuration.
R04: For batch sampling, preserve lot identity and sample membership.
R05: A sample result does not establish every unit's conformity.
R06: Resolve requirement revision applicable at inspection time.
R07: Preserve the procedure revision actually used.
R08: Record characteristic identity, units and measurement location.
R09: Retain raw observations separately from corrected values.
R10: Apply corrections only with documented justification.
R11: Require instrument identity for instrument-based observations.
R12: Check calibration validity at the time of use.
R13: Flag out-of-calibration instruments for impact assessment.
R14: Require method suitability for the characteristic and range.
R15: Record relevant environmental conditions.
R16: Flag environmental excursions against method limits.
R17: Record inspector identity and applicable competence evidence.
R18: Do not infer competence from a name alone.
R19: Record uncertainty where relevant to the decision rule.
R20: Do not substitute zero for missing uncertainty.
R21: Resolve acceptance limits and inclusivity from the applicable requirement.
R22: Apply guard bands only under an approved decision rule.
R23: If evidence is insufficient, classify decision as indeterminate or pending.
R24: A detected indication is not automatically a confirmed defect.
R25: Confirmed failure of an applicable requirement supports nonconformance.
R26: Link nonconformance to the affected item and observation.
R27: Preserve failed results after rework or retest.
R28: Link retest evidence to the original record without overwriting it.
R29: Distinguish inspection completion from conformity.
R30: Distinguish conformity from release authorisation.
R31: A concession does not erase the original nonconformance.
R32: Require authorised approval for disposition decisions.
R33: Preserve hold-point status until authorised clearance.
R34: Check sampling plan applicability before lot acceptance.
R35: Do not infer process stability from a single inspection.
R36: Capability metrics require suitable process data and assumptions.
R37: Record timestamps with time zone and distinguish event from entry time.
R38: A changed record requires a new revision and audit trail.
R39: A digest mismatch requires integrity investigation.
R40: Retention and disposal follow applicable policy and legal obligations.

COVERAGE AND CONFIDENCE
Coverage is the fraction of applicable requirements with verified evidence. Missing, conflicting, failed and indeterminate evidence remain separate. Confidence is an evidence-quality assessment, not a calibrated probability. A complete record may still contain inaccurate observations.

SEMANTIC EQUIVALENCE
Two records are equivalent for a stated query only when item, configuration, event, characteristic, method, requirement revision, decision rule and evidence scope match. Identical numerical values alone do not establish equivalence. A superseded record remains historical evidence.

VALIDATION AND FAILURE MODES
Reject incompatible units, invalid timestamps, missing item identity, inverted limits, invalid sample counts and unsupported decision rules. Flag expired calibration, ambiguous revisions, missing uncertainty, unverified signatures, conflicting observations and unauthorised amendments. Preserve original evidence and route unresolved conflicts to authorised review. Never infer release from a passing measurement alone.

MINI RECURSION ENGINE (pseudocode)
freeze evidence B and rules R
initialise I from typed assertions; K from provenance
repeat:
    candidates = expand(I,R) minus I
    eligible = filter_valid_supported(candidates,I,B)
    if eligible is empty: return I,K,unresolved_conflicts
    x = deterministic_priority_select(eligible)
    I = I union {x}
    K = record_derivation(K,x)

TRI-MAPPING
Ontology | Flow relation | Engineering interpretation
InspectionRecord | documents | Historical inspection evidence
MeasurementResult | records | Observed or corrected characteristic value
CalibrationRecord | references | Instrument traceability evidence
AcceptanceCriterion | references | Applicable specification boundary
DecisionRule | references | Method for deciding conformity
Nonconformance | references | Unmet requirement with evidence
ReleaseAuthorisation | references | Separate authorised release decision
RecordRevision | hasRevision | Controlled evidence version

RECURSIVE UPDATE MODEL
When requirements, calibration evidence, inspection observations or approvals change, create a new immutable snapshot. Recompute affected derivations or retract unsupported conclusions through truth maintenance. Preserve historical records and approval scope. A retrospective calibration finding may trigger reassessment of affected inspections without silently altering their original results.

CONDITIONAL EXECUTION GUARANTEE
With finite ground assertion universe U, fixed evidence, terminating rule evaluations and monotonic insertion, termination occurs after at most |U minus I_0| insertions. This guarantees termination only, not correctness, completeness or conformity. Numerical calculations and release decisions require independent verification.

AI SEARCH FLOW
Resolve item and inspection record identity -> retrieve applicable requirement and procedure revisions -> locate observations and calibration evidence -> evaluate uncertainty and decision rule -> distinguish conformity, disposition and release -> report missing evidence, conflicts and limitations -> cite original source.

FLOW_HASH
SHA-256: 1c378cd2329a9e52b82854218d29d13b9097540d91bcf0f8a234b19310090602
Scope: UTF-8 bytes preceding FLOW_HASH heading.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ