Skip to main content

Module metric_trait_gate

Module metric_trait_gate 

Source
Expand description

Fail-Closed QUDT Species-Trait & Artefact Dimensional Admission Gate (GAP-13 / G69).

Validates every admitted .10d organism or vehicle asset’s authored bounding box (AABB in SI metres), tissue/material density, and simulation mass against its .q42 QUDT trait envelope (AusTraits / AFD / AVONET / made:Artefact specs per DTA-ID-05, DTA-SEM-05, DTA-PHY-02). Enforces zero-heap validation and relative scale invariants (e.g. preventing oversized fauna vs 4WD).

The constants below are reference examples for when a species corpus has no assertion for a bound. Admission of a real subject uses super::corpus_envelope::cited_envelope_from_corpus, which cites assertion ids and labels a silent bound as a model assumption.

Structs§

MetricTraitEnvelope
Normative QUDT species-trait and artefact dimensional admission envelope.

Enums§

MetricTraitGateViolation
Rejection reasons emitted when a mesh fails the dimensional admission gate.

Constants§

ENVELOPE_AQUILA_AUDAX
Canonical Wedge-Tailed Eagle (Aquila audax). Width represents wingspan.
ENVELOPE_CORYMBIA_APARRERINJA
Canonical Ghost Gum (Corymbia aparrerinja).
ENVELOPE_FIELD_UTILITY_4WD
Canonical 4WD field utility vehicle (Toyota Hilux / Land Cruiser 79 dual-cab archetype).
ENVELOPE_MACROPUS_GIGANTEUS
Canonical Eastern Grey Kangaroo (Macropus giganteus).
ENVELOPE_ORNITHORHYNCHUS_ANATINUS
Canonical Platypus (Ornithorhynchus anatinus).
ENVELOPE_VOMBATUS_URSINUS
Canonical Common Wombat (Vombatus ursinus).

Functions§

measure_aabb_extents_zero_heap
Measures the axis-aligned bounding box (min, max, extents) across a slice of 3D positions with zero heap allocation.
verify_fauna_vs_vehicle_scale_invariant_zero_heap
Enforces the fail-closed relative scale invariant between terrestrial fauna and vehicles.
verify_metric_trait_bounds_zero_heap
Verifies that an asset’s scaled bounding box extents conform to the normative QUDT trait envelope.