feat(pbs): add concrete generic structs and free functions
This commit is contained in:
+11
-5
@@ -82,9 +82,12 @@ it does not replace or introduce a lifecycle feature.
|
||||
|
||||
The 48 provider oracle rows cover six seeds and eight draws. Projecting both
|
||||
integer and Float outputs, with optimization off/on, produces 192 fixtures.
|
||||
Another 34 paired fixtures cover aliases, independent objects, mixed/discarded
|
||||
operations, named/positional effects, storage/captures, limits, faults and GC.
|
||||
Together with real imports this is **227 mandatory fixtures per runtime profile**.
|
||||
Another 30 source fixtures cover aliases, independent objects, mixed/discarded
|
||||
operations, named/positional effects, storage/captures, limits, faults and GC. Four
|
||||
controlled provider fixtures cover null and typed-null carriers. Together with real
|
||||
imports this is **223 source fixtures plus four controlled provider fixtures**.
|
||||
The DEC-0073 follow-up requalified this revised corpus in the dev profile; the
|
||||
original debug/release evidence below describes the earlier source corpus.
|
||||
Each of the 226 callable fixtures executes with single-step budgets and twice
|
||||
with full budgets to compare exact bits/faults, call charges and total cycles.
|
||||
The runner checks oracle byte equality against the selected runtime.
|
||||
@@ -95,8 +98,11 @@ Random objects are reclaimed, array, field and closure roots still draw the
|
||||
expected shared sequence. The source corpus also exercises a genuine rejected
|
||||
PCG word followed by acceptance, charging range 20 cycles.
|
||||
|
||||
PBS has no public null or Dynamic type. A source struct constructor that leaves
|
||||
a Random field at its runtime default provides a null reference for tests.
|
||||
PBS has no public null or Dynamic type. Following the explicit DEC-0073
|
||||
clarification, every completing constructor path initializes every field. Null
|
||||
coverage uses a controlled provider fixture: compile a fully initialized Random
|
||||
field, then suppress its unique field store in test bytecode to exercise the provider
|
||||
reference default.
|
||||
Storing it in a typed array preserves a present Dynamic tag and exact TypeId;
|
||||
extracting it then drawing traps NULL_REFERENCE. This must not be confused with
|
||||
an empty array slot. Existing global-initializer restrictions are unchanged.
|
||||
|
||||
@@ -104,5 +104,11 @@
|
||||
"macOS arm64 only",
|
||||
"Reference-game and installed-runtime process qualification excluded",
|
||||
"Existing explicit provider schema gaps LifecycleRole and NonFiniteValue retained"
|
||||
]
|
||||
],
|
||||
"follow_up_2026_10_22": {
|
||||
"discussion": "DSC-0094",
|
||||
"scope": "Explicitly authorized complete PBS constructor field initialization; revise null fixtures to controlled provider injection",
|
||||
"qualification": "227 Random fixtures passed on macOS arm64 dev; prior release evidence describes the original corpus",
|
||||
"evidence": "../DSC-0094-pbs-generic-structs/evidence.json"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user