Skip to main content

Test Entity 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 "TestEntity" 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/test-entity-ontology.html
SOURCE_STATUS: Proposed specification; source body not independently verified; not runtime-tested.
LOCALE: en-GB

PURPOSE
Represent a test as a controlled evidence-producing activity, distinct from its procedure, specimen, observations, results and authorised conformity decision. Testing may establish performance under specified conditions without establishing universal fitness for use.

TYPED SEMANTIC PATHWAYS
P01: TestEntity -> evaluates -> EngineeringItem
P02: TestEntity -> implements -> TestPlan
P03: TestEntity -> follows -> TestProcedure
P04: TestEntity -> uses -> TestSpecimen
P05: TestSpecimen -> represents -> ProductionLot
P06: TestEntity -> addresses -> QualityRequirement
P07: TestEntity -> evaluates -> QualityCharacteristic
P08: TestEntity -> applies -> AcceptanceCriterion
P09: TestEntity -> performedBy -> QualifiedOperator
P10: TestEntity -> uses -> TestEquipment
P11: TestEquipment -> has -> CalibrationRecord
P12: TestEntity -> controls -> EnvironmentalCondition
P13: TestEntity -> applies -> TestStimulus
P14: TestEntity -> observes -> SystemResponse
P15: TestEntity -> records -> TimeSeries
P16: TestEntity -> produces -> RawData
P17: RawData -> processedBy -> AnalysisMethod
P18: AnalysisMethod -> produces -> TestResult
P19: TestResult -> has -> MeasurementUncertainty
P20: TestResult -> references -> MeasurementUnit
P21: TestEntity -> has -> TestConfiguration
P22: TestConfiguration -> identifies -> SoftwareVersion
P23: TestEntity -> mayRequire -> WitnessPoint
P24: TestEntity -> mayRequire -> HoldPoint
P25: TestEntity -> documents -> TestReport
P26: TestReport -> supports -> VerificationDecision
P27: TestReport -> supports -> ValidationDecision
P28: TestResult -> mayTrigger -> NonconformanceRecord
P29: NonconformanceRecord -> mayRequire -> CorrectiveAction
P30: ReleaseAuthorisation -> requires -> ApplicableEvidence

FORMAL STATE MODEL
S_t=(I_t,R,B,K_t): typed assertions, fixed rules, immutable evidence snapshot and provenance. Inference index t differs from physical 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 with explicit provenance.

ENGINEERING EQUATIONS
E01: Mean: x̄=Σx_i/n, n>0; comparable observations only.
E02: Sample variance: s²=Σ(x_i−x̄)²/(n−1), n>1.
E03: Standard error: s/√n, independent identically distributed replicates.
E04: Bias estimate: b=x̄−x_ref, reference uncertainty retained.
E05: Corrected result: y=x−b, if additive bias model validated.
E06: Combined uncertainty: u_c²=JΣJᵀ, first-order propagation with covariance matrix Σ.
E07: Expanded uncertainty: U=k u_c, coverage factor justified separately.
E08: Guarded acceptance: L≤y−U and y+U≤H, illustrative conservative bilateral decision rule only.
E09: Relative error: (y−x_ref)/x_ref, nonzero reference.
E10: Repeatability CV: s/|x̄|, nonzero mean and meaningful ratio scale.
E11: Signal-to-noise ratio: μ_signal/σ_noise, defined amplitude convention and positive noise deviation.
E12: Test coverage: verified applicable requirements / applicable requirements, nonempty denominator.
E13: Pass fraction: n_pass/n_valid, report invalid and inconclusive separately.
E14: Binomial likelihood: P(X=j)=C(n,j)p^j(1−p)^(n−j), independent Bernoulli trials.
E15: Zero-failure upper bound: p_U=1−α^(1/n), one-sided confidence 1−α, independent identical trials.
E16: Sampling acceptance: P_accept=Σ_{j=0}^c C(n,j)p^j(1−p)^(n−j), binomial model.
E17: Sensitivity: TP/(TP+FN), reference truth available and denominator positive.
E18: Specificity: TN/(TN+FP), reference truth available and denominator positive.
E19: Linear regression: y=a+bx+e, validate residual assumptions before inference.
E20: Paired change: d_i=y_after,i−y_before,i; retain pairing and uncertainty.

INFERENCE RULES
R01: A test requires a unique identifier and revision-controlled procedure.
R02: Link each specimen to its identity and preparation history.
R03: Do not infer lot conformity from a specimen without a justified sampling plan.
R04: Record the requirement revision applicable at execution.
R05: A test plan alone is not evidence of execution.
R06: Record actual stimulus separately from commanded stimulus.
R07: Record actual environmental conditions separately from target conditions.
R08: Check equipment suitability for the measurement range.
R09: Check calibration validity at execution time.
R10: Retain calibration uncertainty in the measurement model.
R11: Record operator competence for the applicable method.
R12: Record software and firmware versions where relevant.
R13: Preserve raw observations before processing.
R14: Document data exclusions and their justification.
R15: Record units and coordinate or reference conventions.
R16: Do not combine incompatible units without conversion.
R17: Use a validated analysis method for derived results.
R18: Retain uncertainty and correlation when propagating results.
R19: Apply only the authorised acceptance criterion revision.
R20: Distinguish a numerical result from a conformity decision.
R21: Flag uncertainty overlap with a limit according to the adopted decision rule.
R22: Missing evidence yields unresolved status, not pass.
R23: Invalid execution does not establish product failure.
R24: A failed valid test triggers review under the applicable quality procedure.
R25: Preserve original failure records when retesting.
R26: Link retest to corrective action or documented justification.
R27: Do not treat repeated attempts as independent samples without evidence.
R28: Record deviations from the test procedure.
R29: Require authorised disposition of significant deviations.
R30: A witness signature does not replace technical evidence.
R31: A hold point requires explicit release by the authorised role.
R32: Verification addresses specified requirements.
R33: Validation addresses intended use under representative conditions.
R34: Do not infer validation from verification alone.
R35: Do not infer certification from a test report alone.
R36: Destructive testing changes specimen lifecycle state.
R37: Record detection limits for nondetection results.
R38: Distinguish accelerated test conditions from service conditions; require validated extrapolation.
R39: Conflicting results require explicit reconciliation or unresolved status.
R40: Product release requires separate authorisation and all applicable evidence.

COVERAGE AND CONFIDENCE
Coverage=|applicable requirements with verified evidence|/|applicable requirements|; empty denominator undefined. Record missing, failed, invalid and conflicting evidence separately. Confidence is an evidence-quality score, not a calibrated probability. Assess method validity, specimen representativeness, calibration, uncertainty and provenance independently.

SEMANTIC EQUIVALENCE
Test activity is not equivalent to test procedure, test report, inspection, certification or release. Two results are comparable only when measurand, configuration, method, units, conditions and relevant uncertainty are compatible. A pass is scoped to the criterion revision and tested configuration.

VALIDATION AND FAILURE MODES
Reject missing identifiers, incompatible units, impossible sample counts, invalid calibration scope and unsupported extrapolation. Flag instrument saturation, drift, uncontrolled conditions, software changes, specimen damage, selection bias and pseudoreplication. Preserve inconclusive outcomes. No universal acceptance limits or sample sizes are assumed.

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
TestEntity | follows | Approved method and revision
TestSpecimen | represents | Documented sampling relationship
TestEquipment | has | Calibration evidence
TestStimulus | appliedTo | Actual controlled input
SystemResponse | observedBy | Measured response
TestResult | has | Measurement uncertainty
TestReport | supports | Scoped verification or validation
AcceptanceCriterion | governs | Conformity decision
ReleaseAuthorisation | requires | Independent authorised disposition

RECURSIVE UPDATE MODEL
When requirements, procedures, specimen identity, calibration or results change, create a new immutable snapshot. Recompute affected derivations or retract unsupported conclusions through truth maintenance. Preserve historical records, original failures and approval scope.

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 physical correctness or completeness. Numerical calculations require separate verification.

AI SEARCH FLOW
Resolve test identity -> identify specimen and configuration -> retrieve procedure and requirement revision -> locate actual conditions and calibration -> retrieve raw observations and analysis method -> assess uncertainty and decision rule -> distinguish verification, validation and release -> report limitations and cite source.

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